Finance
Cross-venue consolidated best bid/ask (NBBO) API
Fetch top-of-book from Binance, Coinbase and Kraken in parallel and compute the consolidated NBBO — the highest bid and lowest ask across venues, the resulting spread, bps spread, mid price, and which venue leads each side, tolerating any single venue being down. The value-add is the cross-venue aggregation: best bid/ask aggregated from multiple venues, plus a crossed-book flag that surfaces cross-venue arbitrage. Answers 'best bid and ask for BTC-USD across exchanges', 'consolidated quote for ETH-USDT', 'is the book crossed between venues'.
Price$0.03per request
MethodPOST
Route/v1/markets/consolidated-quote
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache60s public
marketsquotenbbobid-askcryptofxconsolidatedorderbook
API URL
Integration docshttps://x402.hexl.dev/v1/markets/consolidated-quoteExample request
{
"pair": "BTC-USD"
}Example response
{
"pair": "BTC-USD",
"consolidated": {
"bestBid": 68011.5,
"bestBidVenue": "coinbase",
"bestAsk": 68013.2,
"bestAskVenue": "kraken",
"spread": 1.7,
"spreadBps": 0.2499,
"mid": 68012.35,
"crossed": false
},
"venues": [
{
"venue": "binance",
"bid": 68009.8,
"ask": 68014
},
{
"venue": "coinbase",
"bid": 68011.5,
"ask": 68015.1
},
{
"venue": "kraken",
"bid": 68010.2,
"ask": 68013.2
}
],
"venuesUsed": 3
}Input schema
{
"type": "object",
"required": [
"pair"
],
"properties": {
"pair": {
"type": "string",
"minLength": 3,
"examples": [
"BTC-USD",
"ETH-USDT"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}