Power AI Agents with Coingecko's Crypto Market & On-chain Data
Power AI Agents with Coingecko's Crypto Market & On-chain Data
Give AI agents real-time and historical crypto prices, DEX data and token metadata across 360+ networks. Connect via a free keyless MCP server, Agent Skill, CLI, SDKs or x402 pay-per-request.
Give AI agents real-time and historical crypto prices, DEX data and token metadata across 360+ networks. Connect via a free keyless MCP server, Agent Skill, CLI, SDKs or x402 pay-per-request.
Hows Bitcoin doing?
BTC vs. ETH
24h top gainers
Hows Bitcoin doing?
BTC vs. ETH
24h top gainers
Why developers_ choose us
Extensive. Fast. Reliable. Enterprise-Grade.
Weโre always making our API better with more endpoints, greater data granularity and lower latency. See whatโs new โ

51M+ Tokens
Complete token coverage with on-chain data
Trusted by Industry Builders
Enterprise-Grade Service
Enjoy tailored integration guidance, 24/7 dedicated support, and a custom API plan designed to scale with your business.
13+ Years
Of Historical Data
Up to Sub-second
Real-time Data Update
99.9% Uptime SLA
Enterprise-grade infrastructure
10 billion
Monthly API calls
360+
Networks
2,000+
Exchanges
Coingecko API is SOC 2 Type 2 compliant. Our systems and processes meet rigorous industry standards to safeguard data.
Why developers_ choose us
Extensive. Fast. Reliable. Enterprise-Grade.
Weโre always making our API better with more endpoints, greater data granularity and lower latency. See whatโs new โ

51M+ Tokens
Complete token coverage with on-chain data
Trusted by Industry Builders
Enterprise-Grade Service
Enjoy tailored integration guidance, 24/7 dedicated support, and a custom API plan designed to scale with your business.
13+ Years
Of Historical Data
Up to Sub-second
Real-time Data Update
99.9% Uptime SLA
Enterprise-grade infrastructure
10 billion
Monthly API calls
360+
Networks
2,000+
Exchanges
Coingecko API is SOC 2 Type 2 compliant. Our systems and processes meet rigorous industry standards to safeguard data.
Why developers_ choose us
Extensive. Fast. Reliable. Enterprise-Grade.
Weโre always making our API better with more endpoints, greater data granularity and lower latency. See whatโs new โ

51M+ Tokens
Complete token coverage with on-chain data
Trusted by Industry Builders
Enterprise-Grade Service
Enjoy tailored integration guidance, 24/7 dedicated support, and a custom API plan designed to scale with your business.
13+ Years
Of Historical Data
Up to Sub-second
Real-time Data Update
99.9% Uptime SLA
Enterprise-grade infrastructure
10 billion
Monthly API calls
360+
Networks
2,000+
Exchanges
Coingecko API is SOC 2 Type 2 compliant. Our systems and processes meet rigorous industry standards to safeguard data.
Designed for developers_
Enhance Your AI with Reliable Crypto Market Data
On-chain Prices & Market Data
Fetch real-time and historical data including prices, market cap, volume, and more.
Live data updated every 20 seconds
// Get live prices and market data{ "bitcoin": { "usd": 67187.3358936566, "usd_market_cap": 1317802988326.25, "usd_24h_vol": 31260929299.5248, "usd_24h_change": 3.63727894677354, "last_updated_at": 1711356300 }}// Get on-chain token prices and market data{ "data": { "id": "1ba898f0-eda2-4291-9491-9a5b323f66ef", "type": "simple_token_price", "attributes": { "token_prices": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "3399.24368371279" }, "market_cap_usd": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "10005535878.50094" }, "h24_volume_usd": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "2544539948.02599" } } }}On-chain Prices & Market Data
Fetch real-time and historical data including prices, market cap, volume, and more.
Live data updated every 20 seconds
// Get live prices and market data{ "bitcoin": { "usd": 67187.3358936566, "usd_market_cap": 1317802988326.25, "usd_24h_vol": 31260929299.5248, "usd_24h_change": 3.63727894677354, "last_updated_at": 1711356300 }}// Get on-chain token prices and market data{ "data": { "id": "1ba898f0-eda2-4291-9491-9a5b323f66ef", "type": "simple_token_price", "attributes": { "token_prices": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "3399.24368371279" }, "market_cap_usd": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "10005535878.50094" }, "h24_volume_usd": { "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "2544539948.02599" } } }}New & Trending Tokens
Retrieve data on trending coins, top gainers, and popular narratives to spot market opportunities
Track newly launched tokens and liquidity pools
// Get trending pools across all networks{ "data": [ { "id": "eth_0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "type": "pool", "attributes": { "base_token_price_usd": "3653.12491645176", "base_token_price_native_currency": "1.0", "quote_token_price_usd": "0.998343707926245", "quote_token_price_native_currency": "0.000273040545093221", "base_token_price_quote_token": "3662.46", "quote_token_price_base_token": "0.00027304", "address": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "name": "WETH / USDC 0.05%", "pool_created_at": "2021-12-29T12:35:14Z", "fdv_usd": "11007041041", "market_cap_usd": null, "price_change_percentage": { "m5": "0", "h1": "0.51", "h6": "0.86", "h24": "7.71" }, "transactions": { "m5": { "buys": 7, "sells": 2, "buyers": 7, "sellers": 2 }, "m15": { "buys": 19, "sells": 27, "buyers": 19, "sellers": 27 }, "m30": { "buys": 49, "sells": 61, "buyers": 45, "sellers": 57 }, "h1": { "buys": 97, "sells": 144, "buyers": 83, "sellers": 124 }, "h24": { "buys": 2966, "sells": 3847, "buyers": 1625, "sellers": 2399 } }, "volume_usd": { "m5": "868581.7348314", "h1": "16798158.0138526", "h6": "164054610.850188", "h24": "536545444.904535" }, "reserve_in_usd": "163988541.3812" }, "relationships": { "base_token": { "data": { "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "type": "token" } }, "quote_token": { "data": { "id": "eth_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "type": "token" } }, "dex": { "data": { "id": "uniswap_v3", "type": "dex" } } } } ], "included": [ { "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "type": "token", "attributes": { "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "name": "Wrapped Ether", "symbol": "WETH", "image_url": "https://assets.coingecko.com/coins/images/2518/small/weth.png?1696503332", "coingecko_coin_id": "weth" } } ]}New & Trending Tokens
Retrieve data on trending coins, top gainers, and popular narratives to spot market opportunities
Track newly launched tokens and liquidity pools
// Get trending pools across all networks{ "data": [ { "id": "eth_0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "type": "pool", "attributes": { "base_token_price_usd": "3653.12491645176", "base_token_price_native_currency": "1.0", "quote_token_price_usd": "0.998343707926245", "quote_token_price_native_currency": "0.000273040545093221", "base_token_price_quote_token": "3662.46", "quote_token_price_base_token": "0.00027304", "address": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640", "name": "WETH / USDC 0.05%", "pool_created_at": "2021-12-29T12:35:14Z", "fdv_usd": "11007041041", "market_cap_usd": null, "price_change_percentage": { "m5": "0", "h1": "0.51", "h6": "0.86", "h24": "7.71" }, "transactions": { "m5": { "buys": 7, "sells": 2, "buyers": 7, "sellers": 2 }, "m15": { "buys": 19, "sells": 27, "buyers": 19, "sellers": 27 }, "m30": { "buys": 49, "sells": 61, "buyers": 45, "sellers": 57 }, "h1": { "buys": 97, "sells": 144, "buyers": 83, "sellers": 124 }, "h24": { "buys": 2966, "sells": 3847, "buyers": 1625, "sellers": 2399 } }, "volume_usd": { "m5": "868581.7348314", "h1": "16798158.0138526", "h6": "164054610.850188", "h24": "536545444.904535" }, "reserve_in_usd": "163988541.3812" }, "relationships": { "base_token": { "data": { "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "type": "token" } }, "quote_token": { "data": { "id": "eth_0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "type": "token" } }, "dex": { "data": { "id": "uniswap_v3", "type": "dex" } } } } ], "included": [ { "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "type": "token", "attributes": { "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "name": "Wrapped Ether", "symbol": "WETH", "image_url": "https://assets.coingecko.com/coins/images/2518/small/weth.png?1696503332", "coingecko_coin_id": "weth" } } ]}Token Metadata
Get crypto logos, official websites, contract addresses, social links and more.
Pull on-chain metadata like holder count, distribution percentages, mint/freeze authority, honeypot flag and GT Score
// Get token metadata{ "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", "coingecko_coin_id": "tether", "websites": [ "https://tether.to/" ], "description": "Tether (USDT) is a cryptocurrency with a value meant to mirror the value of the U.S. dollar...", "gt_score": 92.6605504587156, "discord_url": null, "telegram_handle": null, "twitter_handle": "Tether_to", "categories": [], "gt_categories_id": [] } }}Token Metadata
Get crypto logos, official websites, contract addresses, social links and more.
Pull on-chain metadata like holder count, distribution percentages, mint/freeze authority, honeypot flag and GT Score
// Get token metadata{ "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", "coingecko_coin_id": "tether", "websites": [ "https://tether.to/" ], "description": "Tether (USDT) is a cryptocurrency with a value meant to mirror the value of the U.S. dollar...", "gt_score": 92.6605504587156, "discord_url": null, "telegram_handle": null, "twitter_handle": "Tether_to", "categories": [], "gt_categories_id": [] } }}Market Context & Wallet Data
Get crypto news from 100+ curated publishers and AI-generated Coin Insights for any coin
Track wallet PnL and top token holders, and read market-wide sentiment from the Crypto Fear & Greed Index. News, Coin Insights and wallet data are on the Analyst plan and above
// Get the latest crypto news and guides for a coin[ { "title": "Implied Volatility and IV Crush in Bitcoin Options Explained", "url": "https://www.coingecko.com/learn/implied-volatility-iv-crush-bitcoin-options", "author": "Hans Be", "posted_at": "2026-05-25T13:08:37Z", "type": "guide", "source_name": "CoinGecko", "related_coin_ids": [ "bitcoin", "ethereum" ] }]Market Context & Wallet Data
Get crypto news from 100+ curated publishers and AI-generated Coin Insights for any coin
Track wallet PnL and top token holders, and read market-wide sentiment from the Crypto Fear & Greed Index. News, Coin Insights and wallet data are on the Analyst plan and above
// Get the latest crypto news and guides for a coin[ { "title": "Implied Volatility and IV Crush in Bitcoin Options Explained", "url": "https://www.coingecko.com/learn/implied-volatility-iv-crush-bitcoin-options", "author": "Hans Be", "posted_at": "2026-05-25T13:08:37Z", "type": "guide", "source_name": "CoinGecko", "related_coin_ids": [ "bitcoin", "ethereum" ] }]
Skip the Setup with x402
Give AI agents instant access to crypto data for $0.005 USDC per request, with no API key or account setup. Payments are made in USDC on Base, Solana or Polygon.
Give AI agents instant access to crypto data for $0.005 USDC per request, with no API key or account setup. Payments are made in USDC on Base, Solana or Polygon.
Tools & Integrations
Tools & Integrations
Build Faster with Coingeckoโs Official MCP Server, Agent SKILL, CLI & SDKs
Build Faster with Coingeckoโs Official MCP Server, Agent SKILL, CLI & SDKs
Works with Claude, Open AI Codex, Cursor, Antigravity, Hermes, and more.

MCP Server
85+ Coingecko tools for AI agents, with keyless access and higher limits via API key.

Agent SKILL
Give AI coding agents built-in knowledge of Coingecko API endpoints and workflows.

Coingecko CLI
Query, stream and export real-time and historical crypto data from your terminal.
CUSTOMER STORY
โIn the world of AI, context is everything. CoinGeckoโs API gives our models the eyes and ears they need to understand the market in real-time.โ
Dastin, Senior AI Product Manager, ChainGPT

Frequently asked questions
How can I use the Coingecko API for AI agents or DeFAI use cases?
The Coingecko API gives crypto AI agents real-time and historical market data, alongside onchain DEX data, all within a single API. Popular use cases include:
Identify trading opportunities with real-time and historical market data, including price, market cap, volume and pool liquidity.
Discover new and trending coins across 51M+ tokens on 360+ blockchain networks and 2,000+ exchanges.
Connect your agent in minutes with the MCP server, Agent SKILL or CLI. You can also use x402 for keyless access at $0.005 USDC per request.
Want to see it in action? Read our Paal AI case study or follow our tutorial on building a profit-tracking AI assistant.

How can I use the Coingecko API for AI agents or DeFAI use cases?
The Coingecko API gives crypto AI agents real-time and historical market data, alongside onchain DEX data, all within a single API. Popular use cases include:
Identify trading opportunities with real-time and historical market data, including price, market cap, volume and pool liquidity.
Discover new and trending coins across 51M+ tokens on 360+ blockchain networks and 2,000+ exchanges.
Connect your agent in minutes with the MCP server, Agent SKILL or CLI. You can also use x402 for keyless access at $0.005 USDC per request.
Want to see it in action? Read our Paal AI case study or follow our tutorial on building a profit-tracking AI assistant.

Does Coingecko API provide historical OHLCV data for AI trading agents?
Yes. Coingecko API offers OHLCV data at multiple timeframes for AI-driven trading strategies. On the Analyst plan and above, daily coin price history goes back to 2013 with /coins/{id}/market_chart/range, and coin OHLC candles go back to 2018 with /coins/{id}/ohlc/range. Onchain DEX candles go down to 1-second intervals with Pool OHLCV.

Does Coingecko API provide historical OHLCV data for AI trading agents?
Yes. Coingecko API offers OHLCV data at multiple timeframes for AI-driven trading strategies. On the Analyst plan and above, daily coin price history goes back to 2013 with /coins/{id}/market_chart/range, and coin OHLC candles go back to 2018 with /coins/{id}/ohlc/range. Onchain DEX candles go down to 1-second intervals with Pool OHLCV.

Can I use Coingecko API data to train AI models?
Training AI models on Coingecko data is arranged through a custom data license, so contact our team to discuss your use case. Within your API plan, you can use OHLCV, aggregated market data and onchain DEX data to power AI tools, agents and trend analysis.

Can I use Coingecko API data to train AI models?
Training AI models on Coingecko data is arranged through a custom data license, so contact our team to discuss your use case. Within your API plan, you can use OHLCV, aggregated market data and onchain DEX data to power AI tools, agents and trend analysis.

Are there any AI agent SDKs or frameworks that support the Coingecko API?
Yes. You can start with Coingeckoโs own tools: the official Python and TypeScript SDKs, the MCP server, Agent SKILL and CLI. These agent frameworks also include Coingecko API support:
eliza
Solana Agent Kit
G.A.M.E Framework by Virtuals
If you maintain another framework and want to add Coingecko API support, let us know.

Are there any AI agent SDKs or frameworks that support the Coingecko API?
Yes. You can start with Coingeckoโs own tools: the official Python and TypeScript SDKs, the MCP server, Agent SKILL and CLI. These agent frameworks also include Coingecko API support:
eliza
Solana Agent Kit
G.A.M.E Framework by Virtuals
If you maintain another framework and want to add Coingecko API support, let us know.

Does Coingecko have an MCP server for AI agents?
Yes. The Coingecko MCP server connects AI assistants and agents, such as Claude and Cursor, to live crypto prices, market data and onchain DEX data. Use the free keyless server at https://mcp.api.coingecko.com/mcp to get started, or connect with your API key at https://mcp.pro-api.coingecko.com/mcp for higher rate limits and the full tool set on your plan. See the MCP server docs for setup steps.

Does Coingecko have an MCP server for AI agents?
Yes. The Coingecko MCP server connects AI assistants and agents, such as Claude and Cursor, to live crypto prices, market data and onchain DEX data. Use the free keyless server at https://mcp.api.coingecko.com/mcp to get started, or connect with your API key at https://mcp.pro-api.coingecko.com/mcp for higher rate limits and the full tool set on your plan. See the MCP server docs for setup steps.

How does Coingecko API compare with other crypto APIs for AI agents?
Coingecko API covers CEX and onchain DEX data in one API, across 22,000+ coins, 51M+ tokens and 360+ networks, with real-time and sub-second streaming data. Agents can start free on the keyless MCP server with 85+ tools, or pay $0.005 USDC per request with x402 on Base, Solana or Polygon. Trading agents pair it with an exchange API for order execution. Our guide to the best crypto API for trading bots and AI agents compares the main options.

How does Coingecko API compare with other crypto APIs for AI agents?
Coingecko API covers CEX and onchain DEX data in one API, across 22,000+ coins, 51M+ tokens and 360+ networks, with real-time and sub-second streaming data. Agents can start free on the keyless MCP server with 85+ tools, or pay $0.005 USDC per request with x402 on Base, Solana or Polygon. Trading agents pair it with an exchange API for order execution. Our guide to the best crypto API for trading bots and AI agents compares the main options.













