XRPL
Get a 24h sparkline price series for an XRPL token
get
/xrpl/sparkline
operationId: xrpl-sparkline

Returns up to 96 hourly closing prices (default 24) for an XRPL IOU, ordered oldest → newest. Default denomination is USD. denomination=XRP returns native closes from the IOU/XRP ohlcv_1h view; any other denomination applies the CEX bridge per bucket — same rules as /xrpl/quote. Compact shape is intended for sparkline thumbnails; for OHLCV use /xrpl/quote/ohlcv instead.

Unlock protected endpoints

Enter your Bearer token once to enable every protected route in this API reference.

HTTP bearer

Saved for this browser tab only. The credential is never sent until you test an endpoint.

Authorizations
NameLocationDetails
BearerAuthAuthorization header · bearerJWT issued by the Honeycluster auth service for the `oracle` audience. Present as `Authorization: Bearer <token>`.
Query Parameters
NameTypeDefaultDescription
currency
string
issuer
object
tokenSlug
string
denomination
string"USD"
points
integer24
Responses
200
application/json
Successful response
FieldTypeDescription
points
number[]
Hourly closing prices ordered oldest → newest. Empty when no trade pair or trades exist in the window.
denomination
string
Echoed denomination.
Example
Json
{
  "points": [
    0.512,
    0.514,
    0.518,
    0.515,
    0.517,
    0.519,
    0.52,
    0.518
  ],
  "denomination": "USD"
}
400
application/json
Invalid input data
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
401
application/json
Authorization not provided
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
403
application/json
Insufficient access
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
404
application/json
Not found
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
500
application/json
Internal server error
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}