Get historical chart data for a specific cryptocurrency using coinId.
Market Data
Get Coin Chart By Id
Get historical chart data for a specific cryptocurrency using coinId.
GET
Get historical chart data for a specific cryptocurrency using coinId.
3 credits per request
Required
Required
- coinId: Path parameter. Unique coin identifier.
- type: Time range for the chart.
Optional
Optional
- currency: Display currency (defaults to USD).
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.
Path Parameters
Query Parameters
Time period for the chart data
Available options:
all, 24h, 1w, 1m, 3m, 6m, 1y Example:
"24h"
Response
Get Historical global avg price chart.