CoinGecko Enhances Crypto API with On-Chain DEX Data | CoinGecko API

03/25/2024 15:22
CoinGecko Enhances Crypto API with On-Chain DEX Data | CoinGecko API

Leverage one unified API for crypto price, market data, metadata plus on-chain token and liquidity data for cryptocurrencies not yet listed on CoinGecko.

We’ve always been committed to furnishing users with comprehensive, reliable and accurate crypto price and market data, and empowering the crypto community. With on-chain DEX data now accessible through the CoinGecko API, users can harness the information without having to consolidate from multiple sources, dive deeper into the decentralized ecosystem and unlock new avenues of product creation.

–– Bobby Ong, COO and Co-founder of CoinGecko


CoinGecko DEX API

Access On-Chain Data from CoinGecko API

On-chain decentralized exchange (DEX) data is directly accessible through CoinGecko API, effective today. Crypto projects, developers and users can now leverage one unified API to retrieve crypto price, market data and metadata, as well as on-chain token and liquidity pool data for cryptocurrencies not listed on CoinGecko.

Increased Coverage Through 20 New Endpoints

This on-chain data expansion significantly enhances CoinGecko API's offering, as it increases its coverage to 2.2 million tokens on-chain across 2.5 million crypto liquidity pools. This data is powered by CoinGecko's sister product, GeckoTerminal, which monitors real-time crypto price, trading volume, transactions, liquidity and more, on over 900 DEXes across 120 blockchain networks – including popular platforms like Uniswap, PancakeSwap, Orca, Curve, and Balancer.

On-chain data is immediately available to paid API subscribers through 20 new endpoints. Key data sets include crypto liquidity pools, token data by contract address and OHLCV 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 the extensive list of endpoints, navigate to our revamped API documentation.

This product update comes shortly after CoinGecko’s strategic acquisition of Zash, leading non-fungible token (NFT) data infrastructure and intelligence company, in November 2023.

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

Tell us how much you like this article!

CoinGecko

CoinGecko

CoinGecko's editorial team comprises writers, editors, research analysts and cryptocurrency industry experts. We produce and update our articles regularly to provide the most complete, accurate and helpful information on all things cryptocurrencies. Follow the author on Twitter @coingecko

Read more --->