Overview
Returns historical Open-High-Low-Close-Volume (OHLCV) candlestick data for a specific cryptocurrency. Essential for technical analysis and charting.Usage
Parameters
Coin ID in format
symbol-name (e.g., btc-bitcoin)Start date in ISO format (e.g.,
2024-01-01, 2024-01-01T00:00:00Z)End date in ISO format (defaults to current date if not specified)
Candle interval:
5m, 15m, 30m, 1h, 6h, 12h, 24hMaximum number of candles to return
Quote currency (e.g.,
usd, btc, eth)Output format:
table or jsonShow raw JSON response without wrapper metadata
Examples
Get Bitcoin daily candles for January 2024
Get Ethereum hourly candles
Get Solana 15-minute candles
Get OHLCV data in JSON format
Example Output
Table Format
JSON Format
Response Fields
| Field | Type | Description |
|---|---|---|
time_open | string | Candle opening time (ISO 8601 format) |
time_close | string | Candle closing time (ISO 8601 format) |
open | number | Opening price |
high | number | Highest price during period |
low | number | Lowest price during period |
close | number | Closing price |
volume | number | Trading volume during period |
market_cap | number | Market cap at close |
API Endpoint
Supported Intervals
| Interval | Description | Max History |
|---|---|---|
5m | 5 minutes | 1 week |
15m | 15 minutes | 2 weeks |
30m | 30 minutes | 1 month |
1h | 1 hour | 3 months |
6h | 6 hours | 1 year |
12h | 12 hours | 2 years |
24h | 1 day | All history |
Rate Limits
Common Use Cases
- Building candlestick charts
- Technical analysis (moving averages, RSI, MACD)
- Algorithmic trading strategies
- Pattern recognition and backtesting
- Custom trading indicators
Related Commands
- ticker-history - Get historical ticker data
- ticker-detail - Get current ticker data
- coin-detail - Get detailed coin information