CoinGecko

Client-executable: 73

CoinGecko market data: prices, market caps, OHLC candles, exchanges, derivatives, treasuries, categories, NFTs, dominance and search.

Get a free key

Independent service, not affiliated with CoinGecko. CoinGecko is a trademark of its owner.

What you can get

First request

Example: GET /simple/price. Send your key in the X-Hub-Key header.

curl -sS -H "X-Hub-Key: $API_HUB_KEY" \
  "https://openapihub.dev/run/coingecko/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_change=true"

Response

The provider's JSON arrives unchanged in data. Abridged example; values change with the market.

{
  "source": "coingecko",
  "status": 200,
  "data": {
    "bitcoin": {"usd": 91420, "usd_24h_change": 2.41},
    "ethereum": {"usd": 3120.5, "usd_24h_change": 1.87}
  }
}

Limits and key

80 requests per second per key, bursts up to 160, 60 requests in flight. On 429, wait for Retry-After. Limits · Pricing · OpenAPI JSON

Get a free key in the Telegram bot: one key per account, issued in a few seconds.

Use cases

All endpoints

Charts
GET/data/etl2/price_charts/{coin_id}/{vs_currency}/{range}.json — Historical price and volume chart series from CoinGecko's chart CDN (supports 24_hours through max).
GET/data/etl2/market_cap/{coin_id}/{vs_currency}/{range}.json — Historical market cap and volume chart series for a coin from CoinGecko's chart CDN.
GET/web/etl2/ohlc/{coin_id}/series/{vs_currency}/{range}.json — Web OHLC candlestick and volume series for a coin (includes full max history).
GET/web/en/coins/{coin_id}/financials_chart_data — Protocol financial time series (fees, revenue and related on-chain metrics) for a DeFi token.
GET/web/etl2/global_charts/{vs_currency}/total_market_cap — Global total crypto market cap time series.
GET/web/etl2/global_charts/{vs_currency}/defi_market_cap — Global DeFi sector market cap time series.
GET/web/etl2/global_charts/{vs_currency}/stablecoin_market_cap — Global stablecoin supply and market cap breakdown time series.
GET/web/etl2/global_charts/{vs_currency}/altcoin_market_cap — Global altcoin (ex-BTC) market cap time series.
GET/web/etl2/stablecoin_charts/{vs_currency}/backing_mechanism — Stablecoin market cap history broken down by backing mechanism (fiat, crypto, algorithmic).
GET/web/etl2/stablecoin_charts/{vs_currency}/fiat_currency — Stablecoin market cap history broken down by pegged fiat currency.
Chat
GET/web/chat/trending_questions — Trending questions offered by the CoinGecko AI chat panel.
GET/web/chat/panel_state — Chat panel state for the current visitor (guest when anonymous).
Coins
GET/coins/{coin_id} — Full detail record for one coin, including market data.
GET/coins/{coin_id}/market_chart — Historical price, market cap and volume series; granularity is auto.
GET/coins/{coin_id}/ohlc — OHLC candles as [timestamp, open, high, low, close] rows.
GET/coins/{coin_id}/tickers — Exchange tickers for one coin, including volume and spread.
GET/coins/{id}/contract/{contract_address} — Full coin metadata and market data resolved by asset platform and token contract address.
GET/coins/{id}/contract/{contract_address}/market_chart — Historical price, market cap and volume series for a token contract address.
GET/coins/{id}/contract/{contract_address}/market_chart/range — Historical price, market cap and volume series for a token contract within a unix timestamp range.
GET/coins/{coin_id}/market_chart/range — Historical price, market cap and volume series for a coin within a unix timestamp range.
GET/coins/{coin_id}/history — Historical snapshot (price, market cap, volume) for a coin on a specific DD-MM-YYYY date.
Derivatives
GET/derivatives — Derivatives markets with open interest and volume.
GET/derivatives/exchanges — Derivatives exchanges ranked by open interest and 24h futures/perpetuals volume.
GET/derivatives/exchanges/{id} — Derivatives exchange metadata, open interest and optional contract tickers.
GET/derivatives/exchanges/list — Lightweight list of all derivatives exchange ids and names.
GET/data/etl2/price_charts/{coin_id}/derivatives.json — Historical open interest and funding rate series for a coin.
Dominance
GET/web/etl2/bitcoin_dominance/market_share_breakdown — Current market-share split between BTC, ETH, stablecoins and others.
GET/web/etl2/bitcoin_dominance/max — Full BTC dominance history as [timestamp_ms, percentage] points.
GET/web/global_charts/coin_dominance_data — Dominance series for one coin over a fixed window.
GET/web/etl2/bitcoin_dominance/{range} — BTC dominance series for a selected window (24_hours, 7_days, 30_days, 365_days).
Exchanges
GET/exchanges — Exchange list with volume, trust score and country.
GET/exchanges/list — Lightweight list of all exchange ids and display names.
GET/exchanges/{id} — Exchange detail including trust score, 24h BTC volume, coin/pair counts and top tickers.
GET/exchanges/{id}/tickers — Paginated market tickers for one exchange with spread, volume and trust score.
GET/exchanges/{id}/volume_chart — Historical exchange trading volume in BTC as [timestamp_ms, volume_btc_str] rows.
GET/web/etl2/exchange_charts/coins_listed — Historical count of coins listed across CEX and DEX venues.
GET/web/etl2/exchange_charts/derivatives_volume — Historical aggregate CEX vs DEX derivatives trading volume.
GET/web/etl2/exchange_charts/spot_volume — Historical aggregate CEX vs DEX spot trading volume.
Markets
GET/coins/markets — Ranked market rows with price, market cap, volume and change.
GET/coins/categories — Categories with market cap, volume and 24h change.
GET/global — Aggregate market cap, volume and dominance across all assets.
GET/global/decentralized_finance_defi — Global DeFi market cap, ETH market cap ratio, trading volume and top coin dominance.
GET/web/etl2/tree_map/heatmap — Treemap payload behind the crypto heatmap page.
GET/web/etl2/charts/categories/heatmap_data — Sector-level category treemap heatmap with market cap, volume and 24h change.
GET/web/etl2/charts/categories/market_cap_chart_data — Top category market cap time series over the selected duration.
GET/data/etl2/charts/categories/{category}/coins_heatmap_data — Per-category coin treemap heatmap cells with market cap, volume and change.
Movers
GET/web/coins/top_gainers_losers_price_percentage_change — Percentage-change slice backing the gainers and losers table.
NFT
GET/nfts/list — NFT collection list with floor price and volume.
GET/nfts/{id} — Detailed NFT collection metrics: floor price, market cap, volume, ATH, supply and holders.
GET/nfts/{asset_platform_id}/contract/{contract_address} — Detailed NFT collection metrics resolved by asset platform and collection contract address.
GET/web/en/charts/nft/nft-dominance-data — NFT collection market-share dominance time series.
GET/web/en/charts/nft/treemap-chart-data — NFT collection treemap data with market cap, floor price and percentage change.
Prices
GET/simple/price — Spot price, market cap and volume for one or more coin ids.
GET/simple/token_price/{id} — Spot price, market cap and 24h metrics for ERC-20/SPL token contracts on one asset platform.
GET/exchange_rates — BTC-to-currency exchange rates across supported fiat and crypto units.
GET/web/coins/price_percentage_change — 1h/24h/7d/30d/1y percentage change for numeric coin ids.
Reference
GET/simple/supported_vs_currencies — Every currency a price can be quoted in.
GET/coins/list — Full id, symbol and name map for every tracked asset.
GET/coins/categories/list — Category id and name map, without market data.
GET/asset_platforms — Issuing chain and asset-platform metadata.
GET/companies/public_treasury/{coin_id} — Public-company treasury holdings for one coin.
GET/token_lists/{asset_platform_id}/all.json — Uniswap-format token list for an asset platform with addresses, symbols, decimals and logos.
GET/entities/list — Publicly listed companies and government entities tracked for crypto treasury holdings.
GET/public_treasury/{entity_id} — Detailed crypto treasury holdings, valuation and mNAV metrics for one tracked entity.
GET/web/geckoterminal/token_is_valid — Whether a contract address resolves on a GeckoTerminal network.
Search
GET/search/trending — Coins trending on coingecko.com over the last 24 hours.
GET/search — Search across coins, exchanges, categories and NFT collections.
GET/web/en/search_v2 — Type-ahead search across coins, exchanges and categories.
GET/web/en/search_v2/trending_geckoterminal_pools — Trending GeckoTerminal pools shown in the search dropdown.
GET/web/price_charts/{coin_id}/compare/search — Coin autocomplete candidates for comparing price charts against a base coin.
Sentiment
GET/web/etl2/fear_and_greed_index/max — Fear and Greed Index history as [timestamp_ms, value] points.
Service
GET/ping — Liveness check for the v3 API surface.
GET/web/accounts/csrf_meta.json — CSRF token metadata required by state-changing web calls.