GET/api/v1/crypto/prices/{symbol}
Fetch historical OHLC price data for any supported cryptocurrency.
Fetches daily OHLC (Open, High, Low, Close) price data for a cryptocurrency. Available on both Free and Pro tiers.
#Authentication
Requires an API key. Available to Free and Pro users.
x-api-key: YOUR_API_KEY#URL Parameters
| Parameter | Type | Description |
|---|---|---|
symbol | string | Cryptocurrency ticker symbol (e.g., BTC, ETH, SOL, DOGE) |
Use list as the symbol to get all available symbols:
curl -H "x-api-key: YOUR_API_KEY" \
https://chartinspect.com/api/v1/crypto/prices/list#Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
days | number | all | Return only the last N days of data |
startDate | string | none | Start of date range, inclusive (YYYY-MM-DD) |
endDate | string | none | End of date range, inclusive (YYYY-MM-DD) |
limit | number | none | Maximum number of data points (max 10,000) |
#Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://chartinspect.com/api/v1/crypto/prices/BTC?days=7"#Response
json
{
"success": true,
"symbol": "BTC",
"name": "Bitcoin",
"count": 7,
"data": [
{
"timestamp": 1775001600,
"open": 68228.04,
"high": 69234.36,
"low": 67550.08,
"close": 68096.26,
"volume": 347379.67
}
],
"metadata": {
"processingTime": 15,
"timestamp": "2026-04-01T16:00:00.000Z",
"lastUpdated": "2026-04-01T15:55:00.000Z",
"dataRange": { "start": "2026-03-25", "end": "2026-03-31" },
"apiVersion": "v1"
}
}#Available Symbols
Over 100 cryptocurrencies are supported including BTC, ETH, SOL, ADA, DOGE, LTC, XRP, BNB, DOT, LINK, AVAX, ATOM, UNI, MATIC, and many more. Use the list endpoint to see all available symbols.
#Notes
- Timestamps are Unix seconds (not milliseconds).
- Data is updated hourly by the market worker.
- Historical data extends back to the earliest available trading date for each asset.
Was this page helpful?