get_hyperliquid_order_book
Live order book for one Hyperliquid perp (core or HIP-3, e.g. BTC or xyz:NVDA) or, with market=spot, one spot pair: up to 20 levels a side, mid, spread, and USD resting within 0.5%, 1% and 2% of mid. Pass sizeUsd to see the average fill and price impact of a market buy and sell of that size. Use it before sizing an order or to compare liquidity across coins.
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_hyperliquid_order_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | Default perp. spot reads the spot pair's book | |
| symbol | Yes | Coin symbol, e.g. BTC or xyz:NVDA. With market=spot: HYPE, HYPE/USDC or @107 | |
| sizeUsd | No | Optional order size in USD for the price impact estimate | |
| nSigFigs | No | Group prices to this many significant figures to see deeper into the book (default: full precision) |