C

CoinGecko API

by CoinGecko Free tier

CoinGecko is the leading independent cryptocurrency data aggregator, tracking 15,000+ coins across 900+ exchanges. The API provides real-time prices, market caps, trading volumes, historical data, OHLC candles, exchange data, DeFi metrics, and NFT floor prices. Widely used in crypto dashboards, wallets, and portfolio trackers.

cryptobitcoinethereumdefinftmarket-dataprices

Quick Reference

Base URL https://api.coingecko.com/api/v3 Auth type API Key Header Auth header x-cg-demo-api-key: CG-... Rate limit 30 calls/min (free) Pricing Free tier available Free quota 10,000 calls/month (30 calls/min) Documentation https://docs.coingecko.com/reference/introduction Endpoint status Server online — HTTP 404 — server is online but path returned an error (may require auth)732ms (checked Mar 29, 2026) Builder score B 72% builder-friendly
Pricing
90
Latency
38
Depth
83

Authentication

Free tier requires no authentication. Demo and Pro plans use the x-cg-demo-api-key or x-cg-pro-api-key header.

x-cg-demo-api-key: CG-...

Pricing

Model freemium Starting price Free tier available Free quota 10,000 calls/month (30 calls/min)

Free: 30 calls/min, 10k/month. Demo $129/mo: 500 calls/min. Analyst $499/mo: 500 calls/min + premium endpoints. Lite $2,499/mo: 1,000 calls/min.

Key Endpoints

MethodPathDescription
GET /simple/price Get current price for one or more coins
GET /coins/markets List coins with market data sorted by rank
GET /coins/{id}/market_chart Historical market data (price, volume, market cap)
GET /coins/{id}/ohlc OHLC chart data for a coin
GET /exchanges List all crypto exchanges with volume data
GET /global Global crypto market overview stats

Sample Request

curl "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_change=true" -H "x-cg-demo-api-key: CG-..."

Sample Response

{
  "bitcoin": {
    "usd": 67234.50,
    "usd_24h_change": 2.34
  },
  "ethereum": {
    "usd": 3512.88,
    "usd_24h_change": 1.87
  }
}

Data sourced from API Map. Always verify pricing and rate limits against the official CoinGecko documentation.