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/...
{
  "id": "eth",
  "type": "network",
  "attributes": {
    "name": "Ethereum",
    "coingecko_asset_platform_id": "ethereum"
  }
}

Finding DEX IDs

Use /onchain/networks/{network}/dexes, or copy from a GeckoTerminal URL: geckoterminal.com/eth/uniswap_v3
{
  "id": "uniswap_v3",
  "type": "dex",
  "attributes": {
    "name": "Uniswap V3"
  }
}

Querying by Pool Address

network ID + pool address — e.g. /onchain/networks/{network}/pools/{address}:
https://pro-api.coingecko.com/api/v3/onchain/networks/eth/pools/0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc
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:
https://pro-api.coingecko.com/api/v3/onchain/networks/eth/tokens/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/pools
Find token addresses on the token page at GeckoTerminal:

Common Patterns

PatternHow
Pool liquidityUse Pool Data
Read reserve_in_usd
Token liquidityUse Token Data
Read total_reserve_in_usd (across all pools)
Filter poolsUse /pools/megafilter
Filter by liquidity, FDV, volume, network, DEX
Launchpad dataUse /pools/megafilter
Set sort=pool_created_at_desc and filter by DEX
Token securityUse Token Info
Returns GT scores, holder distribution, mint/freeze authority
Inactive tokensSet include_inactive_source=true on supported endpoints
Read last_trade_timestamp for last swap time
CoinGecko vs GT networksCoinGecko: /asset_platforms
GeckoTerminal: /onchain/networks