Power Crypto Exchange & Wallet App with Real-Time Crypto Price Data

Access comprehensive, real-time cryptocurrency market data, both on-chain and off-chain.

Trusted by Thousands of Industry Builders

Trusted by Thousands
of Industry Builders

Display Coin Metadata on Your Website or DApp

Get metadata of a coin, including links, categories, contract address, community, description in different languages and more.

Integrate Comprehensive Crypto Price Feed
into Your Exchange or Wallet App

Integrate Comprehensive Crypto Price Feed into Your Exchange or Wallet App

Access over 70 endpoints to track BTC, ETH, 3 million+ cryptocurrencies.

Real-time Price Charts

Real-time Price Charts

Configure price charts using 10+ years of coin historical data.

Endpoint ➡️ /coins/{id}/market_chart
Endpoint ➡️ /coins/{id}/ohlc/range

On-Chain DEX Prices

On-Chain DEX Prices

Get the prices and market data of any on-chain tokens traded across thousands of DEXes.

Endpoint ➡️ /onchain/simple/networks/{network}
/token_price/{addresses}

Discover Trending Coins

Discover Trending Coins

Surface the hottest trending coins, top gainers, and the newest coins in the space.

Endpoint ➡️ /search/trending
Endpoint ➡️ /coins/top_gainers_losers
Endpoint ➡️ /coins/list/new

Build Crypto Price Charts
for Technical Analysis

Build Crypto Price Charts for Technical Analysis

Data aggregated from over 1,200 exchanges, to bring you the most accurate prices.

3 million+

Coins

4 million+

Pools

1,200+

Exchanges

170+

Networks

Track Millions of On-Chain Tokens

Access on-chain market data across Ethereum, Solana, TON, and 170+ blockchains, powered by GeckoTerminal.

Why Web3 Community Choose CoinGecko API

“Accessing accurate crypto data on SphereOne is made possible by @coingecko. Their comprehensive API ensures our users stay informed”




SphereOne
@sphereone_
“We wanted to extend our gratitude to @bobbyong and the @coingecko team for granting us the opportunity to develop our service on top of their leading #cryptocurrency API.
None of this would have been possible without them. 💙💚”


Crescent Tracking
@TrackCrescent
“coingecko API been a real one fr I use that one constantly”






valens
@suppvalen
“CoinGecko is one of the most reliable & comprehensive cryptocurrency data providers for traders & developers.”





API3
@API3DAO
“Don't mess with the crypto geckos, they've got the best API mojo! 🦎🚀”






yasmin
@ohitsyass1
“We leverage the #CoinGecko API, known for its longstanding commitment to excellence and substantial contributions to our blockchain community.”




Synthetic exchange
@synthetic_chain

Frequently Asked Questions

You can use the /coins/{id} endpoint to get coin metadata. Here’s how:
  1. Identify the token by its coin id (e.g., bitcoin, ethereum).
  2. Use the following endpoint: /coins/{id}
  3. Replace {id} with the token’s unique ID on CoinGecko.
This endpoint returns detailed metadata, including the token’s name, symbol, description, market data, links, images, and more. You can also include additional parameters to specify the data you need, such as localization and tickers.
To build crypto price charts using the CoinGecko API, you can use the /coins/{id}/market_chart or /coins/{id}/market_chart/range endpoints, depending on whether you want data over a set period (e.g., last 7 days) or for a specific date range. Here’s a quick guide: 1. Select the Cryptocurrency ID: Identify the coin’s id (e.g., bitcoin, ethereum). 2. Use the Endpoint: /coins/{id}/market_chart Required parameters:
  • vs_currency: The fiat or crypto to compare (e.g., usd).
  • days: Number of days for historical data (e.g., 1, 7, 30, max).
For data over a specific date range, use the /coins/{id}/market_chart/range endpoint. Required parameters:
    • vs_currency: The fiat or crypto to compare.
    • from: UNIX timestamp of the start date.
    • to: UNIX timestamp of the end date.
3. Parse the Response: These endpoints return data arrays for prices, market_caps, and total_volumes with timestamps. You can extract and plot the prices data for the chart. 4. Plot the Data: Use a library like Chart.js (JavaScript) or Matplotlib (Python) to create line or candlestick charts with the data.
CoinGecko API offers 20 endpoints to access real-time on-chain DEX data, powered by GeckoTerminal. Here are the primary on-chain endpoints available via API:
  • /onchain/simple/networks/{network}/token_price/{addresses} – Query any token price using contract address.
  • /onchain/networks – Query all supported blockchains.
  • /onchain/networks/dexes – Query all supported DEXes.
  • /onchain/networks/{network}/pools/{address} – Query a specific pool on a supported blockchain.
  • onchain/networks/{network}/tokens/{address} – Get token data on a supported blockchain.
  • /onchain/networks/{network}/tokens/{address}/info – Get token metadata such as name, symbol, and coin id.
  • /onchain/networks/{network}/pools/{pool_address}/ohlcv/{timeframe} – Get the OHLCV (Open, High, Low, Close, Volume) chart data of any pool.
  • /onchain/networks/{network}/pools/{pool_address}/trades – Query the last 300 trades of a pool in the past 24 hours.
Check out an overview of all the available CoinGecko endpoints here.
Popular crypto wallets such as MetaMask, Phantom, Uniswap Wallet, Exodus, and more are utilizing CoinGecko’s API to display aggregated real-time crypto prices and market data.  Here are some common use cases of the top-performing crypto wallets:
  • Query token data: Get live crypto prices, market capitalization, FDV, trading volume, 24-hour price change, circulating supply, total supply, etc. 
  • Plot historical chart: Analyze a token’s performance by plotting historical chart data of a coin, including price, market cap, and 24-hour volume.
  • Integrate NFT collection data: For wallets that support NFTs, our endpoints allow the retrieval of comprehensive NFT collection data, including the metadata (name, symbol, image, description) and market data (floor price, market cap, 24-hour trading volume, the number of unique addresses, etc.)
Check out the endpoints used by the crypto wallets to retrieve these data.

Enhance dApp Capabilities with CoinGecko API

Enhance dApp Capabilities with CoinGecko API

Unlock more possibilities with reliable, accurate and comprehensive crypto price data.

Download the report now

You will also receive our daily newsletter

By entering your email address, you agree to be subscribed to our daily newsletter where you will get the latest crypto news and trends. You can unsubscribe anytime.