Skip to main content
Onchain endpoints use identifiers from GeckoTerminal, not CoinGecko.
CoinGecko Asset Platform IDs and GeckoTerminal Network IDs are not the same.
  • Asset Platform: ethereum
  • Network ID: eth
Always use Network IDs for /onchain endpoints.

Finding Network IDs

Use /onchain/networks, or copy the slug from a GeckoTerminal URL: geckoterminal.com/eth/pools/...

Finding DEX IDs

Use /onchain/networks/{network}/dexes, or copy from a GeckoTerminal URL: geckoterminal.com/eth/uniswap_v3

Querying by Pool Address

network ID + pool address — e.g. /onchain/networks/{network}/pools/{address}:
Find pool addresses on the pool page at GeckoTerminal:

Querying by Token Address

network ID + token address — e.g. /onchain/networks/{network}/tokens/{address}/pools:
Find token addresses on the token page at GeckoTerminal:

Common Patterns