/xrpl/sparklinexrpl-sparklineReturns 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.
| Name | Location | Details |
|---|---|---|
BearerAuth | Authorization header · bearer | JWT issued by the Honeycluster auth service for the `oracle` audience. Present as `Authorization: Bearer <token>`. |
| Name | Type | Default | Description |
|---|---|---|---|
currency | string | ||
issuer | object | ||
tokenSlug | string | ||
denomination | string | "USD" | |
points | integer | 24 |
| Field | Type | Description |
|---|---|---|
points | number[] | Hourly closing prices ordered oldest → newest. Empty when no trade pair or trades exist in the window. |
denomination | string | Echoed denomination. |
{
"points": [
0.512,
0.514,
0.518,
0.515,
0.517,
0.519,
0.52,
0.518
],
"denomination": "USD"
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}