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.
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
| Endpoint | What It Returns |
|---|---|
/api/coingecko/coins | Full coin profile — market cap, price, supply, ATH/ATL, sentiment, developer & community data |
/api/coingecko/coins/chart | Historical price, market cap, and volume time series over a custom day window |
/api/coingecko/coins/markets | Ranked coin list by market cap with price changes, volumes, and supply metrics |
/api/coingecko/coins/search | Resolve a coin name or ticker symbol to its canonical CoinGecko coin id |
/api/coingecko/coins/tickers | Trading pairs for a coin across exchanges — price, volume, trust score, bid-ask spread |
/api/coingecko/exchanges | Exchange profile — trust score, 24h BTC volume, coin count, pair count, country, social links |
/api/coingecko/exchanges/search | Exchanges 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
# 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"}'
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
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.
| Plan | Price | Best for |
|---|---|---|
| MCP Unlimited | $30/mo | Unlimited access via Claude, Cursor & ChatGPT (fair use) |
| Starter | $49/mo | REST & CLI — includes a 7-day trial |
| Growth | $200/mo | Production workloads |
| Scale · Pro · Enterprise | from $300/mo | High volume & higher rate limits |
Frequently Asked Questions
/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./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./exchanges endpoint returns the trust score and trust score rank alongside 24h BTC-denominated volume, making it straightforward to compare venues objectively.Related Endpoints
Start Pulling Crypto Market Data
Get structured CoinGecko data in your workflows today — no API key juggling, no rate limit headaches.