Get OHLCV candles (price history)
get_candlesRecent OHLCV candle bars for a symbol at a chosen timeframe — the raw price/volume history other tools are derived from. Inspect trend, range, volatility, volume profile, or feed your own indicators. Market DATA, not advice. A symbol outside the candle store returns an empty bars list (normal, not an error). Routes: /v1/candles/{symbol}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tf | No | Timeframe / bar size, e.g. '1m' | '5m' | '15m' | '1h' | '4h' | '1d'. Default '1h'. | 1h |
| limit | No | Max bars, newest last (1-1000; clamped server-side). Default 200. | |
| symbol | Yes | Perp symbol, e.g. 'BTCUSDT' (case/space-insensitive). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||