- 将 00-元技能、01-AI工具、02-数据库、03-加密货币、04-开发工具、05-生产力 下的技能移至 skills/ 根目录 - 更新 skills/README.md 使用表格进行说明性分类 - 更新 AGENTS.md 目录结构说明
477 KiB
Changelog
Source: https://docs.coingecko.com/changelog
Product updates and announcements
export const GreenSeparator = () => (
🗓️ October 23, 2025
CoinGecko Websocket (Beta) is now available for paid plan customers (Analyst plan & above)!
For Analyst, Lite, Pro, and Pro+ self-serve customers, you are now eligible to access the following Websocket features, and stream real-time data by utilising your monthly API plan credits:
- Max connections: 10 concurrent socket connections
- Max subscriptions: 100 token or pool data subscription per channel, per socket
- Channel Access: all 4 channels
- Credit charge: 0.1 credit per response returned, deducting from monthly API plan credits
Please visit Websocket for full details, and test out Websocket data streaming. We will gradually improve the Websocket and expand the feature limits. Please share your feedback and suggestion via this survey form, or email soonaik@coingecko[dot]com .
Notice: Temporary Disruption on MagicEden data for NFT Endpoints
Due to recent updates to MagicEden's API, we are updating our integration. During this period, endpoints for NFT data may be temporarily unavailable or return incomplete information.
More Bonding Curve Support and New Ascending Sort for Megafilter
🗓️ October 4, 2025
Now supported Bonding Curve (non-graduated) Data for More Endpoints
We've added support for bonding curve (e.g. launchpad graduation from PumpFun) data across multiple token endpoints:
- Token Data by Token Address —
/onchain/networks/{network}/tokens/{address} - Tokens Data by Token Addresses —
/onchain/networks/{network}/tokens/multi/{addresses} - Token Info by Token Address —
/onchain/networks/{network}/tokens/{address}/info - Pool Tokens Info by Pool Address —
/onchain/networks/{network}/pools/{pool_address}/info
"launchpad_details": {
"graduation_percentage": 2.16,
"completed": false,
"completed_at": null,
"migrated_destination_pool_address": null
}
Megafilter: Ascending Sort Order for Price Change %
The Megafilter for Pools endpoint now supports ascending sorting for price change percentage:
m5_price_change_percentage_asch1_price_change_percentage_asch6_price_change_percentage_asch24_price_change_percentage_asc
Token OHLCV Endpoint Fix to respect Specified Token Address
We've fixed an issue where the Token OHLCV chart by Token Address endpoint returned data for the base token of the top pool instead of the requested token. It will now always return data for the specified token address.
## SDK Gains Public Treasury Coverage, MCP Adds Exchanges, NFTs, and ISO Support🗓️ September 25, 2025
Expanded SDK Coverage for Public Treasuries
We're broadening our SDK coverage to make treasury-level insights more powerful and easier to access. Check out what's new below (with functions from our TypeScript SDK)
publicTreasury.getCoinID(coinID, { ...params })
to query public companies & governments' cryptocurrency holdings by Coin IDpublicTreasury.getEntityID(entityID)
to query public companies & governments' cryptocurrency holdings by Entity IDentities.getList({ ...params })
to query all the supported entities on CoinGecko with entities ID, name, symbol, and country
New MCP Tools: Exchanges, NFTs & Multi-Address Queries
We're also surfacing new tools through the MCP to give developers a richer, faster way to query exchanges, NFTs, and onchain activity.
- New tools:
- Exchange coverage with /exchanges/list, /exchanges/, /exchanges//tickers, and /exchanges//volume_chart/range
- NFT markets with /nfts/markets
- Multi-address queries with /onchain/networks//pools/multi/ and /onchain/networks//tokens/multi/
- Retired tools:
- We've removed endpoints such as /coins/list, /onchain/networks/trending_pools, and single-address pool/token queries in favor of more scalable multi-address endpoints
Friendlier Time-related MCP Queries with ISO Support
Time-based queries just got easier. MCP tools now accept ISO date strings (YYYY-MM-DD or YYYY-MM-DDTHH:MM) alongside UNIX timestamps.
For example, when using the Coin Historical Chart Data within Time Range tool, you can now pass ISO date strings directly instead of converting them into UNIX timestamps for your LLM tools.
CoinGecko API Team
New Crypto Treasury Endpoints and Improvements
🗓️ September 19, 2025
-
Crypto Treasury Holdings by Coin ID endpoint now supports governments and more coins data as seen on https://www.coingecko.com/en/treasuries/bitcoin
-
New endpoints:
-
Derivatives Exchange Data by ID endpoint now supports
coin_idandtarget_coin_idto identify coins of ticker pairs."tickers": [ { "symbol": "ASTERUSDT", "base": "ASTER", "target": "USDT", "coin_id": "aster-2", 👈 NEW "target_coin_id": "tether" 👈 NEW } ]
Multiple Improvements: Bonding Curve Data, Pooled Token Balance, and More.
🗓️ September 12, 2025
🚀 Now Supporting Bonding Curve Data
Bonding curve data (launchpad graduation) is now supported for the followiing endpoints:
Payload example:
"launchpad_details": {
"graduation_percentage": 100,
"completed": true,
"completed_at": "2024-04-08T16:52:35Z",
"migrated_destination_pool_address": "5wNu5QhdpRGrL37ffcd6TMMqZugQgxwafgz477rShtHy"
}
More endpoints to support bonding curve data soon.
🚀 Now Supporting Pooled Token Balance Data
The following endpoints now support additional pool token balance data by flagging this parameter include_composition=true :
- Specific Pool Data by Pool Address
- Multiple Pools Data by Pool Addresses
- Token Data by Token Address (requires
include=top_poolsparameter to be flagged together) - Tokens Data by Token Addresses (requires
include=top_poolsparameter to be flagged together)
Payload example:
"base_token_balance": "11700.98",
"base_token_liquidity_usd": "29630000",
"quote_token_balance": "66384614.21",
"quote_token_liquidity_usd": "66330000",
🚀 Other improvements
- Onchain Megafilter endpoint now supports more
sortoptions:m5_price_change_percentage_desch1_price_change_percentage_desch6_price_change_percentage_descfdv_usd_ascfdv_usd_descreserve_in_usd_ascreserve_in_usd_desc
- Top Gainers & Losers endpoint now supports additional price change percentage data by flagging
price_change_percentageparameter. The available options are:1h,24h,7d,14d,30d,60d,200d,1y.-
Payload example:
"usd_1y_change": 21740.8866287307, "usd_1h_change": -0.279590756868549, "usd_24h_change": 3.13876587906131, "usd_7d_change": -9.67782096261206, "usd_14d_change": -3.39755498745517, "usd_30d_change": -13.7768698159765, "usd_60d_change": 29.9096824213076, "usd_200d_change": 2282.33681679488
-
- Exchange Tickers by ID endpoint now supports to sort tickers based on market cap, by flagging the
orderparameter.- Available options:
market_cap_desc,market_cap_asc
- Available options:
🗓️ August 18, 2025
[Changes below are applicable to all paid plan subscribers.]
Dear CoinGecko API paid plan subscribers,
We're excited to announce an improvement to our API, aimed at providing you with even faster access to real-time data! Starting 02:00 UTC, September 2, 2025, the edge cache duration for the following endpoints will be reduced from **30s **to 10s, allowing you to retrieve updated data more frequently.
| Endpoints | Effective Date & Time | Current Update Frequency | New Update Frequency |
|---|---|---|---|
| Token Price by Token Addresses | Tuesday, 02:00 UTC, September 2, 2025 | 30s | 10s |
| Token Data by Token Address | Tuesday, 02:00 UTC, September 2, 2025 | 30s | 10s |
| Tokens Data by Token Addresses | Tuesday, 02:00 UTC, September 2, 2025 | 30s | 10s |
| Specific Pool Data by Pool Address | Wednesday, 02:00 UTC, September 3, 2025 | 30s | 10s |
| Multiple Pools Data by Pool Addresses | Wednesday, 02:00 UTC, September 3, 2025 | 30s | 10s |
| Pool OHLCV chart by Pool Address | Thursday, 02:00 UTC, September 4, 2025 | 30s | 10s |
| Token OHLCV chart by Token Address | Thursday, 02:00 UTC, September 4, 2025 | 30s | 10s |
| Past 24 Hour Trades by Pool Address | Thursday, 02:00 UTC, September 4, 2025 | 30s | 10s |
| Past 24 Hour Trades by Token Address | Thursday, 02:00 UTC, September 4, 2025 | 30s | 10s |
What This Means for You:
- Fresher Data, Quicker: With a reduced cache time, you'll now have the option to access more up-to-date data, closer to real-time!
- No Extra Credits for Cached Data: If your request hits the cache (now updated every 10 seconds for endpoints above), there will be no additional credits charged - just like before.
Things to Keep in Mind:
- If your request hits our origin server instead of the cache to retrieve the latest data, there may be additional credits used.
- To balance cost and real-time data needs, we recommend reviewing your request frequency. For those who prefer to obtain data without extra credits, consider keeping your request interval at 30 seconds or more to align with the new cache duration.
We're committed to continuously improving your experience and ensuring you get the data you need, as efficiently as possible. If you have any questions or need assistance, feel free to reach out to soonaik@coingecko.com .
CoinGecko API Team
Now Supported: Launchpad Data (Pump.fun & More), Granular OHLCV, and Honeypot Info
🗓️ August 05, 2025
We're excited to announce a major update to our on-chain API endpoints! This release introduces support for popular token launchpads, adds high-frequency OHLCV data, and enhances our honeypot detection capabilities to give you deeper and more timely on-chain insights.
🚀 Now Supporting Launchpad Data (Pump.fun & More!)
In addition to the 1,600+ DEXes already integrated with GeckoTerminal.com, you can now track token data from popular launchpad platforms directly through the CoinGecko API. More launchpads will be supported soon!
New Supported Launchpads:
| Launchpad | network id (API) | dex id (API) |
|---|---|---|
| Meteora DBC | solana | meteora-dbc |
| Pump.fun | solana | pump-fun |
| Raydium Launchpad (LetsBonkFun) | solana | raydium-launchlab |
| Boop.fun | solana | boop-fun |
| Virtuals (Base) | base | virtuals-base |
Improved endpoints to track launchpad data:
- Token Data by Token Address
- Tokens Data by Token Addresses
- Specific Pool Data by Pool Address
- Multiple Pools Data by Pool Addresses
More launchpad-specific data will be supported soon for the endpoints above!
Tips: use megafilter endpoint to retrieve latest launchpad data, by flagging sort=pool_created_at_desc
Request example (Get latest pools on Pump.fun):
https://pro-api.coingecko.com/api/v3/onchain/pools/megafilter?page=1&networks=solana&dexes=pump-fun&sort=pool_created_at_desc&x_cg_pro_api_key=YOUR_KEY
[Pro-API Exclusive] More Granular OHLCV Data
On-chain OHLCV endpoints now support higher frequency intervals, down to 1-second granularity.
| Timeframe | Aggregate (Before) | Aggregate (New) |
|---|---|---|
| day | 1 | 1 |
| hour | 1, 4, 12 | 1, 4, 12 |
| minute | 1, 5, 15 | 1, 5, 15 |
| second | n/a | 1, 15, 30 |
Improved Endpoints:
New interval supported:
- 1s
- 15s
- 30s
Example Request (Get the last 100 1-second intervals for a pool on Ethereum):
https://pro-api.coingecko.com/api/v3/onchain/networks/eth/pools/0x06da0fd433c1a5d7a4faa01111c044910a184553/ohlcv/second?aggregate=1&limit=100&include_empty_intervals=false&x_cg_pro_api_key=YOUR_KEY
🍯 Enhanced Honeypot Information
We've expanded our honeypot detection features to provide more comprehensive risk assessment. You can now check if a token is a potential honeypot using the main info endpoints.
Improved Endpoints:
Example Payload:
{
"mint_authority": null,
"freeze_authority": null,
"is_honeypot": true // possible values: true / false / unknown
}
[Pro-API Exclusive] New Filtering Option in Megafilter
Previously, thePools Megafilter endpoint could only show tokens confirmed as not a honeypot (checks=no_honeypot). Now, you can also include tokens where the honeypot status is 'unknown'.
- To use this, set
include_unknown_honeypot_tokens=true. - Important: This parameter only takes effect when
checks=no_honeypotis also specified in the request.
Example Request (Get trending pools that are not confirmed honeypots, including those with an unknown status):
https://pro-api.coingecko.com/api/v3/onchain/pools/megafilter?page=1&sort=h6_trending&checks=no_honeypot&include_unknown_honeypot_tokens=true&x_cg_pro_api_key=YOUR_KEY
📈 Expanded Pool Data
Endpoint: Pool Tokens Info by Pool Address
By adding include=pool to your request on the pool tokens endpoint, you can now retrieve additional context about the pool itself.
- Base and quote token address
- Sentiment vote percentage (positive and negative)
- Community suspicious reports count
Payload Example:
"included": [
{
"id": "eth_0x06da0fd433c1a5d7a4faa01111c044910a184553",
"type": "pool",
"attributes": {
"base_token_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"quote_token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"sentiment_vote_positive_percentage": 100,
"sentiment_vote_negative_percentage": 0,
"community_sus_report": 0
}
}
]
🗓️ June 19, 2025
We're excited to announce that you can now obtain real-time and historical price & market data for tokens listed on CoinGecko.com, with the option to return data value in SOL (Solana) currency.
Note: for dates prior to May 2025, 'SOL' historical data is limited to hourly and daily granularity
Improved endpoints:
- Coin Price by IDs
- Coin Price by Token Addresses
- Supported Currencies List
- Top Gainers & Losers
- Coins List with Market Data
- Coin Data by ID
- Coin Historical Data by ID
- Coin Historical Chart Data by ID
- Coin Historical Chart Data within Time Range by ID
- Coin OHLC Chart by ID
- Coin OHLC Chart within Time Range by ID
- Coin Data by Token Address
- Coin Historical Chart Data by Token Address
- Coin Historical Chart Data within Time Range by Token Address
- Trending Search List
- Crypto Global Market Data
Example: price of Bitcoin in Solana, using Coin Price by IDs endpoint.
{
"bitcoin": {
"sol": 720.21
}
}
Example: historical daily price, market cap and volume of Trump in Solana, using Coin Historical Chart Data by ID endpoint.
{
"prices": [
[
1750118400000,
0.0640701365814472
],
[
1750204800000,
0.0644263929356261
],
[
1750291200000,
0.0639713357587322
],
[
1750326151000,
0.06415963364804504
]
],
"market_caps": [
[
1750118400000,
12843589.584485611
],
[
1750204800000,
12882547.839086628
],
[
1750291200000,
12793790.726102708
],
[
1750326151000,
12826247.390733324
]
],
"total_volumes": [
[
1750118400000,
2425793.780846796
],
[
1750204800000,
2055697.9106767387
],
[
1750291200000,
1871087.4334618242
],
[
1750326151000,
2008278.189223005
]
]
}
New Endpoints & Improvements: Historical Token Holders Chart, OHLCV by Token Address, Multi-pool Token Data Support
🗓️ June 09, 2025
[Pro-API Exclusive] New Endpoint - Historical Token Holders Chart by Token Address
This new endpoint allows you to get the historical token holders chart based on the provided token contract address on a network.
- Supported chains include: Solana, EVM (Ethereum, Polygon, BNB, Arbitrum, Optimism, Base), Sui, TON, and Ronin.
Check it out now: Historical Token Holders Chart by Token Address
[Pro-API Exclusive] New Endpoint - Token OHLCV chart by Token Address
This endpoint allows you to get the OHLCV chart (Open, High, Low, Close, Volume) of a token based on the provided token address on a network.
- This endpoint will return OHLCV data of the most liquid pool of the specified token. You may use this endpoint Top Pools by Token Address to check the top pools of a token.
Check it out now: Token OHLCV chart by Token Address
Improved Endpoints - Support Multi-pool Token Data
Previously, we only surfaced 1 quote token for pools with more than 2 tokens. With this new improvements, for pools that have 2 or more tokens:
- Extra quote tokens being listed under a new key
relationships.quote_tokens - If
include=quote_tokenis flagged, the extra quote tokens will be also listed underincluded
"relationships": {
"base_token": {
"data": {
"id": "eth_0x40d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2f",
"type": "token"
}
},
"quote_token": {
"data": {
"id": "eth_0x8353157092ed8be69a9df8f95af097bbf33cb2af",
"type": "token"
}
},
"quote_tokens": {
"data": [
{
"id": "eth_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"type": "token"
},
{
"id": "eth_0xdac17f958d2ee523a2206206994597c13d831ec7",
"type": "token"
}
This improvement is applicable to all onchain pool endpoints that support relationships.quote_token, including but not limited to:
- Top Pools by Token Address
- Search Pools
- Megafilter for Pools
- Trending Pools List
- Specific Pool Data by Pool Address
- Top Pools by Network
- New Pools List
🗓️ May 30, 2025
Notice: Upcoming Change to CoinGecko API Endpoints - Removal ofnormalized_volume_btc Data
Effective Date: 16 June 2025
Affected Endpoints:
Details of the Change:
Please be advised that the normalized_volume_btc data point will be removed from the above-listed API endpoints, effective 16 June 2025. This change is being implemented due to significant recent change to a 3rd party data source provider, which have fundamentally altered how this specific data can be accessed.
Example of Affected Data Structure:
{
"trade_volume_24h_btc_normalized": 47765.5886637453
},
After the effective date, the trade_volume_24h_btc_normalized field will no longer be present in the API responses for these endpoints.
Action Required:
If your applications or integrations currently rely on the trade_volume_24h_btc_normalized data from these CoinGecko API endpoints, please make the necessary adjustments to your code before 16 June 2025 to avoid potential errors or data discrepancies.
New Endpoint & Improvements: On-Chain Trades, Net Buy Volume, and More
🗓️ May 29, 2025
[Pro-API Exclusive] New Endpoint - On-chain Trades by Token Address
Previously, the Past 24 Hour Trades by Pool Address endpoint allows you to retrieve the last 300 trades of a specific pool only.
With this new endpoint Past 24 Hour Trades by Token Address, you can now retrieve the last 300 trades across different pools, based on the provided token contract address on a network.
Improved Endpoints - Support Net Buy Volume Data
The following endpoints now support more volume breakdown data:
By flagging include_volume_breakdown=true , you can surface the following data:
- net_buy_volume_usd
- buy_volume_usd
- sell_volume_usd
Sample Response:
{
"data": {
"id": "eth_0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640",
"type": "pool",
"attributes": {
...
},
"net_buy_volume_usd": {
"m5": "-40796.577553965",
"m15": "-69765.771189161",
"m30": "-88014.095440243",
"h1": "0.000000000000",
"h6": "1884879.921855301",
"h24": "17555422.243003801"
},
"buy_volume_usd": {
"m5": "30597.433165473",
"m15": "139531.542378324",
"m30": "396063.429481099",
"h1": "969922.728762430",
"h6": "10366839.570204150",
"h24": "52666266.729011402"
},
"sell_volume_usd": {
"m5": "71394.010719438",
"m15": "209297.313567485",
"m30": "484077.524921342",
"h1": "969922.728762430",
"h6": "8481959.648348849",
"h24": "35110844.486007601"
},
Improved Endpoint - On-Chain OHLCV endpoint
Pool OHLCV chart by Pool Address endpoint now supports to include empty intervals by flagging include_empty_intervals=true .
- By default, specific timeframe intervals (e.g. minutely) with no recorded swaps are excluded (or skipped) from the response.
- This new parameter option provides the flexibility to get padded data, when there's no trade data.
Sample Response:
{
"data": {
"id": "81da0682-1c4f-445a-9bed-9b5454004df5",
"type": "ohlcv_request_response",
"attributes": {
"ohlcv_list": [
[
1744712700,
0.000212149802253853,
0.000212173305907688,
0.000212149802253853,
0.000212173305907688,
46.48164903882
],
[
1744712400,
0.000212149802253853, 👈 O — Follow previous Close value
0.000212149802253853, 👈 H — Follow previous Close value
0.000212149802253853, 👈 L — Follow previous Close value
0.000212149802253853, 👈 C — Follow previous Close value
0.0 👈 V — Set to zero
],
[
1744712100,
0.000210532522666822,
0.000212149802253853,
0.000210532522666822,
0.000212149802253853, 👈 Previous Close value
46.4765
],
...
}
Improved Endpoints - Support Large Images
The following endpoints now support more size options for coin logo image:
Sample Response:
"data": {
"id": "eth_0xdac17f958d2ee523a2206206994597c13d831ec7",
"type": "token",
"attributes": {
...
"image_url": "https://assets.coingecko.com/coins/images/325/small/Tether.png?1696501661",
"image": {
"thumb": "https://assets.coingecko.com/coins/images/325/thumb/Tether.png?1696501661",
"small": "https://assets.coingecko.com/coins/images/325/small/Tether.png?1696501661",
"large": "https://assets.coingecko.com/coins/images/325/large/Tether.png?1696501661"
},
Improved Endpoints - Support Normalized Supply Data
The following endpoints now support normalized_total_supply:
Sample Response:
"decimals": 6,
"total_supply": "49999156520373530.0",
"normalized_total_supply": "49999156520.37353",
Improved Endpoints - Support Pool 'Name' and 'Fee' Data
The following endpoints now support pool_name and pool_fee:
Sample Response:
"name": "WETH / USDC 0.05%",
"pool_name": "WETH / USDC",
"pool_fee_percentage": "0.05",
Improved Endpoints - Support Symbols of DEX Pairs
The following endpoints now allow to flag dex_pair_format=symbol to return DEX pair symbols instead of contract address.
Sample Response:
// before
{
"base": "0X8FC8F8269EBCA376D046CE292DC7EAC40C8D358A",
"target": "0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48",
"market": {
"name": "Uniswap V2 (Ethereum)",
"identifier": "uniswap_v2",
...
}
// now when "dex_pair_format=symbol" is flagged
{
"base": "DFI",
"target": "USDC",
"market": {
"name": "Uniswap V2 (Ethereum)",
"identifier": "uniswap_v2",
...
}
🗓️ April 25, 2025
[Pro-API Exclusive] New Endpoint - On-chain Trending Search Data
With this new endpoint Trending Search Pools, you can now retrieve the on-chain trending search pools and tokens data, as seen on GeckoTerminal.com .
By default, this endpoint returns the top 4 trending pools data, you may specify the pools parameter to retrieve up to top 10 pools data.
Tips: you may flag include=base_token to retrieve the trending tokens data.
Note: this exclusive endpoint is available for our API paid plan subscribers (Analyst plan & above).
[Pro-API Exclusive] Improved Endpoint - Trending Search List
Paid plan subscribers (Analyst plan & above) can now use Trending Search List endpoint and flag show_max parameter to retrieve more trending coins, NFTs and coin categories on CoinGecko.com.
| Trending Data | Public API (Demo plan) | Paid API (Analyst plan & above) |
|---|---|---|
| Coins | 15 | 30 |
| NFTs | 7 | 10 |
| Coin Categories | 6 | 10 |
Improved Endpoints - Support Token Lookup by Symbol and Name
The following endpoints now support token lookup by symbol and name, in addition to the existing API ID support:
Previously, these endpoints only supported token lookup by [API IDs](https://docs.coingecko.com/docs/1-get-data-by-id-or-address#/methods-to-query-price--market-data-of-coins. This enhancement streamlines token data retrieval and eliminates the need for manual coin ID mapping.
Example Mapping:
| API Ids | Symbol | Name |
|---|---|---|
| bitcoin | btc | Bitcoin |
| tether | usdt | Tether |
| usd-coin | usdc | USDC |
Lookup Priority: When multiple lookup parameters are provided, the system applies the following priority order: id (highest) > name > symbol (lowest).
Filtering by Symbol withinclude_tokens
The include_tokensparameter has been added to provide flexibility when filtering by symbol:
include_tokens=top: Returns only the top market cap token for the specified symbol.include_tokens=all: Returns all tokens that share the specified symbol.
Example Request & Data:
| Request Example | Token Data Returned | Remarks |
|---|---|---|
| pro-api.coingecko.com/api/v3/coins/markets?vs_currency=usd&symbols=btc&include_tokens=top | 1. Bitcoin | When symbols and 'include_tokens=top' is specified, only the top market cap tokens will be returned. |
| pro-api.coingecko.com/api/v3/coins/markets?vs_currency=usd&symbols=btc&include_tokens=all | 1. Bitcoin 2. Osmosis allBTC 3. atcat 4. Meld Bridged BTC (Meld) 5. BlackrockTradingCurrency |
When symbols and 'include_tokens=all' is specified, all the coins that share the same symbol will be returned. All the 5 coins stated in the example have the same symbol 'btc'. |
/coins/markets Endpoint Improvement
We've enhanced the/coins/markets endpoint Coins List with Market Data, by including 'total' and 'per-page' values in the Response Headers.
This addition to the Response Headers enables developers to identify the total number of active coins on coingecko.com and specify the required pagination to retrieve all available data.
per-page: 250
total:16989
Upcoming Change Notice: Removal of twitter_followers Data
🗓️ April 25, 2025
Notice: Upcoming Change to CoinGecko API Endpoints - Removal oftwitter_followers Data
Effective Date: 15 May 2025
Affected Endpoints:
Details of the Change:
Please be advised that the twitter_followers data point within the community_data object will be removed from the above-listed API endpoints, effective 15 May 2025. This change is being implemented due to significant recent changes to the X (formerly Twitter) API, which have fundamentally altered how this specific data can be accessed.
Example of Affected Data Structure:
"community_data": {
"twitter_followers": 7694251,
// ... other community data points ...
}
After the effective date, the twitter_followers field will no longer be present in the API responses for these endpoints.
Action Required:
If your applications or integrations currently rely on the twitter_followers data from these CoinGecko API endpoints, please make the necessary adjustments to your code before 15 May 2025 to avoid potential errors or data discrepancies.
Important Note Regarding Previously Storedtwitter_followers Data:
Please be aware that if you have previously stored twitter_followers data obtained from the CoinGecko API and archived it within your own systems, you are solely responsible for its continued use and any implications thereof.
We appreciate your understanding as we adapt to changes in third-party platforms to maintain the stability and reliability of our API. If you have any questions or require further clarification, please do not hesitate to contact our support team.
## New Endpoint & Multiple Improvements: On-Chain Top Token Holder Address, Security Data, Historical Supply.🗓️ March 28, 2025
[Pro-API Exclusive] New Endpoint - Top Token Holder Address Data
You can now access the top 50 token holder address data for tokens, as seen on GeckoTerminal.com.
By default, this endpoint returns the top 10 holders data, you can also specify the holders parameter to retrieve up to top 50 holders data.
Network supported:
- EVM: Ethereum, Polygon, BNB, Arbitrum, Optimism, Base
- Solana
- Sui
- TON
- Ronin
👉 Visit the endpoint reference page - Top Token Holders by Token Address to learn more and try it out now!
Note: this exclusive endpoint is available for our API paid plan subscribers (Analyst plan & above).
- The holders data is currently in Beta, with ongoing improvements to data quality, coverage, and update frequency.
- For Solana tokens, the maximum number of retrievable top holders data is 40 instead of 50.
Tips: You may also use the following endpoints to retrieve token holders count and top holders distribution percentage data:
Historical Supply endpoints - Support for Inactive Coins
You may now access historical total and circulating supply data of inactive coins using the following endpoints. To check for list of inactive coins, you may use Coin List (ID Map) endpoint and flag status=inactive.
Note: these endpoints below are exclusive for Enterprise plan customers only.
Improved endpoints:
- Circulating Supply Chart by ID
- Circulating Supply Chart within Time Range by ID
- Total Supply Chart by ID
- Total Supply Chart within time range by ID
Onchain Pool Data endpoints - Locked Liquidity
Now support locked_liquidity_percentage data.
Improved endpoints:
{
"data": [
{
"id": "eth_0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640",
"type": "pool",
"attributes": {
"base_token_price_usd": "3653.12491645176",
"base_token_price_native_currency": "1.0",
..
"volume_usd": {
"m5": "868581.7348314",
"h1": "16798158.0138526",
"h6": "164054610.850188",
"h24": "536545444.904535"
},
"reserve_in_usd": "163988541.3812",
"locked_liquidity_percentage": "99.82"
},
Onchain Token Info endpoints - GT Score, Mint Authority, Freeze Authority
The following Token Info endpoints now provide more security related information:
- GeckoTerminal Score Details - Learn more about GT Score here.
- Pool - Combination of pool signals such as honeypot risk, buy/sell tax, proxy contract, liquidity amount, and whether the liquidity is locked.
- Transaction - Total number of transactions and trading volume in the last 24 hours.
- Creation - Age of the pool since creation. The longer, the better it is for the score.
- Info - Submitted social info and metadata to the token.
- Holders - Distribution of tokens among unique addresses.
- Mint Authority
- Freeze Authority
Improved endpoints:
"gt_score": 92.6605504587156,
"gt_score_details": {
"pool": 0,
"transaction": 32.2,
"creation": 0,
"info": 0,
"holders": 0
}
"mint_authority": "no",
"freeze_authority": "no"
Onchain Simple Token Price endpoint - Market Cap to FDV Fallback
The Onchain Simple Token Price endpoint now supports fallback option for Market Cap to return FDV value, when the Market Cap value is not available.
Notes:
- If the token's market cap is not verified by the CoinGecko team, the onchain endpoints will return null for its market cap value, even though it has a displayed value on GeckoTerminal, which might not be accurate as it often matches the Fully Diluted Valuation (FDV).
- Market Cap can be verified by and sourced from CoinGecko, and the number may be higher than FDV as it may include Market Cap of tokens issued on other blockchain network.
If you require the Market Cap key (market_cap_usd) to return FDV value (as seen on GeckoTerminal.com) when Market Cap data is unavailable, please specify this parameter marketcap_fdv_fallback=true.
Update Frequency Improvements for selected Pro-API endpoints (March 2025)
🗓️ March 14, 2025
[Changes below are applicable to Analyst/Lite/Pro/Enterprise plan subscribers only.]
Dear CoinGecko API paid plan subscribers,
We're excited to announce an improvement to our API, aimed at providing you with even faster access to real-time data! Starting 02:00 UTC, March 25, 2025, the edge cache duration for the following endpoints will be reduced from 60s to 30s, allowing you to retrieve updated data more frequently.
- Effective from 02:00 UTC, March 25, 2025:
- Effective from 02:00 UTC, March 26, 2025:
- Effective from 02:00 UTC, March 27, 2025:
What This Means for You:
- Fresher Data, Quicker: With a reduced cache time, you'll now have the option to access more up-to-date data, closer to real-time!
- No Extra Credits for Cached Data: If your request hits the cache (now updated every 30 seconds for endpoints above), there will be no additional credits charged—just like before.
Things to Keep in Mind:
- If your request hits our origin server instead of the cache to retrieve the latest data, there may be additional credits used.
- To balance cost and real-time data needs, we recommend reviewing your request frequency. For those who prefer to obtain data without extra credits, consider keeping your request interval at 60 seconds or more to align with the new cache duration.
We're committed to continuously improving your experience and ensuring you get the data you need, as efficiently as possible. If you have any questions or need assistance, feel free to reach out to soonaik@coingecko.com .
CoinGecko API Team
Multiple Improvement: Holders data, Pool Stats, Simple Token Price
🗓️ March 14, 2025
Onchain Token Info endpoints - Holders data
Now support the following holder data (Beta):
- holders count
- top holders distribution percentage
Improved endpoints:
"holders": {
"count": 1432761,
"distribution_percentage": {
"top_10": "1.3019",
"11_20": "0.1024",
"21_40": "0.095",
"rest": "98.5007"
},
"last_updated": "2025-03-06T01:21:18Z"
Onchain Pool Data endpoints - More Data Support
Now support the following data:
price_change_percentage: m15, m30volume_usd: m15, m30transactions: h6
Improved endpoints:
"price_change_percentage": {
"m5": "0.06",
"m15": "0.06",
"m30": "0.89",
"h1": "-4.31",
"h6": "-1.02",
"h24": "3.32"
},
"transactions": {
"m5": {
"buys": 0,
"sells": 2,
"buyers": 0,
"sellers": 2
},
"m15": {
"buys": 0,
"sells": 2,
"buyers": 0,
"sellers": 2
},
"m30": {
"buys": 0,
"sells": 3,
"buyers": 0,
"sellers": 3
},
"h1": {
"buys": 1,
"sells": 23,
"buyers": 1,
"sellers": 7
},
"h6": {
"buys": 60,
"sells": 38,
"buyers": 23,
"sellers": 18
},
"h24": {
"buys": 206,
"sells": 138,
"buyers": 96,
"sellers": 77
}
},
"volume_usd": {
"m5": "130.5119858698",
"m15": "130.5119858698",
"m30": "177.109036156",
"h1": "4942.2463835639",
"h6": "28362.2127269542",
"h24": "112426.585893123"
}
Onchain Simple Token Price endpoint - Liquidity & Price Change Percentage data
Now supports the following optional parameter to return more data.
include_24hr_price_change(24hr price change percentage)include_total_reverse_in_usd(token liquidity data - total liquidity portion attributable to a specific token across all available pools)
Improved Endpoint:
{
"data": {
"id": "e58258f7-8368-4968-bbe1-b5343540cd71",
"type": "simple_token_price",
"attributes": {
"token_prices": {
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": "1.00276143983565",
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "3175.22870146126"
},
"market_cap_usd": {
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": "25000000000",
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "500000000000"
},
"h24_volume_usd": {
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": "50000000",
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "10000000000"
},
"h24_price_change_percentage": {
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": "-0.15",
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "1.15"
},
"total_reserve_in_usd": {
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": "417994486.4342195821530162288",
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "417994486.4342195821530162288"
}
}
}
🗓️ February 27, 2025
Powered by GeckoTerminal, the CoinGecko API now supports on-chain data across 200+ blockchain networks, including the latest additions: Hyperliquid, HyperEVM, Abstract, Berachain, Story, Monad, Unichain, and Soneium.
While we offer the widest on-chain data coverage, we understand that you may have specific needs when slicing and dicing data for your use case. That's why we're introducing Megafilter, an exclusive endpoint available for our API paid plan subscribers (Analyst plan & above).
🔥 What's Megafilter?
This new endpoint provides unmatched flexibility, allowing you to query and filter data exactly the way you want.
🔗 Docs: Megafilter for Pools
👀 What Can You Do?
With the /megafilter endpoint, you can slice and dice on-chain data your way across:
- 200+ blockchain networks, 1,400+ dexes, 6M+ pools, and 5M+ tokens
- Advanced filtering options based on liquidity, FDV, volume, transactions, buy/sell trends, and time range
- Custom sorting, including trending pools (5m), newest pools, or liquidity growth
- Fraud detection filters: Exclude honeypots, check GT Score, verify CG listings, and track social metrics
Here's some quick examples:
- Track fresh pools on Uniswap V4 & Aerodrome with liquidity above $1,000
- Discover trending DEX pools across Solana, Base, and other chains with a high GT Score.
- Filter out risky pools with built-in honeypot protection & fraud checks
- Customize data retrieval based on your strategy: time-based, volume-based, or trend-driven
Try it out now!
🚀 API Docs: Megafilter for Pools
🔗 Live Filtering on GeckoTerminal
Update Frequency Improvements for selected Pro-API endpoints
🗓️ February 14, 2025
[Changes below are applicable to Analyst/Lite/Pro/Enterprise plan subscribers only.]
Dear CoinGecko API paid plan subscribers,
We're excited to announce an improvement to our API, aimed at providing you with even faster access to real-time data! Starting 02:00 UTC, February 24, 2025, the edge cache duration for the following endpoints will be reduced to 30s, allowing you to retrieve updated data more frequently.
| Endpoints | Effective Date & Time | Current Update Frequency | New Update Frequency |
|---|---|---|---|
| Onchain /networks/../tokens/ | 02:00 UTC, February 24, 2025 | 60s | 30s |
| Onchain /networks/../tokens/multi/ | 06:00 UTC, February 24, 2025 | 60s | 30s |
| Onchain /networks/../pools/../ohlcv | 02:00 UTC, February 25, 2025 - Enterprise plan subscribers only | 60s | 30s |
| Onchain /networks/../pools/../ohlcv | 02:00 UTC, February 26, 2025 - Analyst/Lite/Pro plan subscribers | 60s | 30s |
What This Means for You:
- Fresher Data, Quicker: With a reduced cache time, you'll now have the option to access more up-to-date data, closer to real-time!
- No Extra Credits for Cached Data: If your request hits the cache (now updated every 30 seconds for endpoints above), there will be no additional credits charged—just like before.
Things to Keep in Mind:
- If your request hits our origin server instead of the cache to retrieve the latest data, there may be additional credits used.
- To balance cost and real-time data needs, we recommend reviewing your request frequency. For those who prefer to obtain data without extra credits, consider keeping your request interval at 60 seconds or more to align with the new cache duration.
We're committed to continuously improving your experience and ensuring you get the data you need, as efficiently as possible. If you have any questions or need assistance, feel free to reach out to soonaik@coingecko.com .
CoinGecko API Team
Enhanced Onchain Metadata, Increased Max Address Limit for Multi Endpoints, Improved Exchange Tickers Sorting
🗓️ February 09, 2025
Onchain Metadata: Improved Coverage
Previously: Payload may return 'missing.png' for image_url for tokens that do not have image data.
Now: Coverage of metadata (images, websites, description, socials) is now improved for tokens on Solana, Ton, Base, and Sui networks. For tokens that do not contain image data, 'null' value will be returned for image_url.
Improved endpoints with image data:
- Trending Pools List
- Trending Pools by Network
- Specific Pool Data by Pool Address
- Multiple Pools Data by Pool Addresses
- Top Pools by Network
- Top Pools by Dex
- New Pools by Network
- New Pools List
- Search Pools
- Top Pools by Token Address
- Token Data by Token Address
- Tokens Data by Token Addresses
- Token Info by Token Address
- Pool Tokens Info by Pool Address
- Most Recently Updated Tokens List
Improved endpoints with metadata (images, websites, description, socials):
Note: Metadata may be sourced on-chain and is not vetted by the CoinGecko team. If you wish to get metadata reviewed by CoinGecko team, you may use the following endpoints:
Improved Max Address Limit for onchain /multi endpoints
Previously: Onchain /multi endpoints support up to 30 token or pool contract addresses per request.
Now: Onchain /multi endpoints support up to 50 token or pool contract addresses per request.
Improved endpoints:
Note: this new max address input limit is exclusive for paid plan subscribers (Analyst plan & above) only.
Improved Data Consistency for Exchange Tickers by ID
For Exchange Tickers by ID endpoint, the order is sorted by trust_score_desc by default.
- Sometimes duplicate or missing data may occur due to paginated cached response, especially when a ticker's rank changes between 2 paginated requests, e.g. it might shift from Page 2 to Page 1, vice versa.
- We've added a new
orderoption: base_target, which will sort the tickers by base symbol, then target symbol, in lexicographical order, i.e.0->9, thena->Z.
Example: flagging ?order=base_target
pro-api.coingecko.com/api/v3/exchanges/binance/tickers?order=base_target
This sorting method ensures stable pagination, reducing issues where cached responses may cause duplicate or missing tickers across pages.
## Multiple Improvements: Onchain Pools Page Limit, Trades Token Filter🗓️ January 27, 2025
Onchain Pools Data: Supports more than 10 pages of data
Previously: There was a limitation of a maximum of 10 pages for accessing pools data in the related endpoints.
Now: All paid plan subscribers (Analyst & above) can access more than 10 pages of pools data for the endpoints below.
Improved Endpoints:
- Search Pools
- Top Pools by Token Address
- Trending Pools List
- Trending Pools by Network
- New Pools by Network
- New Pools List
- Top Pools by Network
- Top Pools by Dex
Onchain Trades: Added Token Filter
Endpoint: Past 24 Hour Trades by Pool Address
Previously: There was no way to filter trades data by base or quote token.
Now: A new optional parameter has been added to allow filtering by base or quote token of a pool.
- Parameter:
token - Value options:
basequote{token_address}
Example:
?token=base // get the trades data of base token
?token=quote // get the trades data of quote token
?token=8FqXr6dw5NHA2TtwFeDz6q9p7y9uWyoEdZmpXqqUpump // get the trades data of specific token based on address
Multiple Improvements: Onchain Token Price, NFT Market Cap
🗓️ January 24, 2025
Onchain Simple Token Price: Added Market Cap and 24h Volume Data
Endpoint: Token Price by Token Addresses
- You can now flag
include_market_cap=trueandinclude_24hr_vol=trueto retrieve market cap and 24h trading volume data. e.g.
{
"data": {
"id": "e1979db1-5c3e-4ba8-b103-cb0258af4a7c",
"type": "simple_token_price",
"attributes": {
"token_prices": {
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": "0.999365729816931",
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "3399.24368371279"
},
"market_cap_usd": {
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": "51963214441.24363",
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "10005535878.50094"
},
"h24_volume_usd": {
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48": "2095689865.85327",
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "2544539948.02599"
}
}
}
}
NFT Data: Added 'Market Cap Rank'
You can now obtain the market_cap_rank data of NFT collections via the following endpoints:
"market_cap_rank": 75,
Removal of Unsupported Categories
🗓️ January 23, 2025
Upcoming Removal of Unsupported Categories from CoinGecko and CoinGecko API
Summary
We are announcing the removal of certain categories from CoinGecko and CoinGecko API. These categories will no longer be supported across all API endpoints starting February 12, 2025.
| No | Category Name | Category ID |
|---|---|---|
| 1 | US Election 2020 | us-election-2020 |
| 2 | Governance | governance |
| 3 | Cryptocurrency | cryptocurrency |
| 4 | Technology and Science | technology-science |
| 5 | Presale Meme | presale-meme-coins |
| 6 | Business Platform | business-platform |
| 7 | Number | number |
| 8 | Structured Product | structured-products |
| 9 | Investment | investment |
| 10 | Niftex Shards | niftex-shards |
| 11 | Ethereum POW IOU | ethereum-pow-iou |
| 12 | Mirrored Assets | mirrored-assets |
| 13 | Remittance | remittance |
| 14 | Protocol | protocol |
| 15 | Unicly Ecosystem | utokens |
| 16 | Finance and Banking | finance-banking |
| 17 | Eth 2.0 Staking | eth-2-0-staking |
Reason for Removal
Many of these categories no longer have associated coins. Some categories are outdated and no longer relevant in the crypto space. The changes align with updated category topology standards to maintain data accuracy and relevance.
Impact
API responses for the /coins/markets endpoint will no longer support data of the categories above. Any requests specifying these categories will return an error.
Action Required
Ensure applications using the /coins/markets endpoint are not querying these removed categories. Please update any code or documentation referencing these categories to prevent errors.
Extended Historical Data for Onchain OHLCV Endpoint
🗓️ January 15, 2025
What's New?
We've improved the Pool OHLCV Chart by Pool Address endpoint to provide access to a much broader range of historical data.
Key Updates
- Previous Behavior: Users could only query data for the past 6 months from today.
- New Behavior: Users can now access data from September 2021 to the present, depending on the pool's tracking start date on GeckoTerminal.
- Each API request is limited to a 6-month date range, but users can query older data by using the before_timestamp parameter.
Note: access to data beyond the past 6 months is only available to Paid Plan subscribers (Analyst plan & above).
Action Required
No changes are required for existing integrations. However, users who need data beyond the past 6 months should adjust their queries to use the before_timestamp parameter to fetch additional data.
Update to Total Supply of POW Coins
🗓️ January 15, 2025
What's Changing?
We are updating the definition of Total Supply for PoW (Proof-of-Work) coins to reflect the actual number of mined coins rather than the maximum supply. This change ensures consistency and accuracy in representing the supply data.
Key Updates
- Previous Behavior:
- Total Supply: Displayed as the maximum possible supply (e.g., Bitcoin: 21,000,000).
- New Behavior:
- Total Supply: Now reflects the actual number of mined coins.
For example: Bitcoin: ~19,500,000 (as of January 2025).
- Total Supply: Now reflects the actual number of mined coins.
This update will also affect historical Total Supply data for consistency. This change applies to all affected PoW coins, including Bitcoin, Bitcoin Cash, Litecoin, Ethereum Classic, and more.
Affected endpoints that contain "total_supply" data:
- Current Data
- Historical Darta
Timeline:
Bitcoin: Updated on Jan 14, 2025
Other PoW Coins: Scheduled for Jan 22, 2025
- Bitcoin Cash
- Litecoin
- Ethereum Classic
- Bitcoin SV
- Zcash
- eCash
- Dash
- Verus Coin
- Ravencoin
- Kadena
- Decred
- Flux (Zelcash)
- DigiByte
- Quantum Resistant Ledger
- Komodo
- Groestlcoin
- Firo
- Litecoin Cash
- LuckyCoin
- Enecuum
- Wownero
- Radiant
- Tidecoin
- Handshake
- Neoxa
- Vertcoin
- Feathercoin
- Bitcore
- Phoenixcoin
- BitcoinZ
- Hush
- DigitalNote
- EquityPay
- Evadore
- Swap
- DeVault
- AXE
- Iridium
- X-Cash
- Bolivarcoin
- uPlexa
- WorldCoin (WDC)
Improved Update Frequency for selected Pro-API endpoints
🗓️ January 13, 2025
[Changes below are applicable to Analyst/Lite/Pro/Enterprise plan subscribers only.]
The edge cache duration for the following endpoints are now reduced to 20-30s, allowing you to retrieve updated data more frequently.
| Endpoints | Previous Update Frequency | Current Update Frequency |
|---|---|---|
| CoinGecko /simple/price | 30s | 20s |
| CoinGecko /simple/token_price | 30s | 20s |
| Onchain /simple/networks/../token_price | 60s | 30s |
| Onchain /networks/../pools/../trades | 60s | 30s |
| Onchain /networks/../pools/.. | 60s | 30s |
| Onchain /networks/../pools/multi/.. | 60s | 30s |
What This Means for You:
- Fresher Data, Quicker: With a reduced cache time, you'll now have the option to access more up-to-date data, closer to real-time!
- No Extra Credits for Cached Data: If your request hits the cache (now updated every 20-30 seconds for endpoints above), there will be no additional credits charged—just like before.
Things to Keep in Mind:
- If your request hits our origin server instead of the cache to retrieve the latest data, there may be additional credits used.
- To balance cost and real-time data needs, we recommend reviewing your request frequency. For those who prefer fresher data without extra credits, consider keeping your request interval at 30 seconds or more to align with the new cache duration.
We're committed to continuously improving your experience and ensuring you get the data you need, as efficiently as possible. If you have any questions or need assistance, feel free to reach out to soonaik@coingecko.com .
CoinGecko API Team
Improved 5-minutely data for Historical Chart Data endpoints
🗓️ January 09, 2025
For the following 4 historical chart endpoints, the data of the last 48 hours from now is no longer excluded.
- Coin Historical Chart Data by ID
- Coin Historical Chart Data within Time Range by ID
- Coin Historical Chart Data by Token Address
- Coin Historical Chart Data within Time Range by Token Address
Note: The 5-minutely and hourly interval params are exclusively available to Enterprise plan subscribers, bypassing auto-granularity:
interval=5m: 5-minutely historical data, supports up to any 10 days date range per request.interval=hourly: hourly historical data, supports up to any 100 days date range per request.- Data availability:
interval=5m: Available from 9 February 2018 onwardsinterval=hourly: Available from 30 Jan 2018 onwards
For non-Enterprise plan subscribers who would like to get hourly data, please leave the interval params empty for auto granularity:
- 1 day from current time = 5-minutely data
- 1 day from any time (except current time) = hourly data
- 2 - 90 days from any time = hourly data
- above 90 days from any time = daily data (00:00 UTC)
🗓️ December 24, 2024
NEW: Onchain Categories : Get Categories on GeckoTerminal.com
This new Categories List endpoint allows you to query all the categories supported on GeckoTerminal.com such as 'Pump Fun' and 'Animal'.
- This endpoint is exclusively available for Analyst/Lite/Pro/Enterprise plan subscribers only.
NEW: Onchain Catergory Pools: Get Pools of a specific Category
This new Pools by Category ID endpoint allows you to query all the pools of a specific category on GeckoTerminal.com.
- This endpoint is exclusively available for Analyst/Lite/Pro/Enterprise plan subscribers only.
- You can also obtain tokens of a specific category, by flagging
include=base_token
Onchain Token Info: Added Categories Data
You can now obtain the categories of a token via the following endpoints:
Payload example:
"categories": [
"Doge",
"Baby",
"Animal"
],
"gt_category_ids": [
"doge",
"baby",
"animal"
Onchain New Pools Data: Bug Fixed
Previously, this /networks/new_pools endpoint omitted new pools that are created within the last 24 hours.
It now returns all newly created pools in the last 48 hours.
CoinGecko Exchange Data: Added support of inactive exchange id
You now query the the list of id of delisted exchanges with Exchanges List (ID Map) endpoint, by flagging status=inactive
Payload example:
{
"id": "ftx",
"name": "FTX (Derivatives)"
},
{
"id": "ftx_spot",
"name": "FTX"
},
{
"id": "ftx_tr",
"name": "FTX TR"
},
{
"id": "ftx_us",
"name": "FTX.US"
},
Tips: you may query to get historical volume delisted exchanges for via the following endpoints:
CoinGecko Historical Chart Data: Faster Last UTC Day (00:00) Data Update
For Coin Historical Chart Data by ID endpoint, the last completed UTC day (00:00) data is now available 10 minutes after midnight on the next UTC day (00:10).
Previously, the last completed UTC day (00:00) was only made available 35 minutes after midnight.
[Updated: Q4 2024] CoinGecko Asset Issuance Standardisation Initiative Updates
🗓️ December 17, 2024
As part of our commitment to improving data quality and enhancing the consistency of asset information, we are rolling out an asset standardization initiative at CoinGecko.
What is asset standardization?
Standardization involves refining how we classify and display assets. By systematically organizing asset listings into more precise categories - such as native, bridged, or wrapped tokens each following specific naming conventions, we aim to eliminate confusion and enhance data reliability.
What changes should I expect?
The most notable change is that non-native token contracts previously grouped under native asset listings will now be assigned their own distinct pages.
For example, a bridged version of USDT that might have been aggregated under the original, native USDT page, will now be featured on a dedicated page specifically for that bridged variant.
Additionally, there may be varying levels of changes in various aggregated data points of the standardized assets, including trading volume, supply, market cap rankings, etc., due to misplaced contracts being transitioned away from the original page to accurately reflect their true metrics.
Focus for Q3 2024 [Completed ✅]
**For full list of FAQs and updated infomation, please refer here
What's New in Q4 2024? 👈
Building on Q3's achievements, we're expanding the scope of Standardization to include four additional Coins this quarter, selected based on their significance and impact on the DeFi ecosystem.
Tips and FAQs for API users
1. How does this affect my current API setup?
The following CoinGecko API endpoints will be impacted, with full details tracked in this spreadsheet. We encourage you to make the necessary adjustments and enable edit notifications on the Google Sheets, to receive real-time updates when non-native token contracts have been successfully standardized.
Simple
- /simple/price
- /simple/token_price/id
Coins
- /coins/markets
- /coins/id
- /coins/id/tickers
- /coins/id/history
- /coins/id/market_chart
- /coins/id/market_chart/range
- /coins/id/ohlc
- /coins/id/ohlc/range
- /coins/id/circulating_supply_chart
- /coins/id/circulating_supply_chart/range
- /coins/id/total_supply_chart
- /coins/id/total_supply_chart/range
Contract
- /coins/id/contract/contract_address
- /coins/id/contract/contract_address/market_chart
- /coins/id/contract/contract_address/market_chart/range
Exchange
- /exchanges/id/tickers
- /exchanges/id/volume_chart
- /exchanges/id/volume_chart/range
2. Do I have to make changes to my API?
No changes are necessary if you do not need data for non-native token contracts that will be separated away from the native tokens.
3. What will happen to the coins that are separated into a new coin page?
Historical data for new non-native or bridged assets will only be available from the date of asset page creation (i.e. stnadardized). To access historical data prior to the asset standardization, we recommend retrieving data from the original native assets.
4. How do I identify the list of coins that will be separated?
For a finalised list of token contracts and API IDs that have been separated from its native asset page and listed individually, please refer to this Google Sheets
You may also identify the list of bridged coins via API: you may also use /categories/list endpoint to look for bridged categories such as:
- bridged-usdc
- bridged-wbtc
- bridged-weth
Then you may use /coins/market endpoint to retrieve the list of coins
Enhancing Your Access to Even Fresher Data!
🗓️ December 16, 2024
[Changes below are applicable to Analyst/Lite/Pro/Enterprise plan subscribers only.]
Dear CoinGecko API paid plan subscribers,
We're excited to announce an improvement to our API, aimed at providing you with even faster access to real-time data! Starting 02:00 UTC, January 13, 2025, the edge cache duration for the following endpoints will be reduced to 20-30s, allowing you to retrieve updated data more frequently.
| Endpoints | Current Update Frequency | New Update Frequency |
|---|---|---|
| CoinGecko /simple/price | 30s | 20s |
| CoinGecko /simple/token_price | 30s | 20s |
| Onchain /simple/networks/../token_price | 60s | 30s |
| Onchain /networks/../pools/../trades | 60s | 30s |
| Onchain /networks/../pools/.. | 60s | 30s |
| Onchain /networks/../pools/multi/.. | 60s | 30s |
What This Means for You:
- Fresher Data, Quicker: With a reduced cache time, you'll now have the option to access more up-to-date data, closer to real-time!
- No Extra Credits for Cached Data: If your request hits the cache (now updated every 20-30 seconds for endpoints above), there will be no additional credits charged—just like before.
Things to Keep in Mind:
- If your request hits our origin server instead of the cache to retrieve the latest data, there may be additional credits used.
- To balance cost and real-time data needs, we recommend reviewing your request frequency. For those who prefer fresher data without extra credits, consider keeping your request interval at 30 seconds or more to align with the new cache duration.
We're committed to continuously improving your experience and ensuring you get the data you need, as efficiently as possible. If you have any questions or need assistance, feel free to reach out to soonaik@coingecko.com .
CoinGecko API Team
Multiple Improvements: Onchain Trending Pools, CG New Currencies Support, Snapshot, Exchange Info
🗓️ December 15, 2024
Onchain Trending Pools: Added Support to Filter by Duration
You can now query trending pools with the following endpoints, and filter them by different duration: 5m, 1h, 6h, 24h, using duration parameter. e.g. duration=5m
- Trending Pools List: query all the trending pools across all networks on GeckoTerminal
- Trending Pools by Network: query the trending pools based on the provided network
CG Coin Prices: Added Support for New Fiat Currencies
You can now query coin prices in the 13 new currencies for the following 3 endpoints:
- Coin Price by IDs: query latest price in selected currencies, by coin id
- Coin Price by Token Addresses: query latest price in selected currencies, by token address
- BTC-to-Currency Exchange Rates: query BTC exchange rates with other currencies
New supported currencies:
- Colombia | COP
- Kenya | KES
- Romania | RON
- Dominican Republic | DOP
- Costa Rica | CRC
- Honduras | HNL
- Zambia | ZMW
- El Salvador | SVC
- Bosnia and Herzegovina | BAM
- Peru | PEN
- Guatemala | GTQ
- Lebanon | LBP
- Armenian Dram | AMD
CG Coin Info: Included Snapshot URL
Coin Data by ID now includes Snapshot link, e.g.
"snapshot_url": "https://snapshot.org/#/lido-snapshot.eth",
CG Exchange Info: Included Number of Coins and Pairs
https://docs.coingecko.com/reference/exchanges-id now includes "coins" and "pairs", e.g.
"coins": 384,
"pairs": 1281,
🗓️ October 09, 2024
Onchain: Simple Price - Increased Token Address Limit from 30 to 100
Token Price by Token Addresses now allows to input up to 100 contract addresses, instead of 30.
- You may now retrieve data of up to 100 token prices of a specific network, in one single request.
- Available exclusively to Pro API paid plan subscribers.
Onchain: Recently Updated Info - Added Filter by Network
Most Recently Updated Token List now allows to filter by blockchain network, by flagging the network parameter. e.g. network=eth.
- You can use the
networkparameter to retrieve the 100 most recently updated token info of a specific network. - View list of supported network via Supported Networks List endpoint.
NFT Collection Data - Included Banner Image
NFTs Collection Data by ID now provides banner image of a NFT collection.
View banner image example on: https://www.coingecko.com/en/nft/pudgy-penguins
{
"symbol": "PPG",
"image": {
"small": "https://coin-images.coingecko.com/nft_contracts/images/38/small/da64989d9762c8a61b3c65917edfdf97.png?1707287183"
},
"banner_image": "https://coin-images.coingecko.com/nft_contracts/images/38/pudgy-penguins-banner.png?1708416126",
..
🗓️ September 26, 2024
Global Market Chart - Improved Daily Data Update
Previously, for Global Market Cap Chart Data endpoint , the daily data is returned at 23:00 UTC. We've made improvement to return daily data at 00:00 UTC.
The last completed UTC day (00:00) is available 5 minutes after midnight on the next UTC day (00:05). The cache will always expire at 00:05 UTC. If you wish to get the latest daily data (00:00 UTC), you can make request at 00:05 UTC or later.
Asset Platforms - Included Images of Blockchain Network Logos
Asset Platforms List (ID Map) now provides the logos of blockchain networks.
For example:
"image": {
"thumb": "https://coin-images.coingecko.com/asset_platforms/images/93/thumb/AN_logomark.png?1706606703",
"small": "https://coin-images.coingecko.com/asset_platforms/images/93/small/AN_logomark.png?1706606703",
"large": "https://coin-images.coingecko.com/asset_platforms/images/93/large/AN_logomark.png?1706606703"
}
Coins Categories - Included Ids of Top 3 Coins
Coins Categories List with Market Data now provides coins id of the top 3 coins of a category.
For example:
"top_3_coins_id": [
"bitcoin",
"ethereum",
"binancecoin"
],
Circulating Supply Chart and Total Supply Chart - Fixed '0' data issue
For the following Enterprise-plan exclusive endpoints below, there was a bug that returned wrong '0' value in the payload. This is fixed and will no longer return wrong '0' value in the payload.
- 👑 Circulating Supply Chart by ID
- 👑 Circulating Supply chart within Time Range by ID
- 👑 Total Supply Chart by ID
- 👑 Total Supply Chart within time range by ID
Improvement of update frequency for OHLC endpoints
🗓️ September 04, 2024
The cache & update frequency of the following endpoints have been improved from every 30 minutes to every 15 minutes:
## Included new fields - NFT data🗓️ August 18, 2024
We've added 'user_favorites_count', and 'ath' (all-time-high) related data to the following NFT endpoints:
Example of responses:
{
"user_favorites_count": 3660,
"ath": {
"native_currency": 22.9,
"usd": 67535
},
"ath_change_percentage": {
"native_currency": -59.825327510917,
"usd": -64.3396788440525
},
"ath_date": {
"native_currency": "2024-02-17T09:25:05.056Z",
"usd": "2024-02-29T11:45:08.150Z"
}
🗓️ May 10, 2024
We've introduced a new endpoint /coins//ohlc/range.
This endpoint allows you to get the OHLC chart (Open, High, Low, Close) of a coin within a range of timestamp based on particular coin id.
Please note that this endpoint is available exclusively for paid plan subscribers only.
Added interval hourly params to /coins/id/ohlc
🗓️ May 04, 2024
We've expanded functionality to include support for the interval=hourly parameter within the /coins//ohlc endpoint.
Users can use this parameter to retrieve OHLC (Open/High/Low/Close) data on a hourly interval for up to 90 days of the date range.
Example of endpoint request:
https://pro-api.coingecko.com/api/v3/coins/bitcoin/ohlc?vs_currency=usd&days=1&interval=hourly&x_cg_pro_api_key=YOUR_API_KEY
🗓️ April 30, 2024
We've now enhanced the /coins/list endpoint to include inactive coins
- You may access the inactive coins by specifying
status=inactivein your query - Example of endpoint request:
https://pro-api.coingecko.com/api/v3/coins/list?include_platform=false&status=inactive&x_cg_pro_api_key=YOUR_API_KEY
Additionally, historical data for inactive coins can be queried using their IDs in the following endpoints:
- /coins//history
- /coins//market_chart
- /coins//market_chart/range
- /coins//contract//market_chart
- /coins//contract//market_chart/range
Please note that these features are available exclusively for paid plan subscribers only
## Introduced /key endpoint🗓️ March 27, 2024
We've introduced a new endpoint /key for conveniently monitoring your account's API usage, including rate limits and remaining credits.
Example of responses:
{
"plan": "Other",
"rate_limit_request_per_minute": 1000,
"monthly_call_credit": 1000000,
"current_total_monthly_calls": 307,
"current_remaining_monthly_calls": 999693
}
🗓️ February 28, 2024
-
image_url is now returned in the token response for pools and tokens endpoints:
Example of responses:
"data": { "id": "eth_0xdac17f958d2ee523a2206206994597c13d831ec7", "type": "token", "attributes": { "address": "0xdac17f958d2ee523a2206206994597c13d831ec7", "name": "Tether USD", "symbol": "USDT", "image_url": "https://assets.coingecko.com/coins/images/325/small/Tether.png?1696501661", 👈 ...... "market_cap_usd": "100719721661.467" }, "relationships": {} } -
We've added sorting parameters such as order=
h24_volume_usd_descand order=h24_tx_count_descfor /pools endpoints -
The 'token' parameter within the /ohlcv endpoint can now accept a token address, provided it exists in the queried pool, to return OHLCV data
Example of endpoint request (token=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2):
https://pro-api.coingecko.com/api/v3/onchain/networks/eth/pools/0x06da0fd433c1a5d7a4faa01111c044910a184553/ohlcv/day?token=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&x_cg_pro_api_key=YOUR_API_KEY -
/ohlcv endpoint now includes the base and target token metadata in the response
Example of responses:{ "data": { "id": "46303eb4-fba1-44f3-a3c8-c542e4cd5d1a", "type": "ohlcv_request_response", "attributes": { "ohlcv_list": [] } }, "meta": { "base": { "address": "0xdac17f958d2ee523a2206206994597c13d831ec7", "name": "Tether USD", "symbol": "USDT", "coingecko_coin_id": "tether" }, "quote": { "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "name": "Wrapped Ether", "symbol": "WETH", "coingecko_coin_id": "weth" } } }
Introduced /networks/network/trending_pools endpoint (Onchain/GT)
🗓️ February 19, 2024
Trending Pools endpoint, /networks//trending_pools is now available to fetch a list of pools that are trending as seen on GeckoTerminal based on web visits and on-chain activities.
Introduced /search/pools endpoint (Onchain/GT)
🗓️ February 19, 2024
Added new endpoint to search for pools /search/pools based on keywords passed into query.
## Included new field for /coins/id endpoint🗓️ January 18, 2024
We've included a new field "whitepaper" under "links" section for /coins/ endpoint
Example of responses:
{
"id": "bitcoin",
......
"links": {
"homepage": [],
"whitepaper": "https://bitcoin.org/bitcoin.pdf", 👈
"blockchain_site": [],
"official_forum_url": [],
"chat_url": [],
"announcement_url": [],
"twitter_screen_name": "bitcoin",
"facebook_username": "bitcoins",
"bitcointalk_thread_identifier": null,
"telegram_channel_identifier": "",
"subreddit_url": "https://www.reddit.com/r/Bitcoin/",
"repos_url": {}
},
.......
}
🗓️ December 13, 2023
The following data is now deprecated for /coins/ endpoint:
- coingecko_rank
- coingecko_score
- developer_score
- community_score
- liquidity_score
- public_interest_score
- public_interest_stats
- alexa_rank
- bing_matches
Introduced new historical total supply endpoints
🗓️ December 12, 2023
We've introduced Historical Total Supply data to Enterprise plan subscribers via these 2 exclusive endpoints:
- /coins//total_supply_chart : get historical total supply of a coin, by number of days away from now.
- /coins//total_supply_chart/range : get historical total supply of a coin, within a range of timestamp.
Included more trending coins
🗓️ December 07, 2023
We've expanded the capabilities of the /search/trending endpoint.
It now supports up to 15 trending coins, a significant increase from the previous limit of 7.
Improvement on pool data (Onchain/GT)
🗓️ December 03, 2023
Pool data now returns transaction stats for the last 1 hour. Unique buyers and sellers in the last 1 hour and 24 hours are now returned in the response
## Multiple Improvements🗓️ November 21, 2023
The web_slug data is now available in the following endpoints.
This addition allows users to accurately link to a CoinGecko coin page using www.coingecko.com/en/.
Example of responses:
{
"id": "bitcoin",
"symbol": "btc",
"name": "Bitcoin",
"web_slug": "bitcoin", 👈
......
"tickers": [...]
}
For the /asset_platforms endpoint, we've introduced the native_coin_id data. This enables users to obtain the coin ID of different blockchain networks or asset platforms that may not have a contract address to look up
Example of responses:
{
"id": "polygon-pos",
"chain_identifier": 137,
"name": "Polygon POS",
"shortname": "MATIC",
"native_coin_id": "matic-network" 👈
},
Introduced /simple/networks/network/token_price/addresses endpoint (Onchain/GT)
🗓️ November 10, 2023
Inspired by CoinGecko API most popular endpoint, we have launched the /simple/networks//token_price/, simple endpoint. Simply pass in addresses of any tokens on supported blockchain and get price data for it
Introduced /networks/network/pools/pool_address/trades endpoint (Onchain/GT)
🗓️ November 08, 2023
You can now get the latest 300 trades in the past 24 hours of a given pool from this endpoint /networks//pools//trades. You may optionally filter by trade size as well. You can now build your own telegram bot alert!
## Introduced new endpoints (Onchain/GT)🗓️ October 23, 2023
You can now fetch token information such as name, image, social links, and description via these endpoints:
- To fetch information of tokens inside a pool, use /networks//pools//info
- To fetch information of a specific token use /networks//tokens//info
- If you like to get token information of the most recently updated tokens, use /tokens/info_recently_updated
🗓️ September 11, 2023
Pool response data now returns price in the base and quote token of the pool base_token_price_quote_token and quote_token_price_base_token for your convenience without the need to do additional calculation to derive these values
Introduced new endpoints (Onchain/GT)
🗓️ September 06, 2023
Added new endpoints to allow querying multiple pools and tokens in a single API call. /networks/network/pools/multi/addresses and /networks/network/tokens/multi/addresses
## Included new fields (Onchain/GT)🗓️ June 23, 2023
- More data added to the Pool response such as FDV, market cap (from CoinGecko if available), price change percentage, volume, number of buy/sell transactions
- More data added when querying for token such as FDV, volume, market cap, and the top 3 pools
Introduced precision params for other endpoints
🗓️ June 15, 2023
The uses of 'precision' parameter allows to specify price data in full or 0-18 decimals, and previously was only made available for /simple/price and /simple/token_price/ endpoints.
This parameter is now supported for more endpoints as listed below:
- /coins/markets
- /coins/market_chart
- /coins/market_chart/range
- /coins//contract//market_chart
- /coins//contract//market_chart/range
- /coins//ohlc
Multiple Improvements
🗓️ June 01, 2023
We've made enhancements to the /search/trending and /coins/asset_platform_id/contract/contract_address endpoints:
- Top 5 trending NFT data (based on high trading volume in the last 24 hours) is now included in the /search/trending endpoint
- Near Protocol contract address (e.g. wrap.near) is now supported for /coins//contract/ endpoint
🗓️ May 28, 2023
- Token metadata such as name, symbol, and CoinGecko ID are now returned in the responses for pools endpoints. Users will need to pass in this attribute include=base_token, quote_token
- CoinGecko asset platform ID added to the response for /networks endpoint
Added interval daily params to /coins/id/ohlc
🗓️ May 22, 2023
The /coins//ohlc endpoint now supports the "interval=daily" parameter for Paid Plan Subscribers
Users can use this parameter to retrieve OHLC (Open/High/Low/Close) data on a daily interval for up to 180 days of date range.
## Included new fields🗓️ April 26, 2023
We've added 'watchlist_portfolio_users' field to /coins/ endpoint responses.
This refers to number of users who added the coin into a watchlist or portfolio.
Example of responses:
{
"id": "bitcoin",
......
"watchlist_portfolio_users": 1449601, 👈
"market_cap_rank": 1,
......
"tickers": []
}
Increased Rate Limit (Onchain/GT)
🗓️ April 19, 2023
We've increased the rate limit of Public Plan from 10 calls per minute to 30 calls per minute
Multiple Improvements (Onchain/GT)
🗓️ April 18, 2023
- base_token_native_currency and quote_token_native_currency added to the pools endpoint response. This allows you to obtain price in the network's native currency in addition to in USD
- reserve_in_usd added to the pools endpoint response. This returns the total liquidity/reserve of the pool in USD
- pool_created_at added to the pools endpoint response
Example of responses for /networks//pools/ :
{
"data": {
"id": "eth_0xeb2eae8a9912a09cb0f13bfafd5ad56cd263bb3f",
"type": "pool",
"attributes": {
"base_token_price_usd": "0.0000186523882966482",
"base_token_price_native_currency": "0.00000000647822280242372", 👈
"quote_token_price_usd": "2881.71870575097",
"quote_token_price_native_currency": "1.0", 👈
"base_token_price_quote_token": "0.000000006478222802",
"quote_token_price_base_token": "154363323",
"address": "0xeb2eae8a9912a09cb0f13bfafd5ad56cd263bb3f",
"name": "DGX-1 / WETH",
"pool_created_at": "2024-02-18T08:10:59Z", 👈
"fdv_usd": "784687",
"market_cap_usd": null,
"price_change_percentage": {
"h1": "34.67",
"h24": "8406.81"
},
"transactions": {},
"volume_usd": {},
"reserve_in_usd": "110214.6247" 👈
},
"relationships": {}
}
}
- /networks//new_pools endpoint added to query new pools discovered for a network
- /networks/new_pools endpoint added to query new pools discovered across all networks
Included new fields
🗓️ April 03, 2023
We've added "symbol" field to these NFT endpoints responses:
Example of responses:
{
"id": "pudgy-penguins",
"contract_address": "0xBd3531dA5CF5857e7CfAA92426877b022e612cf8",
"asset_platform_id": "ethereum",
"name": "Pudgy Penguins",
"symbol": "PPG", 👈
....
},
🗓️ March 27, 2023
We've added "links" field (e.g. homepage, twitter, discord) to these NFT endpoints responses:
Example of responses:
{
"id": "pudgy-penguins",
"contract_address": "0xBd3531dA5CF5857e7CfAA92426877b022e612cf8",
.......
"links": {
"homepage": "https://www.pudgypenguins.com/", 👈
"twitter": "https://twitter.com/pudgypenguins",👈
"discord": "https://discord.gg/pudgypenguins" 👈
},
.......
}
Introduced /coins/top_gainer_losers endpoint
🗓️ March 23, 2023
We've added /coins/top_gainers_losers endpoint exclusively for Paid Plan Subscribers.
Users can now get the top 30 coins with largest price gain and loss by a specific time duration with this endpoint.
Improved OHLCV endpoint (Onchain/GT)
🗓️ March 23, 2023
/networks//pools//ohlcv/ now returns more granularity day, hour, minute and multiple aggregates
🗓️ February 23, 2023
We've made some updates to the /coins/categories and /simple/token_price/id endpoints:
- Market cap and volume data for 'ecosystem' categories in the /coins/categories endpoint will now return 'null' until further notice. The CoinGecko team is actively working on improvements to provide more accurate data. If you have any feedback or suggestions, please reach out via api@coingecko.com.
- Previously, the /simple/token_price/ endpoint was unable to return data for some Solana coins. This issue has been resolved, and users can now expect accurate data for Solana coins from this endpoint.
Introduced /exchange/id/volume_chart/range endpoint
🗓️ February 15, 2023
We've introduced the /exchange//volume_chart/range endpoint for Paid Plan Subscribers.
This exclusive feature allows users to query full historical volume data of an exchange.
## Introduced /coins/list/new endpoint🗓️ January 09, 2023
We've introduced the /coins/list/new endpoint for Paid Plan Subscribers.
This exclusive feature allows users to query the latest 200 coins on CoinGecko.
1. Get data by ID or Address
Source: https://docs.coingecko.com/docs/1-get-data-by-id-or-address
Methods to query price & market data of coins
a. Coin ID
Using /simple/price endpoint as example:
-
https://pro-api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&x_cg_pro_api_key=YOUR_API_KEY -
The provided endpoint URL includes parameters such as
ids=bitcoinandvs_currencies=usd, indicating that the intention to retrieve the current price of Bitcoin in US Dollars.
How to obtain Coin ID aka API ID? There are 3 options:
-
Use /coins/list endpoint, example of responses:
```json JSON theme={null} [ ...... { "id": "bitcoin", 👈 "symbol": "btc", "name": "Bitcoin" }, ...... ] ``` -
View the full list of coins with API ID, symbol and name using this Google Sheet.
-
Look for the "API ID“ by visiting the info section of a coin page on CoinGecko:
b. Contract Address
Other than using Coin ID, you may also query price & market data of a coin using contract address, using /simple/token_price/{id} endpoint as example:
https://pro-api.coingecko.com/api/v3/simple/token_price/ethereum?contract_addresses=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&vs_currencies=usd&x_cg_pro_api_key=YOUR_API_KEY
There are 3 parameters values required to apply for this endpoint:
id:Ethereum(Asset Platform ID)contract_addresses:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48(Contract Address)vs_currencies:usd(Target Currencies)
How to obtain Coins/Tokens Contract Address
- Use /coins/list endpoint (
include_platform=true), example of responses:[ ...... { "id": "1inch", "symbol": "1inch", "name": "1inch", "platforms": { "ethereum": "0x111111111117dc0aa78b770fa6a738034120c302", "avalanche": "0xd501281565bf7789224523144fe5d98e8b28f267", "binance-smart-chain": "0x111111111117dc0aa78b770fa6a738034120c302", "near-protocol": "111111111117dc0aa78b770fa6a738034120c302.factory.bridge.near", "energi": "0xdda6205dc3f47e5280eb726613b27374eee9d130", "harmony-shard-0": "0x58f1b044d8308812881a1433d9bbeff99975e70c", "polygon-pos": "0x9c2c5fd7b07e95ee044ddeba0e97a665f142394f" } }, ...... ] - Look for the "Contract“ by visiting the info section of a coin page on CoinGecko.
- Not all coins will have a contract address listed on the CoinGecko site.
- If an address is not shown on the CoinGecko page, you will not be able to query the coin by its contract address via the API.
- The contract addresses are curated by the CoinGecko team, if you find out any missing contract address, feel free to share with us to review.
-
Get the token contract address from project website, white-paper, documentation, or block explorer site:
Specify target currency to return
In the 2 examples above, both queries for Coin ID and Contract Address contain vs_currencies=usd. Most of the CoinGecko API endpoints will require you to specify the currency.
CoinGecko API data supports all major fiat currencies and some famous crypto currencies like the following:
| Type | Currency | vs_currencies (Param value) |
|---|---|---|
| Fiat | US Dollar | usd |
| Fiat | Japanese Yen | jpy |
| Fiat | Euro | eur |
| Cryptocurrency | Bitcoin | btc |
| Cryptocurrency | Ether | eth |
| Cryptocurrency | Binance Coin | bnb |
For full list of supported currencies, please go to /simple/supported_vs_currencies endpoint
Other way to obtain coin prices & market data
Using /coins/market endpoint as example to query prices and market data of coins in bulk
https://pro-api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=100&page=1&x_cg_pro_api_key=YOUR_API_KEY
There are 4 parameters values applied for this endpoint:
vs_currency:usdorder:market_cap_desc— The endpoint response will be sorted in descending order, from the coins with the largest market cap to those with the smallest.per_page:100— The results of coins per page are set at 100 in this case (maximum is 250).page:1— The page number of the results is determined by the parameterper_page. In the case ofper_page=100andpage=2, the responses will include coins ranked 101 to 200 on CoinGecko, sorted by market cap, as per the specified endpoint.
10-mins Tutorial Guide
Source: https://docs.coingecko.com/docs/10-mins-tutorial-guide
New to CoinGecko API? Fret not. Whether you're a programmer or someone with zero coding experience, we've got you covered!
If you are not a developer and prefer to learn only specific tutorials on Google Sheet/Excel, feel free to check 👶 Tutorials (Beginner-friendly)
| Tutorial Steps | Description |
|---|---|
| 1. Get data by ID or Address | Learn how to use different endpoints by obtaining Coin ID and token's contract address at first. |
| 2. Get Historical Data | Learn how to get historical data of a coin by using different historical endpoints. |
| 3. Get Exchanges & NFT Data | Learn how to query exchanges and NFT data by accessing different endpoints. |
| 4. Get On-chain Data | Learn how to use /onchain GT endpoints to query onchain data. |
2. Get Historical Data
Source: https://docs.coingecko.com/docs/2-get-historical-data
### **Tips**- Most of the historical data are returned and queried using UNIX Timestamp.
- If you are not familiar with UNIX Timestamp, you may use tool like epochconverter.com to convert between UNIX Timestamp and human readable date.
- You may use either coin ID or contract address to get the historical data.
There are five different endpoints to get historical data of a coin:
| Endpoint | Description |
|---|---|
| /coins/{id}/history | Get the historical data (price, market cap, 24hrs volume, etc.) at a given date for a coin based on a particular coin ID. |
| /coins/{id}/market_chart | Get the historical chart data of a coin including time in UNIX, price, market cap and 24hrs volume based on particular coin ID. |
| /coins/{id}/market_chart/range | Get the historical chart data of a coin within certain time range in UNIX along with price, market cap and 24hrs volume based on particular coin ID. |
| /coins/{id}/contract/{contract_address}/market_chart | Get the historical chart data of a coin including time in UNIX, price, market cap and 24hrs volume based on token contract address. |
| /coins/{id}/contract/{contract_address}/market_chart/range | Get the historical chart data of a coin within certain time range in UNIX along with price, market cap and 24hrs volume based on token contract address. |
The data granularity (interval) for /market_chart and /market_chart/range endpoints is automatic and based on the date range:
- 1 day from current time = 5-minutely data
- 1 day from anytime (except from current time) = hourly data
- 2-90 days from current time or anytime = hourly data
- above 90 days from current time or anytime = daily data (00:00 UTC)
3. Get Exchanges & NFT Data
Source: https://docs.coingecko.com/docs/3-get-exchanges-nft-data
You can get Exchange and NFT data just like how you get the coins data:
- Get the ID (exchange or NFT) from
/listendpoint. - Use the ID to query latest or historical market data
| Type | Coins | NFTs | Exchanges | Derivatives |
|---|---|---|---|---|
| Get Full List with IDs | /coins/list | /nfts/list | /exchanges/list | /derivatives/exchanges/list |
| Get latest market data | /coins/{id} | /nfts/{id} | /exchanges/{id} | /derivatives/exchanges/{id} |
| Get Historical Data | /coins/{id}/market_chart | /nfts/{id}/market_chart | /exchanges/{id}/volume_chart | /exchanges/{id}/volume_chart |
4. Get On-chain Data
Source: https://docs.coingecko.com/docs/4-get-on-chain-data
Here are some of the important parameters to take note while using Onchain DEX API Endpoints:
- Blockchain Networks
- DEXs
- Pool Contract Address
- Token Contract Address
Blockchain Networks
### Notes-
Please do not use CoinGecko Asset Platform ID as the Network ID in Onchain DEX API Endpoints (CoinGecko Asset Platform ID ≠ GT Network ID)
-
Example:
- Asset Platform on CoinGecko:
ethereum - Onchain Network ID:
eth
- Asset Platform on CoinGecko:
How to obtain Network ID?
-
Use /onchain/networks endpoint, example of response:
```json JSON theme={null} { "data": [ { "id": "eth", 👈 Network ID "type": "network", "attributes": { "name": "Ethereum", "coingecko_asset_platform_id": "ethereum" 👈 CoinGecko Asset Platform ID } }, ...... ] } ``` -
Go to GeckoTerminal
-
Select or search for a blockchain network.
-
Copy the slug from the URL:
-
DEXs
Some of the pools endpoints require you to provide DEX ID along with Network ID to query the pools on a particular DEX (Decentralized Exchange).
Using /onchain/networks/{network}/dexes/{dex}/pools as example:
https://pro-api.coingecko.com/api/v3/onchain/networks/eth/dexes/uniswap_v3/pools?x_cg_pro_api_key=YOUR_API_KEY
There are 2 parameter values required to apply for this endpoint:
network:eth(network ID)dex:uniswap_v3(DEX ID)
How to obtain DEX ID?
-
Use /onchain/networks/{network}/dexes endpoint, example of response:
```json JSON theme={null} { "data": [ { "id": "uniswap_v2", 👈 DEX ID "type": "dex", "attributes": { "name": "Uniswap V2" } }, ...... ] } ``` -
Go to GeckoTerminal
-
Select or search for a blockchain network.
-
Choose the DEX from the DEXs List on the top (e.g. Uniswap V3).
-
Copy the slug from the URL:
-
Methods to query Onchain Data
a. Pool Contract Address
Most of the time, you will need a pool contract address along with Network ID to query the onchain data, especially when using the Pools Endpoints.
Using /onchain/networks/{network}/pools/{address} as example:
https://pro-api.coingecko.com/api/v3/onchain/networks/eth/pools/0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc?x_cg_pro_api_key=YOUR_API_KEY
There are 2 parameter values required to apply for this endpoint:
network:eth(network ID)address:0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc(pool contract address)
How to obtain the pool contract address? (e.g.WETH/USDC)
-
Look for the contract address section of pool page on GeckoTerminal:
-
Get the pool contract address from the project website, white-paper, documentation, or block explorer site:
b. Token Contract Address
Apart from the pool contract address, you also have the option to query onchain data by using the token contract address, using /onchain/networks/{network}/tokens/{token_address}/pools as example:
https://pro-api.coingecko.com/api/v3/onchain/networks/eth/tokens/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/pools?x_cg_pro_api_key=YOUR_API_KEY
There are 2 parameter values required to apply for this endpoint:
network:eth(network ID)address:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48(token contract address)
How to obtain tokens contract address (e.g. UNI):
-
Look for the contract address section of pool page on GeckoTerminal:
-
Get the token contract address from the project website, white-paper, documentation, or block explorer site. For example:
AI Prompts
Source: https://docs.coingecko.com/docs/ai-prompts
CoinGecko API AI prompt library
Accelerate your development with CoinGecko's curated AI prompts. These prompts are designed to guide AI-powered coding assistants in correctly implementing our official API SDKs (libraries), helping you spend less time debugging and more time building.
How to Use Our Prompts
Integrating these prompts into your workflow is simple. Copy the entire markdown prompt for your chosen language and provide it as context to your AI assistant.
- For Chat Interfaces (Claude, ChatGPT, etc.): Paste the prompt at the beginning of your conversation before asking the AI to write code.
- For Cursor IDE: Add the prompt to your project's
Rulesto enforce the guidelines across all AI interactions. - For GitHub Copilot: Save the prompt to a file (e.g.
coingecko_rules.md) and reference it in your chat with@workspace #coingecko_rules.md.
Available Prompts
Select the prompt that matches your project's tech stack.
- 🐍 Python: A complete guide for implementing the CoinGecko API using our official coingecko-sdk.
- 🟦 TypeScript: The definitive prompt for integrating the CoinGecko API with our official @coingecko/coingecko-typescript package.
Best Practices
To get the most out of our AI prompts, keep these tips in mind:
- Be Specific: After providing the main prompt, give the AI a clear, specific task (e.g. "Write a function to fetch the price of Bitcoin and Ethereum in EUR").
- Customize: Feel free to modify the prompts to fit your project's unique requirements or coding standards.
- Version Control: Store your customized prompts in your repository to ensure your entire team benefits from consistent AI-generated code.
- Always Review: Treat AI-generated code as a starting point. Always review it for security, performance, and correctness.
API Status
Source: https://docs.coingecko.com/docs/api-status
CoinGecko's API status page provides information on the current status and incident history of CoinGecko API (Public & Pro)
### **Tips**- You can view our live updates, and subscribe to updates via Email, Slack and Discord.
- Instead of subscribing to all updates, you may click on 'Select services' to subscribe to either Public or Pro API updates.
- CoinGecko API Status — https://status.coingecko.com
- Incident & Maintenance History — https://status.coingecko.com/incidents
- Uptime Calendar — https://status.coingecko.com/incidents/uptime-calendar
Best Practices
Source: https://docs.coingecko.com/docs/best-practices
Wonder how to use different endpoints together? This is the perfect place for you
User Journey for CoinGecko API Endpoints
"Discovery/Navigational Endpoints"
Examples:
- /coins/list — can be used to query all the supported coins on CoinGecko with names, symbols and coin IDs that can be used in other endpoints.
- /search/trending — can be used to query trending search coins, categories and NFTs on CoinGecko.
"Supporting Endpoints"
Examples:
- /simple/supported_vs_currencies — can be used to query the list of currencies for other endpoints that include parameters like
vs_currencies, allowing to obtain the corresponding data for those currencies. - /asset_platforms — can be used to query the list of asset platforms for other endpoints that contain parameters like
idorids(asset platforms), allowing the retrieval of corresponding data for these asset platforms.
"Data Endpoints"
Examples:
- /simple/price — can be used to query the prices of coins using the unique coin IDs that can be obtained from the "Discovery/Navigational Endpoints" mentioned above.
- /coins/{id} — can be used to query the coin data using the unique coin IDs that can be obtained from the "Discovery/Navigational Endpoints" mentioned above.
User Journey for Onchain DEX API Endpoints (GeckoTerminal data)
"Discovery/Navigational Endpoints"
Examples:
- /onchain/trending_pools - can be used to query trending pools across all networks on GeckoTerminal.
- /onchain/search/pools - can be used to search for any pools on GeckoTerminal.
"Supporting Endpoints"
Examples:
- /onchain/networks-list - can be used to query all the supported networks on GeckoTerminal.
- /onchain/networks/{network}/dexes - can be used to query all the supported decentralized exchanges (DEXs/
dexes) on GeckoTerminal based on network id that can be obtained from the endpoint mentioned above.
"Data Endpoints"
Examples:
- /onchain/simple/networks/{network}/token_price/{addresses} - can be used to query any token price using the token address and network id that can be obtained from the "Discovery/Navigational Endpoints" and "Supporting Endpoints" mentioned above.
- /onchain/networks/{network}/pools/{address} - can be used to query the data of a specific pool based on the pool address and network id that can be obtained from the "Discovery/Navigational Endpoints" and "Supporting Endpoints" mentioned above.
Building with AI
Source: https://docs.coingecko.com/docs/building-with-ai
Quick tips to empower your AI applications with CoinGecko API, and leverage our AI capabilities to help you build better and easier.
CoinGecko provides a powerful suite of AI-native tools to help you integrate real-time, historical, and onchain market data into your applications. Whether you're building a sophisticated trading bot, a market analysis tool, or a simple portfolio tracker, our AI toolkit is here to accelerate your development.
Using llms.txt
To help AI models interact with CoinGecko data effectively, we provide an llms.txt file at /llms-full.txt. This file gives models context on how to best query our API, ensuring more accurate and efficient data retrieval. We recommend utilizing this in your integrations of MCP and AI applications.
CoinGecko MCP Server
The MCP (Model-Context-Protocol) Server is your gateway for connecting AI agents and large language models, like Claude and Gemini, directly to CoinGecko's live data streams. It's ideal for building conversational applications that can perform complex, real-time crypto analysis and answer user queries with up-to-the-minute information. Learn how to connect your AI agent by checking out CoinGecko MCP Server
Tools for Your Workflow
We've integrated AI assistance directly into our documentation to help you find answers and ship faster.
- Use the 'Copy page' button to copy endpoint-specific markdown prompts. You can take these prompts to your favorite LLM chat interface to explore use cases or generate boilerplate code.
- Stuck on a problem? Click the 'AI Support' button anywhere in our docs to chat with our AI Assistant. It's trained to resolve your inquiries instantly.
Clients
Source: https://docs.coingecko.com/docs/clients
Explore client resources, including official Swagger JSON and unofficial Python wrapper
API Swagger JSON (OAS)
-
- CoinGecko Pro API — coingecko-pro.json
- GeckoTerminal Onchain API (Pro) — onchain-pro.json
-
- CoinGecko Public/Demo API — coingecko-demo.json
- GeckoTerminal Onchain API (Demo) — onchain-demo.json
Official CoinGecko API SDK
Here are the official API SDKs maintained by us.
Want us to support your favorite programming language? Let us know here!
Not a developer? Fred not, check our no-code tutorial for beginners here: Tutorials (Beginner-friendly)
Common Errors & Rate Limit
Source: https://docs.coingecko.com/docs/common-errors-rate-limit
Common Errors
The server responds to a user’s request by issuing status codes when the request is made to the server. Kindly refer to the table below to further understand the status codes when indicating the success or failure of an API call.
| Status Codes | Description |
|---|---|
400 (Bad Request) |
This is due to an invalid request and the server could not process the user's request |
401 (Unauthorized) |
This is due to the lack of valid authentication credentials for the requested resource by the user |
403 (Forbidden) |
This is likely indicating that your access is blocked by our server, and we're unable to authorize your request |
408 (Timeout) |
This error indicates that our server did not receive your complete request within our allowed time frame. This is usually caused by a slow network connection on your end or network latency. Please check your connection and try sending the request again. |
429 (Too many requests) |
This is likely indicating that the rate limit has reached. The user should reduce the number of calls made, or consider scaling their service plan that has much higher rate limits and call credits |
500 (Internal Server Error) |
This is a generic error response indicating that the server has encountered an unexpected issue that prevented it from fulfilling the request |
503 (Service Unavailable) |
The service is currently unavailable. Please check the API status and updates on https://status.coingecko.com |
1020 (Access Denied) |
This is due to violation of CDN firewall rule |
10005 |
You may not have access to this endpoint. e.g. 'This request is limited Pro API subscribers'. You may wanna subscribe to a paid plan here |
10002 (Missing API Key) |
API Key Missing. Please make sure you're using the right authentication method. For Pro API, ensure you pass in x_cg_pro_api_key parameter with a Pro Key.For Demo API, ensure you pass in x_cg_demo_api_key parameter with a Demo Key. |
10010 (Invalid API Key) |
You have provided incorrect API key credentials. If you are using Pro API key, please change your root URL from api.coingecko.com to pro-api.coingecko.com |
10011 (Invalid API Key) |
You have provided incorrect API key credentials. If you are using Demo API key, please change your root URL from pro-api.coingecko.com to api.coingecko.com |
| CORS error | Occurs when the server doesn't return the CORS headers required. You may learn more and attempt the recommended solutions here |
Rate Limit
### **Notes**-
If you're using the Public API with Google Sheet and got hit with error, this is due to the IP sharing among Google Sheet users, and we have no control over this.
-
If you need reliable performance, please register for a demo account or subscribe to a paid plan that comes with dedicated infra (API key) to prevent rate limit issues.
-
For more details, please go to the page here.
-
For Public API user (Demo plan), the rate limit is ~30 calls per minutes and it varies depending on the traffic size.
-
If you're Pro API user (any paid plan), the rate limit is depending on the paid plan that you're subscribed to.
-
Regardless of the HTTP status code returned (including
4xxand5xxerrors), all API requests will count towards your minute rate limit.
Common Use Cases
Source: https://docs.coingecko.com/docs/common-use-cases
Discover the common use cases of CoinGecko API by our users
1. Get Coins Logo Images
-
Use /coins/id endpoint.
- This endpoint can be used to query other coin's metadata like: links, categories, contract address, community, description in different languages and many more.
- Coin descriptions may include newline characters represented as
\r\n(escape sequences), which may require processing for proper formatting.
-
Use Token Info by Token Address endpoint to get metadata of tokens listed on GeckoTerminal.com.
2. Best Endpoint for Latest Crypto Price
- Use /simple/price endpoint.
- This endpoint can be used to query other market data like market cap, 24-hour trading volume and 24-hour price change percentage.
3. Get All Trading Pairs (Tickers) of a Coin
- Use /coins/id/tickers endpoint.
4. Get Trading Pairs of Specific Coins from a Specific Exchange
- Use /coins/id/tickers endpoint by supplying specific exchange ID.
5. Building Telegram Bot for Latest Coin Listings
- Use /coins/list/new endpoint.
6. Get List of Coins Under Specific Category
- For CoinGecko categories, use /coins/markets endpoint by supplying specific category.
- For GeckoTerminal categories, use Pools by Category ID endpoint by supplying specific category.
7. Identify DEX Decentralized Exchanges
-
Use /exchanges/list endpoint to get full list of exchanges with ID on CoinGecko.
-
Use /exchanges/id to find out whether the exchange is centralized or decentralized.
-
Example of responses (using Uniswap V3 as example) :
Since Uniswap is a DEX, therefore it shows
```json JSON theme={null} { "name": "Uniswap V3 (Ethereum)", ...... "centralized": false, 👈 ...... "tickers": [], "status_updates": [] } ```"centralized": false
8. Get Bitcoin Dominance Data (BTC.D)
-
Use /global endpoint.
-
Example of responses:
```json JSON theme={null} { "data": { "active_cryptocurrencies": 12414, ...... "market_cap_percentage": { 👈 "btc": 47.82057011844006,👈 "eth": 16.943340351591583, ...... }, "market_cap_change_percentage_24h_usd": -5.032104325648996, "updated_at": 1706002730 } } ```
9. Get Market Cap or Dominance of a Specific Ecosystem
- Use /coins/categories.
- The endpoint also returns the 24-hour percentage change, offering insights into the traction of different categories or ecosystems.
10. Get Token Lists of a Specific Blockchain Network
- Use /token_lists/asset_platforms_id/all.json endpoint.
- Supply asset platform id to the endpoint.
11. Get 7-Day Sparkline Price Data of a Coin
- Use /coins/id or /coins/markets endpoints by flagging
sparkline = true.
12. Get Link to Individual CoinGecko Coin Page
- Use /coins/list endpoint to get the coin
{ID}.- Supply API ID in this URL path format:
www.coingecko.com/en/coins/{ID}
- Supply API ID in this URL path format:
- If you wish to the obtain the URL slug of a specific CoinGecko Coin Page, e.g.
www.coingecko.com/en/coins/{web_slug}you may use /coin/id endpoint and obtain the{web_slug}value.
13. Check Coin Status and Stale Price Updates
- Active: use /coins/list endpoint, only active coins will be shown by default. You may also flag
status=inactiveto get a list of inactive coins. - Price Stale: use /simple/price endpoint, flag
include_last_updated_at=trueto check latest update time.
14. Get Real-Time and Historical Exchange of BTC in USD
- Current exchange rate: use /exchange_rates endpoint.
- Historical exchange rate: use /coins/id/history or /coins/id/market_chart endpoints.
15. Get Watchlist Portfolio Data of a Coin
-
Use /coins/id endpoint by supplying coin ID.
-
Example of responses:
```json JSON theme={null} { "id": "bitcoin", ...... "watchlist_portfolio_users": 1487932, 👈 "market_cap_rank": 1, ...... } ```
16. Get Historical Data for Inactive Coins
Note: This is available for paid plan subscribers only.
-
Use /coins/list endpoint, specifying the status param as
inactive. -
Example of endpoint request:
https://pro-api.coingecko.com/api/v3/coins/list?include_platform=false&status=inactive&x_cg_pro_api_key=YOUR_API_KEY -
Retrieve the coin's ID from the endpoint mentioned above and use it to access historical data via the following endpoints:
17. Get TVL (Total Value Locked) data of a Coin
-
Use /coins/id endpoint by supplying coin ID.
-
Example of responses:
```json JSON theme={null} "total_value_locked": { "btc": 72324, "usd": 4591842314 } ```
18. Query Search for Coins, Categories, NFTs, Exchanges, and Pools
We have 2 Search endpoints:
- /search endpoint allows you to search for coins, categories, exchanges (markets), and NFTs listed on CoinGecko.com. You may query by name or symbol.
- /search-pools endpoint allows you to search for pools listed on GeckoTerminal.com. You may query by pool contract address, token contract address, or token symbol.
19. Get List of Blockchain Networks supported on CoinGecko and GeckoTerminal.
CoinGecko and GeckoTerminal support different sets of blockchain networks. You can use the following endpoints to find the list of supported networks and their respective IDs:
- CoinGecko: /asset-platforms-list
- GeckoTerminal (onchain endpoints): /networks-list
20. Get Native Coin of a Blockchain Network (Asset Platform)
You may use the /asset-platforms-list endpoint to obtain the native coin ID of all networks (asset platforms) listed on www.coingecko.com.
21. Get Liquidity data of a Liquidity Pool or Token
There are multiple onchain endpoints that provide the liquidity data (reserve_in_usd) of a pool, for example: Specific Pool Data by Pool Address. You may also get liquidity data (total_reserve_in_usd) of a token, using endpoints like: Token Data by Token Address.
Note: reserve_in_usd (pool) represents the total liquidity of all tokens within a specific pool, whereas total_reserve_in_usd (token) refers to the total liquidity portion attributable to a specific token across all available pools.
22. Get list of onchain DEX pools based on specific criteria
-
Use /pools/megafilter to retrieve data for onchain DEX pools that match a given set of filters.
-
Example of use cases:
- Custom filtering: Combine multiple params — like liquidity thresholds, FDV ranges, 24-hour volume, and more — to extract the precise datasets you need.
- Risk and Quality checks: Apply fraud filters to weed out risky projects.
-
For more details on examples and available filters, refer to:
23. Get List of Trending Coins
-
Use the following endpoints to get trending coins and pools:
- Trending Search List — Trending Coins, NFTs, Categories on CoinGecko.com, based on user searches.
- Trending Search Pools — Trending Pools and Tokens on GeckoTerminal.com, based on user searches.
-
Other useful endpoints:
- Top Gainers & Losers on CoinGecko.com, by specific time duration.
- Trending Pools List and Trending Pools by Network on GeckoTerminal.com, by specific time duration.
24. Get Security Info of Tokens
-
By using Token Info by Token Address endpoint, you can obtain the following security related data:
- GeckoTerminal Score (Pool, Transaction, Creation, Info, Holders)
- Holders count and distribution percentage
- Mint and Freeze Authority
25. Get Latest Token/Pool Data from Launchpad
- Use megafilter endpoint to retrieve latest launchpad data, by flagging
sort=pool_created_at_desc. Learn more on changelog. - Request example (Get latest pools on Pump.fun):
⚡️ Need Real-time Data Streams? Try WebSocket API
With WebSocket, you can now stream ultra-low latency, real-time prices, trades, and OHLCV chart data.
Subscribe to our paid API plan (Analyst plan & above) to access WebSocket and REST API data delivery methods.
Endpoint Showcase
Source: https://docs.coingecko.com/docs/endpoint-showcase
Discover how CoinGecko API is used at CoinGecko.com and GeckoTerminal.com
CoinGecko
Home Page
- /global — Display global crypto data such as number of active cryptocurrencies, exchanges and etc.
- /search/trending — Display trending search coins, NFTs and categories.
- /coins/top_gainers_losers — Display the largest gainers in 24hr.
- /coins/categories — Display all the categories list.
- /coins/markets — Display all the supported coins with market related data.
Coin Page
- /coins/{id} — Display all the coin data including name, price, market related data, website, explorers and etc.
- /simple/price — Display data such as latest coin price, market cap and 24hr trading volume.
-
- /coins/{id}/history — Display the historical price data.
- /coins/{id}/market_chart — Display the historical data in line chart.
- /coins/{id}/ohlc — Display the historical data in candlestick chart.
Exchanges Page
- /exchanges/{id} — Display the exchange information such as name, type, market related data such as trading volume and etc.
- /exchanges/{id}/volume_chart — Display the historical volume chart data.
- /exchanges/{id}/tickers — Display the exchange's tickers.
NFTs Page
- /nfts/{id} — Display NFT data such as name, contract address, website, market related data such as floor price, market cap, volume and etc.
- /nfts/{id}/market_chart — Display the historical market data in chart.
- /nfts/{id} — Display the description of the NFT collection.
- /nfts/{id}/tickers — Display the tickers of the NFT collection on different NFT marketplace.
GeckoTerminal
Home Page
- /onchain/search/pools — Allow users to search for pools on GeckoTerminal.
- /onchain/networks — Display a list of supported networks on GeckoTerminal.
- /onchain/networks/trending_pools — Display a list of trending pools across all networks on GeckoTerminal.
- /onchain/networks/new_pools — Display all the latest pools across all networks on GeckoTerminal.
- /onchain/categories — Display all the onchain categories on GeckoTerminal.
Chain Page
- /onchain/networks/{network}/dexes — Display all the supported dex on a network on GeckoTerminal.
- /onchain/networks/{network}/trending_pools — Display a list of trending pools on a network on GeckoTerminal.
- /onchain/networks/{network}/new_pools — Display a list of new pools on a network on GeckoTerminal.
- /onchain/networks/{network}/pools — Display all the top pools on a network on GeckoTerminal.
- /onchain/categories/{category_id}/pools — Display all the pools under a specific onchain category on GeckoTerminal.
Pool Page
-
- /onchain/networks/{network}/pools/{address} — Display pool data such as price, transactions, volume and etc.
- /onchain/networks/{network}/pools/{pool_address}/info — Display pool information such as name, symbol, image URL, description and etc.
- /onchain/networks/{network}/pools/{pool_address}/ohlcv/{timeframe} — Display the OHLCV chart of the pool.
- /onchain/networks/{network}/pools/{pool_address}/trades — Display the trades of the pool in the past 24 hours.
Categories Page
- /onchain/categories — Display list of onchain categories with market data.
- /onchain/categories/{id}/pools — Display list of pools with market data of a specific onchain category.
CoinGecko MCP Server (Beta)
Source: https://docs.coingecko.com/docs/mcp-server
MCP Server for Crypto Price & Market Data. MCP (Model Context Protocol) is an open standard that allows Large Language Model (LLM) and other AI agents to securely and intelligently interact with external data sources and tools.
### Welcome to the CoinGecko MCP Server!
CoinGecko MCP Server is currently in Beta. We're constantly improving, and your feedback is crucial. Please share any thoughts or suggestions via this feedback form.
📕 Overview
The official CoinGecko MCP Server is now live, making CoinGecko data readily available to your AI models and applications. With the CoinGecko MCP, you can empower your agents to:
- Access real-time market data: Get aggregated prices, market cap, and trading volume for over 15k+ coins on CoinGecko, integrated across 1,000+ exchanges.
- Dive into onchain analytics: Query onchain DEX price and liquidity data for more than 8M tokens across 200+ networks via GeckoTerminal.
- Discover market trends: Instantly find trending coins, new token listings, top gainers/losers, and popular NFT collections.
- Retrieve rich metadata: Pull essential details like project descriptions, logos, social links, contract addresses, security info, and more.
- Analyze historical performance: Access historical price, market data, and OHLCV for any cryptocurrency.
- Explore crypto categories: Effortlessly list coins within specific sectors like Meme, DeFi, Layer 1, AI agent, and more.
🔥 Getting Started
Connecting your AI to CoinGecko is simple. We offer several MCP server options to fit your needs, from keyless access for testing to authenticated connections for production applications.
Most MCP-compatible clients, like Claude Desktop, Gemini CLI, and Cursor, can be configured using a simple JSON file (e.g., claude_desktop_config.json)
- Make sure your device has
nodeinstalled. You can download it from nodejs.org/download
Which MCP Server Should You Use?
Here's a breakdown of the available options to help you choose the right one:
| MCP Server Type | Best For | Endpoints | Status | Setup Details |
|---|---|---|---|---|
| Remote Server (Public, Keyless) | - First-time users, quick tests, and basic queries - Connect instantly without any registration - Subject to shared rate limits, not for heavy use |
Primary: /mcpAlternative: /sse |
Public Beta | mcp.api.coingecko.com |
| Remote Server (Authenticated) | - Scalable apps, AI agent integrations - Unlocks 76+ tools available under your Demo/Pro plan - Higher, reliable rate limits with 24/7 uptime. Get your API key here |
Primary: /mcpAlternative: /sse |
Public Beta | mcp.pro-api.coingecko.com |
| Local Server | - Ideal for local development, desktop AI apps - Build/test your AI app even without an active internet connection - Demo/Pro API key to access more tools. Get your API key here |
Local server instance | Beta | npmjs/coingecko-mcp |
🔗 Endpoint Options
Each remote server offers two connection methods to ensure compatibility with various MCP clients:
Primary Endpoint (HTTP Streaming)
- Public Server:
https://mcp.api.coingecko.com/mcp - Pro Server:
https://mcp.pro-api.coingecko.com/mcp - Uses HTTP streaming protocol for real-time data transfer.
- Recommended for most modern MCP clients.
Alternative Endpoint (SSE — Server-Sent Events)
- Public Server:
https://mcp.api.coingecko.com/sse - Pro Server:
https://mcp.pro-api.coingecko.com/sse - Uses Server-Sent Events for compatibility.
- Use this if you encounter connection issues with the primary endpoint.
Remote Server (Public, Keyless)
The easiest way to get started. Just add the following to your client's mcp_config.json file.
The file name and location depend on your client. Find your config file here: modelcontextprotocol.io/quickstart
Add the following configuration to your mcp_config.json:
Here's a quick 2-minute tutorial for setting up the public server with Claude Desktop: