CoinGecko
FreemiumGET https://api.coingecko.com/api/v3/simple/price
HTTPS
Yes
API key
Optional
CORS
Verify
Use
See limits
Limits. Very low unauthenticated rate limits. Demo and Pro keys increase RPM. Exact numbers change — check their docs.
Commercial. Paid plans for production volume and SLA.
Note. If unauthenticated calls start failing, register a demo key. Never expose a Pro key in a static site.
curl -sS "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd"