Order book aggregator
order_book_aggregatorPerpetual-futures order books for one asset across OKX, Hyperliquid, dYdX and Kraken Futures, side by side and merged: per-venue best bid/ask and spread, depth and bid/ask imbalance within ±0.5%, ±1% and ±2% of each venue's mid (in quote value), the cross-venue best bid/ask and any crossed books between venues, and the top merged levels. Accepts BTC, BTCUSDT, BTC/USDT, BTC-USDT-SWAP or Kraken's XBT. Depth bands that extend past what a venue returns are flagged as lower bounds. Venues that fail are listed under errors; the call fails (and is not charged) only if none answers. Costs $0.005 USDC per call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "order_book_aggregator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| levels | No | Price levels to show per venue and in the merged book, 1–50 (default 10) | |
| symbol | Yes | Base asset or pair, e.g. 'BTC', 'ETH', 'SOLUSDT', 'BTC/USDT' |