At CoinGecko, our dedication lies in providing users with thorough, dependable, and precise cryptocurrency pricing and market insights, fostering a strong crypto community. By integrating on-chain DEX data directly into the CoinGecko API, we’re enabling users to access crucial information without the hassle of gathering it from various sources. This enhancement allows for deeper exploration of the decentralized world and opens up new possibilities for product innovation.

–– Bobby Ong, Chief Operating Officer and Co-founder, CoinGecko


Unlock On-Chain Insights with the CoinGecko API

Starting today, the CoinGecko API provides direct access to on-chain data from decentralized exchanges (DEXs). Crypto developers, projects, and users can now utilize a single, powerful API to obtain crypto prices, market stats, metadata, and also on-chain token and liquidity pool information, even for cryptocurrencies not officially listed on CoinGecko.

Expanded Data Coverage: 20 New Access Points

This on-chain data expansion significantly enriches the CoinGecko API’s capabilities. It extends the coverage to an impressive 2.2 million on-chain tokens distributed across 2.5 million cryptocurrency liquidity pools. This comprehensive data is powered by GeckoTerminal, a CoinGecko product that monitors real-time crypto prices, trading activity, transactions, liquidity levels, and more, across a vast network of over 900 DEXs operating on 120+ blockchain networks, encompassing prominent platforms such as Uniswap, PancakeSwap, Orca, Curve, and Balancer.

Paid API subscribers gain immediate access to this valuable on-chain data through 20 newly added endpoints. Key data categories include cryptocurrency liquidity pools, token details identified by contract address, and OHLCV (Open, High, Low, Close, Volume) chart data:

Pools

  • Trending Pools by Network
    /onchain/networks/{network}/trending_pools
  • Specific Pool by Contract Address
    /onchain/networks/{network}/pools/{address}
  • Search Pools
    /onchain/search/pools

Tokens

  • Top Pools by Contract Address
    /onchain/networks/{network}/tokens/{token_address}/pools
  • Token Data by Contract Address
    /onchain/networks/{network}/tokens/{address}
  • Token Info by Contract Address
    /onchain/networks/{network}/tokens/{address}/info

Open, High, Low, Close, Volume (OHLCV)

  • Pool OHLCV Chart by Contract Address
    /onchain/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}

For a complete listing of all available endpoints, please consult our updated API documentation, or explore our dedicated DEX data API page.

This significant update follows CoinGecko’s recent strategic acquisition of Zash, a leading provider of data infrastructure and intelligence solutions for non-fungible tokens (NFTs), which took place in November of 2023.

DEX Data API for onchain tokens and crypto liquidity pools - CoinGecko API

Share.