GET /token_lists/{asset_platform_id}/all.json
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coingecko/token_lists/{asset_platform_id}/all.jsonCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeUniswap-format token list for an asset platform with addresses, symbols, decimals and logos.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
asset_platform_id | path | str | required | Asset platform id (from /asset_platforms). default: ethereumexample: ethereum |
Response
type: object
data key: tokens
pagination: none
sample: {
"name": "str",
"logoURI": "str",
"keywords": "array[1]",
"timestamp": "str",
"tokens": "array[5750]",
"version": "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/token_lists/ethereum/all.json"