Order book
get_order_bookRetrieve a live aggregated crypto order book with depth, spread, imbalance, and large resting walls to gauge liquidity and short-term supply and demand.
Instructions
Live aggregated order book: top levels with cumulative size, spread, imbalance, depth within 0.1–2% of mid, large resting walls, and optionally per-venue top of book.
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": "get_order_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Levels per side (default 20). | |
| venue | No | "all" (default, aggregate every venue listing the market) or one exchange: binance, bybit, okx, bitget, hyperliquid, deribit, coinbase, gate, kucoin, kraken, htx. | |
| symbol | Yes | Asset or symbol, e.g. "BTC", "ETHUSDT", "SOL-PERP". | |
| per_venue | No | Include each venue's top of book (default false). | |
| group_ticks | No | Group levels into buckets of N footprint ticks (~1bp each). 0 = raw exchange levels (default). | |
| market_type | No | "perp" (default) or "spot". | |
| wait_seconds | No | Seconds to wait for first data when a market is not streaming yet (default 10). |