CoinGecko API
coingecko.com
CoinGecko — live crypto prices, market data, OHLC charts, trending coins, exchange rankings, DeFi stats, derivatives, NFTs, and global market overview.
- Actions
- 14
- Category
- Finance
- Login
- Not required
- Output
- JSON
Call the CoinGecko API
Submit a task, then poll the job until it settles. This example runs cg_categories.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "cg_categories",
"params": {
"order": "<order>",
"limit": 10
}
}'14 actions on coingecko.com
Read
Categories
cg_categoriesread1 credit / callCrypto market categories with market cap, volume, and top coins.
- order
- string
- limit
- integer
Coin Details
cg_coin_detailsread1 credit / callFull details for a coin: description, sentiment, categories, market data with price changes across timeframes.
- coin_id
- string · required
Coin Markets
cg_coin_marketsread1 credit / callLive prices and market data for top coins or a specific list. Filter by category, sort by market cap or volume.
- vs_currency
- string
- ids
- string
- category
- string
- order
- string
- limit
- integer
- page
- integer
DeFi Global
cg_defi_globalread1 credit / callGlobal DeFi market stats: market cap, volume, dominance, top DeFi coin.
Derivatives
cg_derivativesread1 credit / callCrypto derivatives (futures/perpetuals): open interest, funding rates, basis, spreads.
- limit
- integer
Exchange Details
cg_exchange_detailsread1 credit / callDetailed info for an exchange: description, trust score, volume, social links.
- exchange_id
- string · required
Exchange Volume Chart
cg_exchange_volume_chartread1 credit / callHourly BTC volume history for an exchange over 1-365 days.
- exchange_id
- string · required
- days
- integer
Exchanges
cg_exchangesread1 credit / callTop crypto exchanges ranked by trust score and 24h BTC volume.
- limit
- integer
- page
- integer
Global Market
cg_global_marketread1 credit / callGlobal crypto market summary: total market cap, volume, BTC/ETH dominance, coin counts.
NFTs
cg_nftsread1 credit / callNFT collections list with platform and contract info.
- limit
- integer
- page
- integer
OHLC
cg_ohlcread1 credit / callOHLC candlestick price data for any coin over 1-365 days.
- coin_id
- string · required
- vs_currency
- string
- days
- string
Price History
cg_price_historyread1 credit / callHistorical price, market cap, and volume for any coin over 1-365 days or max.
- coin_id
- string · required
- vs_currency
- string
- days
- string
- interval
- string
Search
cg_searchread1 credit / callSearch for coins, exchanges, categories, and NFTs by keyword.
- query
- string · required
Trending
cg_trendingread1 credit / callTop trending coins, NFTs, and categories by search volume in the last 24 hours.
CoinGecko API questions
- Is there an API for CoinGecko?
- CoinGecko does not offer a public data API for this, but Anakin Wire provides 14 maintained endpoints for coingecko.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape CoinGecko data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when coingecko.com changes its markup, Anakin updates the action.
- Do I need a CoinGecko account?
- No. Every CoinGecko action listed here runs anonymously — no account and no credentials required.
- What does the CoinGecko API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Finance APIs
BIS (Bank for International Settlements)
BIS — central bank policy rates, credit-to-GDP gaps, debt service ratios, property prices, effective exchange rates, and CPI for 60+ countries.
BLS (Bureau of Labor Statistics)
BLS — official US labor market and price data: unemployment, CPI, payrolls, JOLTS, PPI, productivity, employment costs, and earnings.
CBOE
CBOE — VIX volatility indices (VIX, VIX9D, VIX3M, VIX6M, VVIX), SKEW tail risk index, oil/gold volatility, and VIX term structure.
CFTC
CFTC — weekly Commitment of Traders (COT) positioning data and Traders in Financial Futures (TFF) reports for futures markets including equities, commodities, FX, rates, and crypto.
ECB (European Central Bank)
ECB — official EUR exchange rates, ECB policy interest rates, euro area money supply (M1/M2/M3), and AAA government bond yield curves.
Economic Times
Economic Times — Indian market data and business news. Get top gainers/losers, all 25 NSE/BSE indices, stock search, high-volume screener, advance/decline ratios, forex rates, ET500 rankings, mutual fund categories, market status, full articles, and news search.