Get Coins Charts
Get historical chart data for multiple cryptocurrencies
Multipliers
Multipliers
You will get
You will get
- Historical price data
- Values in USD, BTC, ETH
Required
Required
- coinIds: Comma-separated list of coin identifiers. At least one is required.
Optional
Optional
- type: Time range for the chart data.
Authorizations
API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.
Query Parameters
Time period for the chart data.
all, 24h, 1w, 1m, 3m, 6m, 1y "24h"
Comma-separated list of coin identifiers to fetch chart data for
"bitcoin,ethereum,dogecoin"
Response
Get Historical global avg price charts for multiple coins.
Unique identifier of the cryptocurrency
"bitcoin"
Array of historical price data points. Each data point is an array containing:
- TIMESTAMP - Unix timestamp in seconds
- USD - Price in USD
- BTC - Price in Bitcoin
- ETH - Price in Ethereum
[
[1438905600, 2.83162, 0.0101411, 1],
[1438992000, 2.7976, 0.0100039, 1],
[1439078400, 2.8091, 0.0102231, 1]
]Error message if data fetching failed for this specific coin. This allows partial success responses where some coins data is available while others failed.
"ERR_COIN_CHART_NOT_FOUND"