CoinGeckoNot published by vendorVerified 2026-11-09

CoinGecko API free tier: keyless public API, Demo key limits and the keyless MCP server

CoinGecko serves coin prices, market caps, volumes, charts, exchanges, NFTs, public treasuries and on-chain DEX data over a REST API at api.coingecko.com. A subset of endpoints answers with no key at all under shared, IP-based limits; a free Demo account key gives 100 calls a minute and 10,000 call credits a month. A hosted keyless MCP server at mcp.api.coingecko.com/mcp lets an agent run SDK code against the same data. Free use needs “Powered by CoinGecko” attribution; a commercial licence starts on paid plans.

Verified factsChecked 2026-11-09

PriceKeyless public API $0 with no account. Demo plan $0 with a free account and no card (10,000 call credits a month). Paid plans start at Basic $35/month (or $29/month billed yearly) with 100,000 credits; Analyst $129/month, Lite $499/month, Pro $999/month; overage $0.0005 a call on paid plans.1 [Verified 2026-11-09]
API key / authNone for the keyless public API and the keyless MCP server; our keyless REST and MCP calls returned HTTP 200 on 2026-11-09. A Demo key goes in the x-cg-demo-api-key header (or x_cg_demo_api_key query string) on api.coingecko.com; paid keys use x-cg-pro-api-key on pro-api.coingecko.com.5 [Verified 2026-11-09]
Rate limitKeyless: IP-based and shared across everyone on the same IP; no number is published. Demo key: 100 calls a minute and 10,000 call credits a month (one credit per HTTP 200). Paid: 300 to 1,000 calls a minute on Basic through Pro. Errors (4xx and 5xx) also count toward the per-minute limit; over the limit returns HTTP 429.3 [Verified 2026-11-09]
History depthKeyless and Demo: daily and hourly history for the last year. Our keyless market_chart call with days=400 returned HTTP 401, error 10012, limiting public users to the past 365 days. Basic keeps 2 years; Analyst and above go back to 2013 for daily data.1 [Verified 2026-11-09]
License / termsProprietary, under the CoinGecko API Terms. Products using the API must show “Powered by CoinGecko” in a legible font no smaller than size 10 and follow the attribution guide. Caching is discouraged; if you cache, refresh at least every 24 hours. The API may not be used for or to promote gambling.4 [Verified 2026-11-09]
Commercial useThe pricing comparison lists a Commercial licence on Basic, Analyst, Lite and Pro, a custom licence on Enterprise, and none on Demo. The pricing FAQ calls Demo a plan for testing and exploration, and says commercial products on paid plans must show “Data provided by CoinGecko” with a link to coingecko.com/en/api.1 [Verified 2026-11-09]
MCP serverKeyless: https://mcp.api.coingecko.com/mcp (Streamable HTTP; /sse also offered), shared rate limits. With a key: https://mcp.pro-api.coingecko.com/mcp (browser sign-in on first use). Local: npx @coingecko/coingecko-mcp with a Demo or Pro key (npm 9.0.0, Apache-2.0).6 [Verified 2026-11-09]
SDKsOfficial TypeScript SDK @coingecko/coingecko-typescript (npm 9.0.0) and Python SDK coingecko-sdk (PyPI 5.0.0), both Apache-2.0 and usable with Demo or Pro keys.7 [Verified 2026-11-09]

FeaturesChecked 2026-11-09

YesNoN/ANot published
CapabilityValueNote
StatusNo beta, GA or SLA stage on the Demo or keyless tiers; the 99.9% SLA in the pricing table is for Enterprise. The API reference is versioned v3.Not published1 [Not published by vendor: checked 2026-11-09 on https://www.coingecko.com/en/api/pricing]No beta, GA or SLA stage on the Demo or keyless tiers; the 99.9% SLA in the pricing table is for Enterprise. The API reference is versioned v3.
API key requiredNo key for keyless tier. Keyless GET /ping, /simple/price and /search/trending and keyless MCP initialize, tools/list and tools/call returned HTTP 200 on 2026-11-09. Free Demo key via x-cg-demo-api-key.No2 [Verified 2026-11-09 by test request to https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd]No key for keyless tier. Keyless GET /ping, /simple/price and /search/trending and keyless MCP initialize, tools/list and tools/call returned HTTP 200 on 2026-11-09. Free Demo key via x-cg-demo-api-key.
Free tierKeyless + free Demo key. Keyless public API with no account; Demo plan $0 with no card. Paid plans from $35/month.Yes1 [Verified 2026-11-09 on https://www.coingecko.com/en/api/pricing]Keyless + free Demo key. Keyless public API with no account; Demo plan $0 with no card. Paid plans from $35/month.
Rate limitDemo key: 100 calls/min and 10,000 call credits/month. Keyless: IP-based and shared, number not published. Errors count toward the per-minute limit.Demo 100/min, 10k/mo3 [Verified 2026-11-09 on https://docs.coingecko.com/docs/errors-and-rate-limits]Demo key: 100 calls/min and 10,000 call credits/month. Keyless: IP-based and shared, number not published. Errors count toward the per-minute limit.
Official MCP serverKeyless, mcp.api.coingecko.com. Streamable HTTP (/sse also). tools/list on 2026-11-09 returned 2 tools, search_docs and execute (server 8.3.0). Key-based server adds the full tool set.Yes8 [Verified 2026-11-09 by test request to https://mcp.api.coingecko.com/mcp]Keyless, mcp.api.coingecko.com. Streamable HTTP (/sse also). tools/list on 2026-11-09 returned 2 tools, search_docs and execute (server 8.3.0). Key-based server adds the full tool set.
Official SDKTypeScript + Python. Official @coingecko/coingecko-typescript (npm 9.0.0) and coingecko-sdk (PyPI 5.0.0), both Apache-2.0.Yes7 [Verified 2026-11-09 on https://docs.coingecko.com/docs/sdk]TypeScript + Python. Official @coingecko/coingecko-typescript (npm 9.0.0) and coingecko-sdk (PyPI 5.0.0), both Apache-2.0.
Data license / termsCoinGecko API Terms: show “Powered by CoinGecko” (legible, size 10+); refresh any cache at least every 24 hours; no gambling use.Proprietary (API Terms)4 [Verified 2026-11-09 on https://www.coingecko.com/en/api_terms]CoinGecko API Terms: show “Powered by CoinGecko” (legible, size 10+); refresh any cache at least every 24 hours; no gambling use.
Commercial use allowedPaid plans only. Pricing table: Commercial licence on Basic, Analyst, Lite and Pro, custom on Enterprise, none on Demo. Paid commercial use needs “Data provided by CoinGecko” with a link.No1 [Verified 2026-11-09 on https://www.coingecko.com/en/api/pricing]Paid plans only. Pricing table: Commercial licence on Basic, Analyst, Lite and Pro, custom on Enterprise, none on Demo. Paid commercial use needs “Data provided by CoinGecko” with a link.
CORS / browser useAccess-Control-Allow-Origin: *. Keyless GET /simple/price returned ACAO * and an OPTIONS preflight on /ping returned 200 with ACAO * on 2026-11-09.Yes2 [Verified 2026-11-09 by test request to https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd]Access-Control-Allow-Origin: *. Keyless GET /simple/price returned ACAO * and an OPTIONS preflight on /ping returned 200 with ACAO * on 2026-11-09.
Freshness / coveragePricing table: Demo data freshness from 60 seconds. Keyless market_chart with days=400 returned 401 (error 10012, past 365 days only) on 2026-11-09.Demo from 60 s; 365-day history1 [Verified 2026-11-09 on https://www.coingecko.com/en/api/pricing]Pricing table: Demo data freshness from 60 seconds. Keyless market_chart with days=400 returned 401 (error 10012, past 365 days only) on 2026-11-09.

What it does

CoinGecko is a crypto market data aggregator, and its API is one of the most widely used sources of coin prices in tutorials and agent demos. The Demo and keyless root URL is https://api.coingecko.com/api/v3/; paid keys use pro-api.coingecko.com. The Demo endpoint list covers simple prices by coin ID or token contract, search and ID maps, coins/markets, coin detail, tickers, historical snapshots, market charts and OHLC, categories, tokenized real-world assets, exchanges and volume charts, derivatives, public-company and government treasuries, NFTs and trending searches, plus on-chain endpoints under /onchain. Without a key, our calls to /ping, /simple/price and /search/trending on 2026-11-09 returned HTTP 200; the errors page says keyless traffic is rate limited by IP and shared with everyone on that address, and it gives no number. History is capped: a keyless /coins/bitcoin/market_chart call with days=365 returned 200 and days=400 returned 401 with error 10012, “Public API users are limited to querying historical data within the past 365 days.” A free Demo key (sent as the x-cg-demo-api-key header) is documented at 100 calls a minute and 10,000 call credits a month, with each HTTP 200 using one credit. The keyless MCP server at https://mcp.api.coingecko.com/mcp (Streamable HTTP, also /sse) reported serverInfo coingecko_coingecko_typescript_api 8.3.0 and listed two tools on 2026-11-09: search_docs, which searches the SDK reference, and execute, which runs a TypeScript run(client) function against a pre-authenticated SDK client. The key-based server at mcp.pro-api.coingecko.com/mcp adds higher limits and the full tool set, and the docs say every MCP tool call counts toward API limits. Official SDKs are @coingecko/coingecko-typescript and coingecko-sdk for Python (both Apache-2.0); the local MCP package is @coingecko/coingecko-mcp.

Working exampleRun 2026-11-09

ShellRequest
# Keyless price check (no account, no key)
curl -sS -A "AgentAPIList-tip-hunter/1.0 (+https://agentapilist.com; info@darkmattertech.io)" \
  "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_last_updated_at=true"

# Keyless MCP: initialize, then list tools with the returned mcp-session-id
curl -sS -D - -X POST "https://mcp.api.coingecko.com/mcp" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"demo","version":"1"}}}'

Response (trimmed)

HTTP responseResponse
HTTP 200 (run 2026-11-09 ~11:44 ET, no key)
cache-control: max-age=30, public, must-revalidate, s-maxage=60
access-control-allow-origin: *

{"bitcoin":{"usd":74856,"last_updated_at":1794242679},"ethereum":{"usd":2128.34,"last_updated_at":1794242697}}

Same day, keyless:
GET /coins/bitcoin/market_chart?vs_currency=usd&days=365  -> HTTP 200
GET /coins/bitcoin/market_chart?vs_currency=usd&days=400  -> HTTP 401, error_code 10012
  "Public API users are limited to querying historical data within the past 365 days."

MCP initialize -> serverInfo "coingecko_coingecko_typescript_api" version "8.3.0", mcp-session-id header set
MCP tools/list -> 2 tools: execute, search_docs
MCP tools/call execute (client.simple.price.get ids bitcoin,ethereum vs usd)
  -> {"result":{"bitcoin":{"usd":74848},"ethereum":{"usd":2128.6}}}

Agent setup

Prompt to give your agent

Prompt
You have the CoinGecko MCP server at https://mcp.api.coingecko.com/mcp (keyless, shared limits). It has two tools: call search_docs first to find the right SDK method, then call execute with one async run(client) function that does the whole job, filtering and paginating inside that one call. Use coin IDs (bitcoin, ethereum) rather than tickers when you can, and resolve a ticker with the search endpoint first. Keyless history only reaches back 365 days, so say so instead of guessing older numbers. Quote the timestamp of every price you report, cite “Powered by CoinGecko”, and never present a price as a trading signal or advice.

Agent / MCP-style tool snippet

Shell
// Claude Code (keyless remote server)
claude mcp add --transport http coingecko https://mcp.api.coingecko.com/mcp
JSON
// Cursor: .cursor/mcp.json
{
  "mcpServers": {
    "coingecko": { "url": "https://mcp.api.coingecko.com/mcp" }
  }
}

// Local server with a free Demo key instead (higher, dedicated limits)
// claude mcp add coingecko -e COINGECKO_DEMO_API_KEY=YOUR_KEY -e COINGECKO_ENVIRONMENT=demo -- npx -y @coingecko/coingecko-mcp

Fit and safety

Good for

  • Asking an agent for the current price, market cap and 24h change of a handful of coins
  • Pulling a year of daily prices into a notebook for a quick chart
  • Looking up which public companies hold a coin through the treasury endpoints
  • Giving a coding agent real market data while it builds a portfolio dashboard

Watch out

  • Do not build a product on the keyless tier. Its limit is shared by everyone on your IP and the number is not published, so a cloud server, CI runner or office network can hit 429 without warning. Get a free Demo key for anything you run on a schedule.
  • Do not sell or embed the data commercially on Demo. The pricing table lists no commercial licence for Demo; commercial use starts on paid plans and needs “Data provided by CoinGecko” attribution.
  • Do not expect long history for free. Keyless and Demo calls stop at the past 365 days (our days=400 request returned error 10012); multi-year backtests need a paid plan.
  • Do not use it for or to promote gambling, and do not cache data for days. The API Terms bar gambling use and ask you to refresh any cache at least every 24 hours.
  • Do not treat aggregated prices as executable quotes. CoinGecko averages across venues; for a price on one DEX pool or one exchange, query that venue or a pool-level source.

Alternatives

DexPaprika API + MCPKeyless DEX pool, token and candle data with a published 10,000-credit allowance per IP, when you want pool-level prices.
Morpho MCPRead-only DeFi lending markets and rates rather than coin prices.
Elliptic Binance hack blocklistFree, keyless check of whether an address is tied to the October 2026 Binance theft.
Raziel Calculators APIFree, keyless return and IRR math to run on prices you already pulled.

FAQ

Does the CoinGecko API need an API key?

Not to start. A subset of endpoints works keyless at api.coingecko.com/api/v3 under shared, IP-based limits, and our keyless calls returned HTTP 200 on 2026-11-09. A free Demo key adds a dedicated 100 calls a minute and 10,000 call credits a month.

What are the CoinGecko free tier limits?

Demo key: 100 calls a minute and 10,000 call credits a month, one credit per successful call, and history limited to the past year. Keyless: shared per-IP limits with no published number, and the same 365-day history cap.

Is there a free CoinGecko MCP server?

Yes. https://mcp.api.coingecko.com/mcp needs no key. On 2026-11-09 it listed two tools, search_docs and execute, so the agent looks up an SDK method and then runs a short TypeScript function against the API.

Can I use free CoinGecko data in a commercial app?

The pricing table lists a commercial licence only on paid plans (from Basic at $35/month); Demo has none. Every product using the API must also show “Powered by CoinGecko” per the API Terms.

Compare

Put CoinGecko API and keyless MCP server side by side with other free agent tools on keys, limits, MCP support, licensing and CORS. Open the comparison grid →

SourcesFootnotes