/xrpl/quotexrpl-quoteResolves an XRPL IOU (or XRP itself) to its most recent price in the requested denomination. Default denomination is USD. denomination=XRP returns the raw XRPL DEX price (with the XRP/USD bridge surfaced as informational context). A direct CEX base (USD, USDT, USDC) multiplies the IOU/XRP price by the cross-exchange VWAP of XRP/<denomination> — sourced from live tickers (sub-second freshness) with fallbacks to precomputed aggregates and per-exchange OHLCV. Any other CEX-tracked asset (e.g. BTC) bridges in two hops via the server-chosen intermediary (USD); the response echoes which intermediary was used in bridgeBase. Each leg (native + bridge + cross) is surfaced so callers can audit the multiplication.
| 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" |
| Field | Type | Description |
|---|---|---|
price | string | Resolved price of the IOU in the requested denomination, decimal string. |
asOf | integer | Timestamp of the most recent leg used to compute the price. |
pair | object | Resolved XRPL trade pair the IOU was found in. |
pair. | string | |
pair. | string | |
pair. | object | |
pair. | string | |
pair. | object | |
pair. | string | |
pair. | string | |
inverted | boolean | True when the source pair stored XRP on the base side, so price was inverted (1/p). |
denomination | string | Echoed denomination. |
bridgeBase | object | Server-determined bridge base. For 1-hop denominations (`USD`/`USDT`/`USDC`) this echoes the denomination itself. For 2-hop denominations (`BTC`, `ETH`, etc.) this is the intermediary the server picked (currently always `USD`). `null` when no bridge leg was used (i.e. `denomination=XRP` with no live CEX data on hand). |
legs | object | |
legs. | object | IOU/XRP price leg from the XRPL DEX. |
legs. | string | Price as a decimal string. |
legs. | enum<string> | Where the price came from. Available xrpl-dexcex_tickercex_aggregatecex_ohlcv |
legs. | integer | Timestamp of the underlying observation (Unix-seconds). |
legs. | object | |
legs. | object | |
legs. | object | |
legs. | object | XRP/<bridgeBase> leg sourced cross-exchange (live tickers → aggregate → OHLCV). With `denomination=XRP` this is informational context only; `null` when no live CEX data is available. |
legs. | object | <denomination>/<bridgeBase> leg used for the 2-hop bridge. `null` for direct denominations (XRP/USD/USDT/USDC). |
{
"price": "0.20",
"asOf": 1745798400,
"pair": {
"id": "3c4a3de8-4218-400c-8c55-87dc27206753",
"baseCurrency": "USD",
"baseIssuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
"quoteCurrency": "XRP",
"quoteIssuer": null,
"createdAt": "2025-04-26T00:00:00.000Z",
"updatedAt": "2025-04-26T00:00:00.000Z"
},
"inverted": false,
"denomination": "USD",
"bridgeBase": "USD",
"legs": {
"native": {
"price": "0.40",
"source": "xrpl-dex",
"asOf": 1745798400,
"tradePairId": "3c4a3de8-4218-400c-8c55-87dc27206753"
},
"bridge": {
"price": "0.50",
"source": "cex_aggregate",
"asOf": 1745798360,
"asset": "XRP",
"base": "USD"
},
"cross": null
}
}| 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": []
}