CoinGecko

API

Crypto 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

  1. Optionally get a free Demo API key from the Developer Dashboard
  2. Send it in the x-cg-demo-api-key header
  3. 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

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .