Overview
Returns historical price, volume, and market cap data for a specific cryptocurrency at specified intervals. Useful for charting and analysis.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)
Time interval between data points:
5m, 10m, 15m, 30m, 1h, 6h, 12h, 24h, 7d, 14d, 30d, 90d, 365dMaximum number of data points to return
Quote currency (e.g.,
usd, btc, eth)Output format:
table or jsonShow raw JSON response without wrapper metadata
Examples
Get Bitcoin price history for January 2024
Get Ethereum hourly data for last 30 hours
Get Solana weekly data for 3 months
Get historical data in JSON format
Example Output
Table Format
JSON Format
Response Fields
| Field | Type | Description |
|---|---|---|
timestamp | string | Data point timestamp (ISO 8601 format) |
price | number | Price at this timestamp in quote currency |
volume_24h | number | 24-hour trading volume |
market_cap | number | Market capitalization |
API Endpoint
Rate Limits
Common Use Cases
- Creating price charts and visualizations
- Backtesting trading strategies
- Historical analysis and research
- Building custom analytics dashboards
Related Commands
- ticker-detail - Get current ticker data
- ohlcv-historical - Get OHLCV candle data
- tickers-list - List all tickers