GET /api/data-api/v3/top20/historical/chart
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/data-api/v3/top20/historical/chartCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeCMC20 index values and constituent history for a range (same shape as top100_chart).
name=top20_chart.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
range | query | str | required | Verified value all. default: allexample: all |
Response
type: object
data key: values
pagination: none
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/cmc/api/data-api/v3/top20/historical/chart?range=all"