Build with Crypto’s Most Trusted & Comprehensive Data API
Get complete coverage of the crypto market delivered by CoinGecko API, the world’s largest independent crypto data authority since 2014.
所有加密货币市场数据仅需一个API
加密货币与代币
/coins/*
列出 CoinGecko 上所列货币和代币的实时与历史价格、市场数据和元数据,包括图片、描述、链接、社交统计数据和供应信息。
现实世界资产(RWA)
/rwas/*
获取代币化股票、大宗商品和 ETF 的市场数据,包括底层代币、发行方、交易场所和历史数据。
交易所
/exchanges/*
获取 CoinGecko 上中心化现货交易所的数据,包括行情、交易量和交易所元数据。
金融衍生品
/derivatives/*
获取 CoinGecko 上中心化衍生物交易所的数据,包括行情、交易量和交易所元数据。
链上去中心化交易所
/onchain/*
列出 GeckoTerminal 上所列区块链池与代币的实时与历史数据,包括价格、市值、交易量与流动性。
链上交易
/onchain/.../trades/*
从链上池和代币中获取或流式传输交易,包括交易哈希值、钱包地址、交易方向、交易规模和价值。
历史走势图
/coins/.../market_chart/*
列出长达 12 年历史的加密货币市场数据与价格图表,每 5 分钟一个数据。
柱线图 和 柱线体积图 图表
/ohlc/*
/ohlcv/*
用实时与历史性 OHLCV(开盘价、最高价、最低价、收盘价、成交量)数据,构建精准度高达亚秒的图表。
搜尋
/search/*
按名称、代码或合约地址在 CoinGecko 上搜索代币、类别和交易所,或在 GeckoTerminal 上搜索池和代币。
发现
/onchain/.../new_pools
/onchain/pools/megafilter
通过高级筛选获取 CoinGecko 上最新上架的代币,以及 GeckoTerminal 上最新上架的池和代币。
货币类别
/categories/*
列于 CoinGecko 与 GeckoTerminal 上货币与代币的所有类别,以及按类划分的市场数据。
公开储备
/public_treasury/*
列出上市公司及政府的加密资产储备数据,涵盖 BTC、ETH 及其他各类数字资产储备 (DAT) 及它们的现值。
NFT
/nfts/*
列于 CoinGecko 上不可替换代币藏品的实时与历史数据,包括底价、市场数据和和元数据。
热门
/onchain/.../trending_pools
/search/trending
获取 CoinGecko 上的热门代币,以及 GeckoTerminal 上的热门池。
链上持有人
/onchain/.../top_holders
获取 GeckoTerminal 上代币的顶级代币持有人和历史持币人趋势。
链上钱包
/onchain/wallets/*
获取任何钱包地址的代币余额、交易、PnL 和原始代币转账,以及跨多个网络的每项持仓的 USD 价值和流动性。
全球
/global/*
列出全球加密货币市场的数据,比如随时间变化的总市值、交易量和市场占有率。
Pricing
From hobbyist to large scale enterprise projects, we’ve got you covered with crypto data sourced by the world’s largest independent crypto data aggregator.
Testimonials
@coingecko is definitely the best – A Thread 🧵
If you wanna develop something cool in crypto, the CoinGecko API is a must-try! It's packed with information on almost every coin and token, plus chain data. And it's super easy to integrate.
This @coingecko's API is so underrated.
There's almost no limit to what you can build with it.
Frequently Asked Questions
-
Is CoinGecko API free?
- CoinGecko API offers both free and paid plans. The Demo API plan is accessible to all CoinGecko users for free, with a stable rate limit of 100 calls/min and a monthly cap of 10,000 calls. Paid plans start at $35/mo, with tiered plans offering a higher rate limit of up to 2,500 calls/min and a monthly cap of up to 15 million calls.
-
What is the CoinGecko API?
- CoinGecko API is a cryptocurrency data API for traders, developers, and projects, supplying real-time and historical crypto prices, market data, trading pairs, metadata, NFT collection floor prices and more through its RESTful or WebSocket API endpoints. Integrate CoinGecko API into your application or website to display accurate crypto prices and data. CoinGecko aggregates cryptocurrency price and market data across centralized and decentralized exchanges, providing reliable, comprehensive and accurate crypto price data trusted by millions worldwide. Learn more about our Methodology on how they calculate and evaluate metrics.
-
How do I connect to CoinGecko API?
- You can connect or call the API through its RESTful JSON or WebSocket API endpoints using HTTP requests. Select the relevant endpoints as listed in the API documentation for your query.
-
What are the rate limits for CoinGecko API?
- The CoinGecko Demo (free) API plan has a rate limit of 100 calls/min, while paid plans offer a higher rate limit of up to 300 to 2,500 calls/min. Get in touch with our Business Development team if you’d like to explore higher rate limits on a custom Enterprise plan.
-
What are the common use cases of CoinGecko API?
-
Traders, developers and projects commonly use CoinGecko API in their crypto web or mobile applications to show live crypto prices, market data, trading pairs and other metadata. These applications include (but are not limited to): wallets, exchanges , portfolio screeners and trackers, analytics & tools, trading or AI chat bots, and crypto accounting platforms.
Financial firms, professional traders and researchers rely on CoinGecko API to retrieve historical price data to conduct analyses and backtest trading strategies, track portfolio profit and loss, discover the latest trending coins and categories, and more. Check out our case studies! -
Can I get both live and historical crypto prices with CoinGecko API?
-
Yes, you can get both live and historical crypto prices with CoinGecko API.
For live prices, you can use endpoints like /simple/price or /coins/markets, which provide real-time data for specified cryptocurrencies.
For historical market data, you can use endpoints like /coins/{id}/market_chart or /coins/{id}/history. -
Can I access on-chain data from CoinGecko API?
-
Yes. You can access on-chain DEX data through more than 20 new endpoints on CoinGecko API. Key data sets include crypto liquidity pools, token data by contract address and OHLCV chart data.
This data is powered by GeckoTerminal, which monitors real-time crypto price, trading volume, transactions, liquidity and more, on over 1,700 DEXes across 360+ blockchain networks, including platforms like Uniswap, PancakeSwap, Orca, Curve, and Balancer. -
What are some examples of on-chain data provided by CoinGecko API?
-
Here are some examples of on-chain data:
- Price, volume, historical chart, and other market data of 48M+ tokens traded across 360+ blockchain networks, including Ethereum, Solana, TON, BNB Chain, and Base
- A list of all the pools that are trading a specific token
- OHLCV data (Open, High, Low, Close, Volume) of a pool to plot a candlestick chart
- A list of all the networks and DEXes supported by GeckoTerminal
- Discovery data such as new and trending tokens and pools
- Top token holders and onchain trades
-
Is CoinGecko API suitable for enterprise-scale businesses?
-
Absolutely. The CoinGecko API is battle-tested at scale and trusted by some of the largest names in the industry, including Consensys, Chainlink, Coinbase, Ledger, Etherscan, Kraken, and many more.
Our Enterprise tiers offer:- Exclusive endpoints and enriched data access
- Dedicated customer success manager
- Flexible, customised plans: rate limits, credits, API keys, optional licensing, white-labeling
- 99.9% uptime SLA, integration consultation, and priority 24×7 support
- Private Slack channels for real-time assistance and faster resolution