GET /web/global_charts/coin_dominance_data
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coingecko/web/global_charts/coin_dominance_dataCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeDominance series for one coin over a fixed window.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
coin_id | query | str | required | Numeric CoinGecko coin id — NOT a slug. Keyed by integer id here; 'bitcoin' is not accepted. default: 1example: 1 |
duration | query | str24h | 7d | 14d | 30d | 90d | 90 | 1y | max | optional | Series window. Typical value 90. default: 90example: 90 |
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/global_charts/coin_dominance_data?coin_id=1&duration=90&locale=en"