Orderbook imbalance
get_orderbook_imbalanceOrderbook imbalance for any Hyperliquid perp: resting bid and ask liquidity in USD within ±N bps of mid, the ratio between the two sides, and a skew read. Costs 0.01 USDC per call (x402, USDC on Solana, Base, Polygon, Arbitrum or Arc).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_orderbook_imbalance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bps | No | window ±bps around mid, 5-500, default 50 | |
| symbol | No | USDT perp symbol e.g. SOLUSDT, BTCUSDT (default SOLUSDT) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | the get_orderbook_imbalance payload; a real captured example is free at https://x402.ochinimus.app/api/sample/get_orderbook_imbalance | |
| tool | Yes | the tool that produced this payload |