Build with Crypto’s Most Trusted & Comprehensive Data API
Get complete coverage of the crypto market delivered by CoinGecko API, the world’s largest independent crypto data authority since 2014.
One API for All Crypto Market Data
Coins & Tokens
/coins/*
Get real-time and historical prices, market data and metadata for coins and tokens listed on CoinGecko, including images, descriptions, links, social stats and supply info.
Global
/global/*
Get global cryptocurrency market data such as total market cap, volume and dominance over time.
Exchange & Derivatives
/exchanges/*
/derivatives/*
Get data for centralized spot and derivatives exchanges on CoinGecko, including tickers (trading pairs), volumes, market data and exchange metadata.
Onchain DEX
/onchain/*
Get real-time and historical data for onchain pools and tokens listed on GeckoTerminal, including prices, market cap, volume and liquidity.
Onchain Trades
/onchain/.../trades/*
Get or stream trades from onchain pools and tokens, including transaction hash, wallet addresses, trade direction, trade size and value.
Historical Charts
/coins/.../market_chart/*
Get up to 12 years of historical crypto market data and price charts, with granularity down to every 5 minutes.
OHLC & OHLCV Charts
/ohlc/*
/ohlcv/*
Get real-time and historical OHLCV (open, high, low, close, volume) data for building candlestick charts, with up to sub-second granularity.
Search & Discovery
/search/*
Get market discovery data such as trending coins, top gainers and losers, new pools and tokens, and search coins, categories and exchanges by name, symbol or contract address.
Coin Categories
/categories/*
Get the full list of coin and token categories across CoinGecko and GeckoTerminal, along with category-level market data.
Public Treasuries
/public_treasury/*
Get data on public company and government crypto treasuries, covering BTC, ETH and a wide range of other digital asset treasuries (DATs) with their current valuations.
NFT
/nfts/*
Get real-time and historical NFT collection data listed on CoinGecko, including floor prices, market data, and metadata.
Pricing
From hobbyist to large scale enterprise projects, we’ve got you covered with crypto data sourced by the world’s largest independent crypto data aggregator.
Testimonials
@coingecko is definitely the best – A Thread 🧵
If you wanna develop something cool in crypto, the CoinGecko API is a must-try! It's packed with information on almost every coin and token, plus chain data. And it's super easy to integrate.
This @coingecko's API is so underrated.
There's almost no limit to what you can build with it.
Frequently Asked Questions
-
Is CoinGecko API free?
- CoinGecko API offers both free and paid plans. The Demo API plan is accessible to all CoinGecko users for free, with a stable rate limit of 100 calls/min and a monthly cap of 10,000 calls. Paid plans start at $35/mo, with tiered plans offering a higher rate limit of up to 2,500 calls/min and a monthly cap of up to 15 million calls.
-
What is the CoinGecko API?
- CoinGecko API is a cryptocurrency data API for traders, developers, and projects, supplying real-time and historical crypto prices, market data, trading pairs, metadata, NFT collection floor prices and more through its RESTful or WebSocket API endpoints. Integrate CoinGecko API into your application or website to display accurate crypto prices and data. CoinGecko aggregates cryptocurrency price and market data across centralized and decentralized exchanges, providing reliable, comprehensive and accurate crypto price data trusted by millions worldwide. Learn more about our Methodology on how they calculate and evaluate metrics.
-
How do I connect to CoinGecko API?
- You can connect or call the API through its RESTful JSON or WebSocket API endpoints using HTTP requests. Select the relevant endpoints as listed in the API documentation for your query.
-
What are the rate limits for CoinGecko API?
- The CoinGecko Demo (free) API plan has a rate limit of 100 calls/min, while paid plans offer a higher rate limit of up to 300 to 2,500 calls/min. Get in touch with our Business Development team if you’d like to explore higher rate limits on a custom Enterprise plan.
-
What are the common use cases of CoinGecko API?
-
Traders, developers and projects commonly use CoinGecko API in their crypto web or mobile applications to show live crypto prices, market data, trading pairs and other metadata. These applications include (but are not limited to): wallets, exchanges , portfolio screeners and trackers, analytics & tools, trading or AI chat bots, and crypto accounting platforms.
Financial firms, professional traders and researchers rely on CoinGecko API to retrieve historical price data to conduct analyses and backtest trading strategies, track portfolio profit and loss, discover the latest trending coins and categories, and more. Check out our case studies! -
Can I get both live and historical crypto prices with CoinGecko API?
-
Yes, you can get both live and historical crypto prices with CoinGecko API.
For live prices, you can use endpoints like /simple/price or /coins/markets, which provide real-time data for specified cryptocurrencies.
For historical market data, you can use endpoints like /coins/{id}/market_chart or /coins/{id}/history. -
Can I access on-chain data from CoinGecko API?
-
Yes. You can access on-chain DEX data through more than 20 new endpoints on CoinGecko API. Key data sets include crypto liquidity pools, token data by contract address and OHLCV chart data.
This data is powered by GeckoTerminal, which monitors real-time crypto price, trading volume, transactions, liquidity and more, on over 1,700 DEXes across 200+ blockchain networks, including platforms like Uniswap, PancakeSwap, Orca, Curve, and Balancer. -
What are some examples of on-chain data provided by CoinGecko API?
-
Here are some examples of on-chain data:
- Price, volume, historical chart, and other market data of 40M+ tokens traded across 200+ blockchain networks, including Ethereum, Solana, TON, BNB Chain, and Base
- A list of all the pools that are trading a specific token
- OHLCV data (Open, High, Low, Close, Volume) of a pool to plot a candlestick chart
- A list of all the networks and DEXes supported by GeckoTerminal
- Discovery data such as new and trending tokens and pools
- Top token holders and onchain trades
-
Is CoinGecko API suitable for enterprise-scale businesses?
-
Absolutely. The CoinGecko API is battle-tested at scale and trusted by some of the largest names in the industry, including Consensys, Chainlink, Coinbase, Ledger, Etherscan, Kraken, and many more.
Our Enterprise tiers offer:- Exclusive endpoints and enriched data access
- Dedicated customer success manager
- Flexible, customised plans: rate limits, credits, API keys, optional licensing, white-labeling
- 99.9% uptime SLA, integration consultation, and priority 24×7 support
- Private Slack channels for real-time assistance and faster resolution