get_orderbook_history
Historical resting bids and asks for one exact CoinAPI spot instrument over an explicit UTC window of at most 24 hours. Defaults to 100 snapshots and 20 levels per side; maximum 1,000 snapshots and 50 levels. Returns bounded provider coverage and limit_reached; does not imply continuous or full-depth coverage. CoinAPI only (provider=coinapi).
[Access: pay 0.01 USDC via x402 (PAYMENT-SIGNATURE header) OR authenticate with an API key. An x402-capable client will auto-pay; API-key clients pay nothing per call.]
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_id": "<symbol_id>",
"time_end": "<time_end>",
"time_start": "<time_start>"
},
"name": "get_orderbook_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results. | |
| provider | No | Optional upstream override; omitted uses the existing server default. | coinapi |
| time_end | Yes | ISO 8601 UTC-aware end timestamp; after start and at most 24 hours later. | |
| symbol_id | Yes | Exact provider spot instrument identifier, including venue, SPOT, base, and quote. | |
| time_start | Yes | Inclusive ISO 8601 UTC-aware start timestamp. | |
| limit_levels | No | Maximum price levels on each side of the order book. |