get_candles
Retrieve OHLCV candlestick data for any market. Specify market ID, choose timeframe from 1s to 1h, and set limit up to 1000 candles. Public access, no credentials required.
Instructions
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. |