Market Order Book
market_orderbookFetch real-time bid/ask depth for any Hyperliquid trading pair to assess liquidity, spreads, and support/resistance levels from live price sizes.
Instructions
Get the order book (bid/ask depth) for any trading pair on Hyperliquid. Shows price levels and sizes on both sides. Essential for understanding liquidity, spread, and potential support/resistance.
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": "market_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Number of price levels on each side | |
| symbol | Yes | Trading pair symbol (e.g. BTC, ETH, SOL). For builder dex markets use prefix:COIN format (e.g. xyz:SILVER, km:OIL, cash:TSLA) | |
| useToonFormat | No | Return data in compact toon format (default: true). Set to false for standard JSON. |