Candles from 1-second data
reservoir_candlesRetrieve historical OHLCV candles for a specified market and interval, rolled up from 1-second data for charting, backtesting, or market analysis.
Instructions
OHLCV candles at any interval, rolled up from Reservoir's 1-second candles (up to 1,500 candles 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": {
"market": "<market>"
},
"name": "reservoir_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | UTC. A date ("2026-10-26"), date-time ("2026-10-26T14:00:00Z"), relative ("7d", "24h") or Unix ms. A date-only end includes that whole day. Default: the newest day in Reservoir. | |
| start | No | UTC. A date ("2026-10-26"), date-time ("2026-10-26T14:00:00Z"), relative ("7d", "24h") or Unix ms. A date-only end includes that whole day. Default: the newest day in Reservoir. | |
| market | Yes | Market as Reservoir names it: "BTC" (Hyperliquid perp), "xyz:MSFT" (HIP-3 perp), "@107" or "PURR/USDC" (spot), "#114940" (HIP-4). Case is fixed automatically for perps. | |
| interval | No | Candle size, built from Reservoir's 1-second candles. | 1h |
| max_download_mb | No | Stop if the estimated download is larger than this many MB (default 1024). Raise it only if the user accepts the AWS cost. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||