orderbook
Fetch top-of-book depth and spread in basis points for a crypto symbol from Binance, Bybit, or Hyperliquid to assess market liquidity and trading conditions.
Instructions
[Trading Data API] Top-of-book depth + spread (bps) from Binance, Bybit, or Hyperliquid.
Example: /v1/orderbook?symbol=BTC&exchange=binance&depth=10
Use when you need top-of-book depth and spread (bps) on Binance, Bybit or Hyperliquid. Not for a prediction-market book (use kalshi_market).
Behavior: read-only. Priced via x402 (USDC on Base) or free with WICKEDAPI_API_KEY; with neither, you get HTTP 402 with the decoded price in payment_required (a price quote, not a failure).
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": "orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Optional. Levels per side (default 10, max 50). | |
| symbol | Yes | Required. Base crypto symbol (e.g. BTC). | |
| exchange | No | Optional. binance (default), bybit, or hyperliquid. |