CEX
Batch cross-exchange consensus VWAPs
post
/cex/price/batch
operationId: cex-priceBatch

POST 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.

Unlock protected endpoints

Enter your Bearer token once to enable every protected route in this API reference.

HTTP bearer

Saved for this browser tab only. The credential is never sent until you test an endpoint.

Authorizations
NameLocationDetails
BearerAuthAuthorization header · bearerJWT issued by the Honeycluster auth service for the `oracle` audience. Present as `Authorization: Bearer <token>`.
Request Body
application/json
required
FieldTypeDefaultDescription
pairs
required
object[]
Up to 50 (asset, base) pairs to fetch consensus prices for.
pairs[].asset
required
string
Asset symbol (e.g. `XRP`).
pairs[].base
string"USD"
Base / quote currency. Defaults to `USD`.
Example
Json
{
  "pairs": [
    {
      "asset": "XRP",
      "base": "USD"
    }
  ]
}
Responses
200
application/json
Successful response
FieldTypeDescription
items
object[]
One entry per requested pair, in request order.
items[].asset
string
items[].base
string
items[].price
object
Consensus VWAP (decimal string), or `null` when no data is available for the pair.
items[].asOf
object
items[].source
object
Tier that produced the number, or `null` when no data is available.
Example
Json
{
  "items": [
    {
      "asset": "string",
      "base": "string",
      "price": "string",
      "asOf": 1745798400,
      "source": "cex_ticker"
    }
  ]
}
400
application/json
Invalid input data
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
401
application/json
Authorization not provided
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
403
application/json
Insufficient access
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
500
application/json
Internal server error
FieldTypeDescription
message
string
The error message
code
string
The error code
issues
object[]
An array of issues that were responsible for the error
issues[].message
string
Example
Json
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}