CoinGecko
Cryptocurrency Price, Market, and Developer/Social Data
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Yes
- Category
- Cryptocurrency
- Documentation / URL
- http://www.coingecko.com/api
Overview
CoinGecko is the largest independent cryptocurrency data aggregator. Its public API v3 exposes market data for 10,000+ coins: live prices, market caps, volume, price history, exchange data, and the trending coins list. No API key is required for basic use, which makes it a favorite for wallets, trackers, and dashboards.
Quick Start
Health check (returns a friendly ping):
curl "https://api.coingecko.com/api/v3/ping"
Live price of Bitcoin in USD:
curl "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd"
{"bitcoin": {"usd": 61234.56}}
Other useful endpoints:
| Endpoint | Data |
|---|---|
/coins/markets?vs_currency=usd |
top coins with price/volume/market cap |
/coins/{id}/market_chart |
price history (sparklines, charts) |
/search/trending |
currently trending coins |
/exchanges |
exchange list and volumes |
Authentication
No key needed for the public endpoints. If you hit rate limits, register for a free demo API key at the CoinGecko developer portal to get higher limits (paid tiers exist for production scale).
Rate Limits & Notes
- Public (keyless) access is rate-limited — roughly a handful of calls per minute; heavy use triggers
429. - A free demo key raises the limit significantly; check the pricing page for current numbers.
- IDs are stable and lowercase (e.g.
bitcoin,ethereum) — use/coins/listto look them up. - Data is aggregated from many exchanges; prices are volume-weighted averages, not a single exchange spot.
FAQ
Does CoinGecko need an API key? Basic use works without a key. Register a free demo key for higher rate limits.
Is it free? Yes — public endpoints are free; paid tiers add higher limits and premium data.
Can I call it from the browser? Yes — CORS is enabled and HTTPS is supported, so client-side calls work.
More in Cryptocurrency
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 0x API for querying token and pool stats across various liquidity pools | No auth | Yes | Yes | ↗ |
| 1inch API for querying decentralize exchange | No auth | Yes | Unknown | ↗ |
| Alchemy Ethereum Ethereum Node-as-a-Service Provider | API Key | Yes | Yes | ↗ |
| Alpha (Mossland) Korean crypto channel stance + RAG Q&A + canonical entity/topic/event store | No auth | Yes | Yes | ↗ |
| Binance Exchange for Trading Cryptocurrencies based in China | API Key | Yes | Unknown | ↗ |