CoinGecko API

Structured access to the world's largest independent cryptocurrency data platform — coin details, historical price series, market cap rankings, exchange trust scores, and trading pair feeds via a single REST API.

7 endpoints REST & MCP JSON output No CoinGecko key required

CoinGecko Data Without the Rate Limit Maze

CoinGecko tracks over 17,000 cryptocurrencies and 1,000+ exchanges — and its public API is notoriously rate-limited, fragmented across demo and pro tiers, and subject to sudden key revocation. Anysite proxies CoinGecko data through a unified REST interface: one authentication header, no CoinGecko account required, structured JSON, consistent rate limits across all 7 endpoints. Whether you need Bitcoin's 90-day price chart, a real-time market cap ranking of the top 100 coins, or Binance's trust score and trading pair breakdown, a single POST delivers it.

All CoinGecko Endpoints

EndpointWhat It Returns
/api/coingecko/coinsFull coin profile — market cap, price, supply, ATH/ATL, sentiment, developer & community data
/api/coingecko/coins/chartHistorical price, market cap, and volume time series over a custom day window
/api/coingecko/coins/marketsRanked coin list by market cap with price changes, volumes, and supply metrics
/api/coingecko/coins/searchResolve a coin name or ticker symbol to its canonical CoinGecko coin id
/api/coingecko/coins/tickersTrading pairs for a coin across exchanges — price, volume, trust score, bid-ask spread
/api/coingecko/exchangesExchange profile — trust score, 24h BTC volume, coin count, pair count, country, social links
/api/coingecko/exchanges/searchExchanges ranked by trust score — id, name, volume, country

What You Can Build

Portfolio Valuation Tools

Pull real-time prices and market cap data for any list of coins in a single pass. Use /coins/markets to rank your holdings by cap and compute current USD values — no CoinGecko account or API key needed.

Price Chart & Backtest Pipelines

Fetch 30, 90, or 365 days of OHLCV-equivalent price history per coin via /coins/chart. Feed the series directly into backtesting frameworks, alerting systems, or chart visualizations.

Exchange Intelligence & Routing

Use /exchanges and /exchanges/search to evaluate where a coin trades and which venue offers the tightest spreads. Combine with /coins/tickers to see all active trading pairs and trust-scored venues for a given asset.

Crypto Research & Screening

Rank the entire market with /coins/markets, then drill into a coin's developer metrics, community data, and sentiment via /coins. Useful for token screening, due diligence, and research reports.

Common Workflows

Resolve a symbol to a coin id, then fetch full details
# Step 1 — resolve "ETH" to a canonical CoinGecko coin id
curl -s -X POST https://anysite.io/api/coingecko/coins/search   -H "access-token: YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"query": "ETH", "count": 1}'

# Response excerpt
# { "id": "ethereum", "symbol": "eth", "name": "Ethereum", "market_cap_rank": 2 }

# Step 2 — fetch full market data using the resolved id
curl -s -X POST https://anysite.io/api/coingecko/coins   -H "access-token: YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"coin": "ethereum"}'
Fetch 30-day Bitcoin price history
curl -s -X POST https://anysite.io/api/coingecko/coins/chart   -H "access-token: YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"coin": "bitcoin", "days": 30, "vs_currency": "usd"}'

# Returns an array of { timestamp, price, market_cap, volume } entries
# timestamp is a Unix millisecond value; price is in USD
Top 20 coins by market cap
curl -s -X POST https://anysite.io/api/coingecko/coins/markets   -H "access-token: YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"count": 20, "vs_currency": "usd", "order": "market_cap_desc"}'

# Returns ranked list: id, symbol, name, current_price, market_cap,
# market_cap_rank, total_volume, price_change_percentage_24h, ...

Plans

Every CoinGecko endpoint is included in all Anysite plans — there's no per-endpoint pricing to track. Start with MCP Unlimited at $30/mo for flat-rate access through your AI tools, or use a credit plan for REST & CLI at scale.

PlanPriceBest for
MCP Unlimited$30/moUnlimited access via Claude, Cursor & ChatGPT (fair use)
Starter$49/moREST & CLI — includes a 7-day trial
Growth$200/moProduction workloads
Scale · Pro · Enterprisefrom $300/moHigh volume & higher rate limits

Frequently Asked Questions

Do I need a CoinGecko API key?
No. Anysite handles all upstream authentication. You authenticate once with your Anysite API key and all 7 CoinGecko endpoints become available immediately — no CoinGecko account, no rate limit negotiation on your side.
How do I look up a coin by its ticker symbol?
Use /api/coingecko/coins/search with the ticker as the query string (e.g. "ETH" or "SOL"). The response includes the canonical CoinGecko coin id, which all other endpoints require as input.
How much historical price data can I pull?
The /coins/chart endpoint accepts a days parameter — pass any integer to set the look-back window (e.g. 7, 30, 365). Data is returned as a time series of timestamp, price, market cap, and volume entries.
How is exchange trust score calculated?
CoinGecko's trust score (0–10) factors in traffic, liquidity, API coverage, and data cleanliness. The /exchanges endpoint returns the trust score and trust score rank alongside 24h BTC-denominated volume, making it straightforward to compare venues objectively.
Can I use these endpoints via MCP in Claude or Cursor?
Yes. All 7 CoinGecko endpoints are available in the MCP Unlimited plan as native tools in Claude, Cursor, and ChatGPT. No code required — ask your AI assistant to pull live market data and it will route the request automatically.

Related Endpoints

Start Pulling Crypto Market Data

Get structured CoinGecko data in your workflows today — no API key juggling, no rate limit headaches.