Order Book Levels (L4)
book_levelsInspect per-level order book depth to see total size, order count, distinct wallets, and oldest order age per bid/ask level, revealing whether a level is real depth or one wallet.
Instructions
Answers: what does the depth ladder look like, with the detail L2 throws away? The top price levels per side, best-first, each with total size, order count, DISTINCT WALLET count and the age of the oldest order on it — so a level held by one wallet's single order is distinguishable from the same size spread across twenty. Example: 'is SOL's 3rd bid level real depth or one wallet?' — book_levels('SOL', depth=5) and read bids[2].wallets. Snapshot-derived: refreshed every 60 s, latest-only (no history), and as_of_height is the L1 block the answer is true at — check age_s before citing it. market_orderbook remains the aggregated L2 view; this is the L4 one. Coin is case-sensitive in the node's own spelling (BTC, xyz:GOLD, #28200) and is passed through unchanged — 'btc' will 404. Pro tier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Coin in the node's own spelling, CASE-SENSITIVE: BTC, HYPE, xyz:GOLD, cash:TSLA, #28200. Not normalized — 'btc' returns 404. Use list_markets to discover exact spellings. Spot pairs (names containing '/', e.g. PURR/USDC) are not addressable on this route. | |
| depth | No | Price levels returned per side. | |
| useToonFormat | No | Return data in compact toon format (default: true). Set to false for standard JSON. |