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.
Một API cho mọi dữ liệu từ thị trường tiền mã hóa
Tiền ảo & token
/coins/*
Nhận giá, dữ liệu thị trường và siêu dữ liệu theo thời gian thực và lịch sử cho các loại tiền ảo và token được niêm yết trên CoinGecko, bao gồm hình ảnh, mô tả, liên kết, số liệu thống kê xã hội và thông tin nguồn cung.
Toàn cầu
/global/*
Nhận dữ liệu thị trường tiền mã hóa toàn cầu như tổng vốn hóa thị trường, khối lượng và ưu thế theo thời gian.
Sàn giao dịch
/exchanges/*
Nhận dữ liệu về các sàn giao dịch giao ngay tập trung trên CoinGecko, bao gồm mã, khối lượng và siêu dữ liệu của sàn giao dịch.
Phái sinh
/derivatives/*
Nhận dữ liệu về các sàn giao dịch phái sinh tập trung trên CoinGecko, bao gồm mã, khối lượng và siêu dữ liệu của sàn giao dịch.
Sàn giao dịch phi tập trung trên Chuỗi
/onchain/*
Nhận dữ liệu lịch sử và theo thời gian thực cho các nhóm và token trên chuỗi được niêm yết trên GeckoTerminal, bao gồm giá, vốn hóa, khối lượng và thanh khoản.
Giao dịch trên chuỗi
/onchain/.../trades/*
Nhận hoặc truyền phát các giao dịch từ các nhóm và token trên chuỗi, bao gồm băm giao dịch, địa chỉ ví, hướng giao dịch, quy mô và giá trị giao dịch.
Biểu đồ lịch sử
/coins/.../market_chart/*
Nhận tối đa 12 năm dữ liệu lịch sử thị trường tiền mã hóa và biểu đồ giá, với chi tiết giảm xuống còn mỗi 5 phút.
Biểu đồ OHLC & OHLCV
/ohlc/*
/ohlcv/*
Nhận dữ liệu OHLCV (giá mở cửa, giá cao nhất, giá thấp nhất, giá đóng cửa, khối lượng giao dịch) theo thời gian thực và lịch sử để xây dựng biểu đồ hình nến, với chi tiết tối đa đến dưới một giây.
Tìm kiếm
/search/*
Tìm kiếm tiền ảo, danh mục và sàn giao dịch trên CoinGecko, hoặc bể và token trên GeckoTerminal, theo tên, ký hiệu hoặc địa chỉ hợp đồng.
Khám phá
/onchain/.../new_pools
/onchain/pools/megafilter
Nhận danh sách tiền ảo mới niêm yết trên CoinGecko, cùng các bể và token mới niêm yết trên GeckoTerminal, với tính năng lọc nâng cao.
Danh mục Tiền ảo
/categories/*
Nhận danh sách đầy đủ các danh mục tiền ảo và token trên CoinGecko và GeckoTerminal, cùng với dữ liệu thị trường theo danh mục.
Kho bạc nhà nước
/public_treasury/*
Nhận dữ liệu về kho bạc tiền mã hóa của công ty đại chúng và chính phủ, bao gồm BTC, ETH và một loạt các kho bạc tài sản kỹ thuật số khác (DAT) với các định giá hiện tại của chúng.
NFT
/nfts/*
Nhận dữ liệu theo thời gian thực và lịch sử của bộ sưu tập NFT được đăng tải trên CoinGecko, bao gồm giá sàn, dữ liệu thị trường và siêu dữ liệu.
Thịnh hành
/onchain/.../trending_pools
/search/trending
Nhận các đồng tiền ảo theo xu thế trên CoinGecko và các bể theo xu thế trên GeckoTerminal.
Chủ sở hữu trên chuỗi
/onchain/.../top_holders
Nhận danh sách các chủ sở hữu token hàng đầu và xu hướng chủ sở hữu trong lịch sử đối với các token trên GeckoTerminal.
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 220+ 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 46M+ tokens traded across 220+ 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