get_orderbook
Retrieve current bids and asks with price and size for one market to assess liquidity. Public endpoint; deprecated, use fetch_order_book instead.
Instructions
Deprecated: use fetch_order_book. Get the current order book (bids/asks with price + size) for one market. Public — no credentials needed.
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": {
"market_id": "<market_id>"
},
"name": "get_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market_id | Yes | Market id, e.g. "BTC-USDX-PERP". |