Get Crypto OHLCV Candles
get_crypto_ohlcvFetch OHLCV candlestick data (open/high/low/close/volume) for a crypto pair. No API key needed.
Args:
symbol: 'BASE/QUOTE' pair (default BTC/USDT)
exchange: binance | upbit | bithumb | coinbase | kraken | okx | bybit | gateio (default binance)
timeframe: 1m | 5m | 15m | 1h | 4h | 1d | 1w (default 1d)
since: YYYY-MM-DD start date (optional; exchange returns candles from this date forward)
limit: 1-500 candles (default 100)
response_format: 'markdown' (default) or 'json'
Returns: {exchange, symbol, timeframe, columns:["ts_iso","open","high","low","close","volume"], rows:[[...], ...]}. Rows ascend by time; prices in QUOTE currency. Cached ~5min.
Examples:
"BTC daily candles for the last 30 days" -> {symbol:'BTC/USDT', timeframe:'1d', limit:30}
"ETH/KRW hourly since July 1" -> {symbol:'ETH/KRW', exchange:'upbit', timeframe:'1h', since:'2026-07-01'}
Don't use for a single current price — use get_crypto_ticker.
Errors: unknown symbol -> check BASE/QUOTE and the exchange's markets; unsupported timeframe on an exchange returns the exchange's error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of candles, 1-500 (default 100) | |
| since | No | Start date YYYY-MM-DD (optional) | |
| symbol | No | Trading pair as BASE/QUOTE, e.g. 'BTC/USDT' | BTC/USDT |
| exchange | No | Exchange: binance | upbit | bithumb | coinbase | kraken | okx | bybit | gateio (default binance). Note: binance may be geo-blocked in some regions. | binance |
| timeframe | No | Candle interval (default 1d) | 1d |
| response_format | No | 'markdown' for a table, 'json' for compact machine-readable output | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| symbol | Yes | ||
| columns | No | ||
| exchange | Yes | ||
| timeframe | No |