GET /coins/categories
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coingecko/coins/categoriesCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeCategories with market cap, volume and 24h change.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
order | query | strmarket_cap_desc | market_cap_asc | name_desc | name_asc | volume_desc | volume_asc | market_cap_change_24h_desc | market_cap_change_24h_asc | optional | Sort order for categories. default: market_cap_descexample: market_cap_desc |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}
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/coingecko/coins/categories?order=market_cap_desc"