GET /web/etl2/global_charts/{vs_currency}/total_market_cap

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/coingecko/web/etl2/global_charts/{vs_currency}/total_market_capCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Global total crypto market cap time series.

Parameters

nameintypedescription
vs_currencypathstrrequiredQuote currency code.
default: usd
example: usd
durationquerystr
1 | 7 | 14 | 30 | 90 | 365 | max
optionalLook-back duration in days.
default: 30
example: 30
localequerystroptionalUI locale.
default: en
example: en

Response

type: array
pagination: none
sample: {
  "[0]": "object"
}

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/coingecko/web/etl2/global_charts/usd/total_market_cap?duration=30&locale=en"