Skip to Content

CoinGecko Data Parser & API

CoinGecko is the largest independent cryptocurrency data aggregator, tracking prices, market cap, volume and supply for 17,000+ coins across 1,000+ exchanges, and StockAPIS extracts its market data — live prices, market cap, OHLCV history, supply figures and trending coins — through a single REST API. CoinGecko offers an official public REST API, and StockAPIS normalizes it to the same schema you use for every other source, so you query CoinGecko, exchanges and on-chain feeds the same way without maintaining separate integrations.

TypeCrypto market data API
HQSingapore
OwnerGecko Labs Pte. Ltd.
Asset classesCrypto spot prices, Market cap & volume, OHLCV history, Exchanges & tickers, NFT data
Coverage17,000+ coins across 1,000+ exchanges
Scale#1 independent crypto data aggregator by reach
API accessOfficial API
Parse priority★★★★★
Official sitewww.coingecko.com

Platform Overview

Market Position

  • The #1 independent crypto data aggregator, valued for breadth over any single exchange’s view
  • Tracks 17,000+ cryptocurrencies and tokens across more than 1,000 centralized and decentralized exchanges
  • Aggregated, exchange-weighted pricing makes it a reference for fair-value and market-cap data
  • Official public REST API (free and paid tiers), complemented by StockAPIS’s unified normalization

Data Coverage

StockAPIS exposes the full CoinGecko data surface:

  • Market data — real-time prices, market cap, market-cap rank, 24h volume and percentage changes per coin
  • Supply data — circulating, total and max supply, plus all-time high (ATH) and all-time low (ATL) with dates
  • Historical / OHLCV — candlestick and market-chart data over customizable timeframes for backtesting and analysis
  • Exchanges & tickers — exchange listings, trading pairs, per-venue volume and liquidity
  • Trending & global — trending coins, top gainers/losers, global market cap and BTC/ETH dominance
  • NFT data — collection floor prices and trading volume

Quick Start

import stockapis client = stockapis.Client(api_key="your-api-key") # Aggregated market data for a coin btc = client.coingecko.get_market_data(asset="bitcoin", vs_currency="usd") print(f"Bitcoin: ${btc['current_price']:,.2f} · rank #{btc['market_cap_rank']}")
const { StockAPIS } = require("stockapis"); const client = new StockAPIS({ apiKey: "your-api-key" }); // Market data for the top coins by market cap const coins = await client.coingecko.getMarketData({ ids: "bitcoin,ethereum,solana", vsCurrency: "usd", order: "market_cap_desc", }); console.log(coins[0].current_price, coins[0].market_cap);

Sample API Response

{ "success": true, "data": [ { "id": "bitcoin", "symbol": "btc", "name": "Bitcoin", "current_price": 43250.10, "market_cap": 850000000000, "market_cap_rank": 1, "total_volume": 25000000000, "high_24h": 43500.00, "low_24h": 42800.00, "price_change_percentage_24h": 2.98, "circulating_supply": 19600000, "total_supply": 19600000, "max_supply": 21000000, "ath": 69000.00, "ath_date": "2021-11-10T14:24:11.849Z", "atl": 67.81, "atl_date": "2013-07-06T00:00:00.000Z", "last_updated": "2024-01-15T10:30:00.000Z" } ], "metadata": { "source": "coingecko", "timestamp": "2024-01-15T10:30:00.000Z" } }

Use Cases

  • Portfolio valuation — aggregated, exchange-weighted prices and market caps for accurate marks across thousands of assets
  • Market research & screening — rank, filter and screen 17,000+ coins by market cap, volume and momentum
  • Quant & backtesting — historical OHLCV and market-chart data for strategy development and signal research
  • Dashboards & analytics — trending coins, global dominance and supply metrics for product and reporting feeds

Frequently Asked Questions

Does CoinGecko have an official API? Yes — CoinGecko provides an official public REST API with free and paid tiers. StockAPIS wraps it in a unified schema so CoinGecko data matches every other source you pull.

What data can I get from CoinGecko through StockAPIS? Live prices, market cap and rank, 24h volume and changes, circulating/total/max supply, ATH/ATL, OHLCV history, exchange tickers, trending coins and global metrics across 17,000+ assets.

Is CoinGecko data aggregated across exchanges? Yes — CoinGecko aggregates prices and volume from 1,000+ exchanges into a single exchange-weighted view, which is why it is a common reference for fair-value pricing and market cap.

Last updated on