GET /api/data-api/v3/cryptocurrency/listing

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/cmc/api/data-api/v3/cryptocurrency/listingCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing free

Paginated coin listing (cryptoCurrencyList plus totalCount). Default sortBy=rank is not market cap.

name=listings. Default sortBy=rank and sortType=desc returns limit+1 rows with unranked CMC20 (id 38442, cmcRank null) pinned first. sortBy=market_cap and sortType=desc returns exactly limit rows. totalCount is a string. Listing quotes spell fully diluted cap fullyDilluttedMarketCap and set quotes[0].name to USD.

Parameters

nameintypedescription
startqueryintoptional1-based row offset.
default: 1
example: 1
limitqueryintoptionalPage size. With sortBy=rank the body can contain limit+1 rows.
default: 100
example: 100
sortByquerystr
market_cap | rank
optionalVerified values are rank (client default; not market cap; returns limit+1 with CMC20 first) and market_cap.
default: rank
example: rank
sortTypequerystr
asc | desc
optionalVerified values are desc and asc. asc on rank starts at the bottom of the board.
default: desc
example: desc
convertquerystroptionalQuote currency code. The listings default is USD.
default: USD
example: USD
convertIdsquerystroptionalComma-separated convert ids. 2781 is USD.
example: 2781
cryptoTypequerystroptionalListing universe filter. Typical value: all.
default: all
example: all
tagTypequerystroptionalTag filter. Typical value: all.
default: all
example: all
auditedquerystroptionalAudited-only flag as the string true or false.
default: false
example: false
auxquerystroptionalExtra field selector. No verified value is recorded.
idsquerystroptionalComma-separated CMC ids.
example: 1,1027

Response

type: object
data key: cryptoCurrencyList
count key: totalCount
pagination: offset

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/cryptocurrency/listing?start=1&limit=100&sortBy=rank&sortType=desc&convert=USD&convertIds=2781&cryptoType=all&tagType=all&audited=false&ids=1%2C1027"