GET /api/data-api/v3/global-metrics/spot/chart

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

Global spot volume: total, CEX, and DEX points plus an overview. id=1 returned that series.

name=spot_chart. The overview key is overView, not overview.

Parameters

nameintypedescription
idquerystrrequiredRoute-specific id. Coin routes use 1 for BTC; exchange reserves use 270 for Binance.
example: 1
convertIdquerystrrequiredQuote convert id. 2781 is USD on these public routes.
example: 2781
rangequerystrrequiredVerified value 30d.
example: 30d
intervalquerystrrequiredBucket size. Accepted tokens differ by route; use this route's verified example.
example: 1d

Response

type: object
data key: points
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/spot/chart?id=1&convertId=2781&range=30d&interval=1d"