GET /api/data-api/v3/global-metrics/dominance/chart
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/data-api/v3/global-metrics/dominance/chartCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeBTC/ETH/other dominance series. id=1 does not select a Bitcoin-only series.
name=dominance_chart. id=1, range=30d, interval=1d returned configs Bitcoin Dominance, Ethereum Dominance, and Others. range=7d returned null.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | query | str | required | Required, but id=1 still returned Bitcoin, Ethereum, and Others. example: 1 |
convertId | query | str | required | Quote convert id. 2781 is USD on these public routes. example: 2781 |
range | query | str | required | 30d was populated. 7d returned null. example: 30d |
interval | query | str | required | Bucket 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/dominance/chart?id=1&convertId=2781&range=30d&interval=1d"