GET /api/data-api/v3.1/exchange/listing
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/data-api/v3.1/exchange/listingCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freePaginated exchange ranking by numeric exType (1=spot) with score, volume, and countries.
name=exchange_listing. Numeric exType (1=spot) is required; exType=all returns error_code 500.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
exType | query | str | required | all returned null. default: 1example: 1 |
start | query | int | optional | 1-based row offset. default: 1example: 1 |
limit | query | int | optional | Maximum rows to return. default: 100example: 10 |
sortBy | query | str | optional | Sort field. example: score |
sortType | query | str | optional | Sort direction. example: desc |
Response
type: object
data key: exchanges
count key: count
pagination: offset
sample: {
"exchanges": "array[5]",
"sort": "str",
"direction": "str",
"count": "int"
}
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.1/exchange/listing?exType=1&start=1&limit=10&sortBy=score&sortType=desc"