GET /api/data-api/v3/sector/w/top-coin

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/cmc/api/data-api/v3/sector/w/top-coinCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing free

Top coins for a sector id. id=1 and id=100001 both returned {topCoins: []}.

name=sector_top_coin. id=1 and id=100001 returned topCoins []. error_code was 0.

Parameters

nameintypedescription
idqueryintrequired1 and 100001 both returned topCoins [].
example: 100001

Response

type: object
data key: topCoins
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/top-coin?id=100001"