CoinGecko
APICrypto price, market and onchain data for coins, tokens and exchanges
- Price
- Free tier, then paid
- Access
- Demo API key (optional)
About
Crypto market data API with coin prices, market caps, exchanges, NFTs and onchain DEX data. It works keyless or with a free Demo key (10k calls a month, attribution required); paid plans raise limits and unlock all endpoints.
What you can do with it
- Get live coin prices by ID, symbol, name or token contract address
- Pull historical prices, market caps and trading volume for a coin
- Query onchain DEX pools, trades and token prices across networks
Get started
- Optionally get a free Demo API key from the Developer Dashboard
- Send it in the x-cg-demo-api-key header
- Call endpoints under api.coingecko.com/api/v3
Example
curl "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd" \
-H "x-cg-demo-api-key: $COINGECKO_API_KEY"Details
- Hosting
- Hosted service
- Available in
- Worldwide
- Official SDKs
- JavaScript/TypeScript, Python
- MCP server
- Remote