GET /tokens/{token_id}/top_pool
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/geckoterminal/tokens/{token_id}/top_poolCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeToken-page header data: name/symbol/description/links plus the top pool.
Live 200 with network=eth and show_token=1; an EVM token id without network= answers 404.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
token_id | path | str | required | Token id: contract address (EVM lowercased) or numeric internal id; non-EVM (e.g. solana base58) preserved. Pass network= for disambiguation example: 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 |
network | query | str | required | Network name or alias. Required for an EVM token id on top_pool (404 without it) example: eth |
show_token | query | bool | optional | Include full token attributes in the top_pool header response default: 1example: 1 |
Response
type: object
pagination: none
sample: {
"data": "object",
"links": "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/geckoterminal/tokens/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/top_pool?network=eth&show_token=1"