CoinGecko API
CoinGecko API
CoinGecko API provides real-time price, market cap, volume, and historical data for 13000+ cryptocurrencies — the most popular free crypto data API.
Free demo tier (10-30/min)
Free tier has rate limits
Free: GET https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd directly. Register for a free Demo key.
Uptime · 30-day window
About this API
CoinGecko is a crypto data aggregation platform founded in Singapore in 2014, second only to CoinMarketCap (since acquired by Binance) in market share. CoinGecko's independent neutral positioning earned high reputation in the crypto community. API coverage: 13000+ coins real-time prices (aggregated from 1000+ exchanges, weighted average), market cap rankings, historical candles (daily/hourly, since 2013), per-coin details (contract addresses, community data, dev activity), derivatives markets, NFT collection data, DeFi protocol TVL, etc. Free demo tier works for personal projects and small widgets; Pro from $129/month unlocks higher rate limits + more endpoints. Default data infrastructure for any serious crypto project.
What you can build
- 1Crypto portfolio tracker
- 2Embed price widgets on websites
- 3Price feeds for DeFi apps
- 4Crypto media market displays
- 5Historical price research
Strengths & limitations
Strengths
- Free demo tier (10-30/min)
- Broadest coin coverage (13000+)
- Transparent sources (aggregates 1000+ exchanges)
- Deep historical data (since 2013)
Limitations
- Free tier has rate limits
- Real-time slower than direct exchange API
- Pro tier from $129/month
Example request
curl https://www.coingecko.com/<endpoint> \
-H "Authorization: Bearer $API_KEY"
# Some providers use X-Api-Key instead — verify in the docs.Getting started
Free: GET https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd directly. Register for a free Demo key.
FAQ
CoinGecko vs. CoinMarketCap?+
CoinGecko: more generous free tier and independent neutrality. CMC: slightly finer data but neutrality questioned after Binance acquisition.
Can I get DeFi protocol TVL?+
Yes — GET /api/v3/global/decentralized_finance_defi for global DeFi. DeFiLlama is a more specialized DeFi source.
Technical details
- Auth type
- api_key
- Pricing
- freemium
- Rate limit
- Demo: 10-30 calls/min. Pro: from 500 calls/min
- Protocols
- REST
- SDKs
- python, javascript, typescript, go, java, php, ruby
- Response time
- 226 ms
- Last health check
- 5/12/2026, 7:37:13 AM