/xrpl/ohlcvxrpl-ohlcvReturns OHLCV candles for an XRPL IOU's XRP-paired market, sourced from TimescaleDB continuous aggregates. Lookup is by tokenSlug (or currency + issuer); the controller resolves to the underlying trade pair (handling lex-ordered base/quote and inversion). Prices are native — XRP-quoted for IOU/XRP pairs. Use /xrpl/quote/ohlcv to get the same series in any denomination via the CEX bridge.
| 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 |
|---|---|---|---|
tokenSlug | string | ||
currency | string | ||
issuer | object | ||
interval | enum<string> | "1h" | Available 1m3m5m15m30m1h2h4h |
startTime | integer | ||
endTime | integer | ||
limit | integer | 500 |
| Field | Type | Description |
|---|---|---|
items | object[] | |
items[]. | string | Trade pair identifier (UUID v4). |
items[]. | integer | Start of the candle interval, Unix-seconds. |
items[]. | string | Opening price of the interval (decimal string). |
items[]. | string | Highest price seen in the interval (decimal string). |
items[]. | string | Lowest price seen in the interval (decimal string). |
items[]. | string | Closing price of the interval (decimal string). |
items[]. | string | Total volume traded in the interval (decimal string). |
items[]. | number | Number of trades that make up the candle. |
{
"items": [
{
"tradePairId": "3c4a3de8-4218-400c-8c55-87dc27206753",
"bucket": 1745712000,
"open": "0.512",
"high": "0.518",
"low": "0.509",
"close": "0.514",
"volume": "128450.32",
"tradeCount": 312
}
]
}| 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": []
}