GET /api/data-api/v3/global-metrics/quotes/historical

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/cmc/api/data-api/v3/global-metrics/quotes/historicalCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing free

Historical global quotes between two times: dominance, active coin/exchange/pair counts, and a quote.

name=global_metrics_historical. v3 uses timeStart+timeEnd+interval. quotes[0].quote[0].name was 2781. A 62-day window returned 62 points.

Parameters

nameintypedescription
timeStartqueryintrequiredWindow start as unix seconds.
example: 1786752000
timeEndqueryintrequiredWindow end as unix seconds.
example: 1792108800
convertIdquerystrrequiredQuote convert id. 2781 is USD on these public routes.
default: 2781
example: 2781
intervalquerystrrequiredVerified value 1d.
default: 1d
example: 1d

Response

type: object
data key: quotes
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/global-metrics/quotes/historical?timeStart=1786752000&timeEnd=1792108800&convertId=2781&interval=1d"