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 free

CMC20 index values and constituent history for a range (same shape as top100_chart).

name=top20_chart.

Parameters

nameintypedescription
rangequerystrrequiredVerified value all.
default: all
example: 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"