info_marketdetail_get_orderbook
Read-only Gate order book depth (bids/asks as price/size) for a trading pair or contract. Inputs: symbol (required), market_type spot|futures|delivery|options (default spot), depth 1–100 (default 20; over-limit rejected), settle for futures (usdt|btc) or delivery (usdt). Spot/options reject settle. Does not place orders. Read-only public research data. No account access, no order placement or fund transfers. Not investment advice.
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": "info_marketdetail_get_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Order book depth levels; omit for default 20; minimum 1, maximum 100. Values above max are rejected. | |
| settle | No | Settlement for futures/delivery; default usdt; omit for options. | |
| symbol | Yes | Trading pair e.g. BTC_USDT. | |
| market_type | No | Market venue; default spot when omitted. Allowed: spot|futures|delivery|options. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| depth | Yes | ||
| items | Yes | Usually one OrderBookItem with bids/asks as {price,size} levels. | |
| total | Yes | ||
| settle | No | ||
| symbol | Yes | Echo input. Item timestamps are UTC (+00:00); convert for local display. | |
| cex_tool | No | Upstream route label (omitted on open surface). | |
| duration_ms | No | Server timing (omitted on open surface). | |
| market_type | Yes |