CEX
Cross-exchange consensus VWAP for an asset/base pair
get
/cex/price
operationId: cex-price

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

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>`.
Query Parameters
NameTypeDefaultDescription
asset
required
string
Asset symbol (e.g. `XRP`).
base
string"USD"
Responses
200
application/json
Successful response
FieldTypeDescription
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
Example
Json
{
  "asset": "XRP",
  "base": "USD",
  "price": "1.44363",
  "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": []
}
404
application/json
Not found
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": "NOT_FOUND",
  "message": "Not found",
  "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": []
}