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 รวมถึงรูปภาพ คำอธิบาย ลิงก์ สถิติโซเชียล และข้อมูลการจัดหา
ทั่วโลก
/global/*
รับข้อมูลตลาดสกุลเงินคริปโตทั่วโลก เช่น มูลค่าตลาดรวม ปริมาณ และการครองส่วนแบ่งในตลาดตามช่วงเวลา
การแลกเปลี่ยนและอนุพันธ์
/exchanges/*
/derivatives/*
รับข้อมูลสำหรับการแลกเปลี่ยนแบบสปอตและอนุพันธ์จากส่วนกลางบน CoinGecko รวมถึงรายงานการซื้อขายในตลาด (คู่การซื้อขาย) ปริมาณ ข้อมูลตลาด และข้อมูลเมตาการแลกเปลี่ยน
การแลกเปลี่ยนแบบกระจายอำนาจแบบออนเชน
/onchain/*
รับข้อมูลแบบเรียลไทม์และประวัติสำหรับพูลและโทเค็นบนบล็อกเชนที่ระบุไว้ใน GeckoTerminal รวมถึงราคา มูลค่าตลาด ปริมาณ และสภาพคล่อง
การซื้อขายออน-เชน
/onchain/.../trades/*
รับหรือสตรีมการซื้อขายกองทุนออนเชนและโทเค็น รวมถึงแฮชธุรกรรม ที่อยู่วอลเล็ท ทิศทางการค้า ขนาดและมูลค่าการซื้อขาย
กราฟประวัติ
/coins/.../market_chart/*
รับข้อมูลตลาดคริปโตและกราฟราคาสูงสุด 12 ปี โดยมีความละเอียดลงทุก ๆ 5 นาที
กราฟ OHLC และ OHLCV
/ohlc/*
/ohlcv/*
รับข้อมูล OHLCV แบบเรียลไทม์และย้อนหลัง (เปิด สูง ต่ำ ปิด ปริมาณ) สำหรับการสร้างกราฟแท่งเทียน โดยมีความละเอียดสูงสุดถึงวินาที
ค้นหาและการค้นพบ
/search/*
รับข้อมูลการค้นพบตลาด เช่น เหรียญที่ซึ่งเป็นที่นิยม ผู้ได้กำไรและผู้ขาดทุนอันดับต้น ๆ กลุ่มและโทเค็นใหม่ และค้นหาเหรียญ หมวดหมู่ และการแลกเปลี่ยนตามชื่อ สัญลักษณ์ หรือที่อยู่สัญญา
หมวดหมู่เหรียญ
/categories/*
รับรายการหมวดหมู่เหรียญและโทเค็นทั้งหมดทั่วทั้ง CoinGecko และ GeckoTerminal พร้อมกับข้อมูลตลาดระดับหมวดหมู่
คลังสินทรัพย์สาธารณะ
/public_treasury/*
รับข้อมูลเกี่ยวกับคลังสินทรัพย์คริปโตของบริษัทมหาชนและรัฐบาล ครอบคลุม BTC, ETH และคลังสินทรัพย์ดิจิทัล (DAT) อื่น ๆ ที่หลากหลายตามมูลค่าปัจจุบัน
NFT
/nfts/*
รับข้อมูลการรวบรวม NFT แบบเรียลไทม์และย้อนหลังที่แสดงอยู่บน CoinGecko รวมถึงราคาขั้นต่ำ ข้อมูลตลาด และข้อมูลเมตา
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 200+ 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 40M+ tokens traded across 200+ 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