/cex/price/batchcex-priceBatchPOST batch variant of /cex/price. Body: { pairs: [{asset, base?}] } (max 50 pairs). One entry per requested pair; pairs with no data surface as { price: null, asOf: null, source: null } so a single missing pair doesn't fail the batch.
| Name | Location | Details |
|---|---|---|
BearerAuth | Authorization header · bearer | JWT issued by the Honeycluster auth service for the `oracle` audience. Present as `Authorization: Bearer <token>`. |
| Field | Type | Default | Description |
|---|---|---|---|
pairsrequired | object[] | Up to 50 (asset, base) pairs to fetch consensus prices for. | |
pairs[].required | string | Asset symbol (e.g. `XRP`). | |
pairs[]. | string | "USD" | Base / quote currency. Defaults to `USD`. |
{
"pairs": [
{
"asset": "XRP",
"base": "USD"
}
]
}| Field | Type | Description |
|---|---|---|
items | object[] | One entry per requested pair, in request order. |
items[]. | string | |
items[]. | string | |
items[]. | object | Consensus VWAP (decimal string), or `null` when no data is available for the pair. |
items[]. | object | |
items[]. | object | Tier that produced the number, or `null` when no data is available. |
{
"items": [
{
"asset": "string",
"base": "string",
"price": "string",
"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": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}