get_candles
Retrieve OHLCV candlestick data for a specific market. Specify market ID, optional timeframe, and limit for historical price analysis.
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. |