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 freeGlobal total crypto market cap time series.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
vs_currency | path | str | required | Quote currency code. default: usdexample: usd |
duration | query | str1 | 7 | 14 | 30 | 90 | 365 | max | optional | Look-back duration in days. default: 30example: 30 |
locale | query | str | optional | UI locale. default: enexample: 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"