CoinGecko API
coingecko.com
Crypto prices, charts, trending coins, exchange rankings, DeFi stats, and 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 / callReturns crypto market categories with market cap, volume, and top coins.
- order
- string
- limit
- integer
Coin Details
cg_coin_detailsread1 credit / callReturns full coin details including description, sentiment, categories, and market data across timeframes.
- coin_id
- string · required
Coin Markets
cg_coin_marketsread1 credit / callReturns live prices and market data for top coins or a specific list, with filtering and sorting.
- vs_currency
- string
- ids
- string
- category
- string
- order
- string
- limit
- integer
- page
- integer
DeFi Global
cg_defi_globalread1 credit / callReturns global DeFi market stats including market cap, volume, dominance, and top DeFi coin.
Derivatives
cg_derivativesread3 credits / callReturns crypto derivatives data including open interest, funding rates, basis, and spreads.
- limit
- integer
Exchange Details
cg_exchange_detailsread1 credit / callReturns detailed exchange info including description, trust score, volume, and social links.
- exchange_id
- string · required
Exchanges
cg_exchangesread1 credit / callReturns top crypto exchanges ranked by trust score and 24h BTC volume.
- limit
- integer
- page
- integer
Exchange Volume Chart
cg_exchange_volume_chartread1 credit / callReturns hourly BTC volume history for an exchange over 1 to 365 days.
- exchange_id
- string · required
- days
- integer
Global Market
cg_global_marketread1 credit / callReturns a global crypto market summary including total market cap, volume, dominance, and coin counts.
NFTs
cg_nftsread1 credit / callReturns an NFT collections list with platform and contract info.
- limit
- integer
- page
- integer
OHLC
cg_ohlcread1 credit / callReturns OHLC candlestick price data for any coin over 1 to 365 days.
- coin_id
- string · required
- vs_currency
- string
- days
- string
Price History
cg_price_historyread1 credit / callReturns historical price, market cap, and volume for any coin over 1 to 365 days or max.
- coin_id
- string · required
- vs_currency
- string
- days
- string
- interval
- string
Search
cg_searchread1 credit / callReturns matching coins, exchanges, categories, and NFTs for a keyword.
- query
- string · required
Trending
cg_trendingread1 credit / callReturns top 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
AAII (American Association of Individual Investors)
Individual investors association - stock screener, sentiment surveys, ETF data, and research.
Affirm
Affirm partner directory - store listings, merchant guides, and merchant detail APIs.
Alphavantage.Co
Alpha Vantage public market data APIs for stock quotes, intraday and daily time series, fundamentals, FX, crypto, and technical indicators.
AnnualReports
Public-company profiles and annual reports - by exchange or industry, with filing links.
Artemis
Blockchain metrics dashboards - chain comparisons, active-user trends, and price time-series.
Asian Development Bank
Asian Development Bank data portal - publications, project documents, economic indicators, and financing datasets.