/cex/pricecex-priceReturns a single volume-weighted average price across all venues for the given (asset, base) pair. Three-tier resolution, fresh-first: live tickers (sub-second) → precomputed o_feed_aggregates (≈30s stale) → per-exchange o_feed_ohlcv (1m stale). The source field on the response identifies which tier answered. Use /cex/quote for the per-venue breakdown.
| 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 |
|---|---|---|---|
assetrequired | string | Asset symbol (e.g. `XRP`). | |
base | string | "USD" |
| Field | Type | Description |
|---|---|---|
asset | string | Echoed asset. |
base | string | Echoed base. |
price | string | Cross-exchange consensus VWAP (decimal string). |
asOf | integer | Source row timestamp, Unix-seconds. |
source | enum<string> | Tier that produced the number. `cex_ticker` is sub-second fresh; the others can be a few minutes stale depending on the aggregator / CAGG cadence. Available cex_tickercex_aggregatecex_ohlcv |
{
"asset": "XRP",
"base": "USD",
"price": "1.44363",
"asOf": 1745798400,
"source": "cex_ticker"
}| 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": []
}