GET /api/data-api/v3/sector/w/market-chart
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/data-api/v3/sector/w/market-chartCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeSector market-cap and volume points. id=1 and id=100001 both returned empty arrays. A working id was not confirmed.
name=sector_market_chart. id=1 and id=100001 returned empty marketCapPoints and volumePoints with error_code 0.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | query | int | required | 1 and 100001 both returned empty point arrays. example: 100001 |
range | query | str | optional | Window token. Vocabularies differ by route (1D, 30d, 24h, all). A token that works on one chart is null or rejected on another. default: 30dexample: 30d |
Response
type: object
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/sector/w/market-chart?id=100001&range=30d"