Candles
candlesRetrieve OHLCV candlestick data for any coin with configurable interval and limit, returning newest-first rows.
Instructions
OHLCV candles from candleSnapshot for coin: rows newest-first,
capped at limit (max 500). startTime is computed so roughly
limit candles of interval are requested. Valid intervals: 1m,
15m, 1h, 4h, 1d, 1w, 1M. Example: candles(coin="BTC",
interval="4h", limit=50)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| limit | No | ||
| interval | No | 1h |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||