Crypto

CoinGecko API

by docs.coingecko.com

Crypto Added on October 31st, 2026 Checked and working on November 8th, 2026
Visit docs.coingecko.com →

What it does

The CoinGecko API gives prices, market capitalisation, volume and price history for thousands of cryptocurrencies, plus data on exchanges, categories, trending coins and NFTs. It is widely used for crypto price widgets, portfolio trackers and charts. Responses are JSON. The free Demo plan needs a free API key and has a monthly call limit; paid plans offer more calls and data. An official MCP server at https://mcp.api.coingecko.com/mcp lets AI agents use the API without a key.
  • API
  • HTTP-GET
  • JSON
  • MCP
  • REST

At a glance

API key
Not needed · More APIs with no key
Pricing
The free Demo plan needs a free API key and has a monthly call limit; paid plans offer more calls and data.
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET, MCP
Provider
docs.coingecko.com
Last checked
Working on November 8th, 2026

More information: https://docs.coingecko.com/

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

docs.coingecko.com
CoinGecko API

Example request

curl

curl 'https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd'

JavaScript

const response = await fetch("https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried CoinGecko API.