get_candles
Retrieve OHLCV candles for one market at 1s, 1m, 5m, or 1h intervals. Deprecated: use fetch_ohlcv for current candle requests.
Instructions
Deprecated: use fetch_ohlcv. Get OHLCV candles for one market. Public — no credentials needed. Timeframe is one of 1s, 1m, 5m, 1h (default 1m).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of candles to return (max 1000). | |
| market_id | Yes | Market id, e.g. "BTC-USDX-PERP". | |
| timeframe | No | Candle interval. Defaults to 1m. |