Power AI Agents with On-chain Crypto Data

Access on-chain market data and metadata for smarter
AI-powered trades, research, and analysis.

Trusted by Thousands of Industry Builders

Enhance Your AI with Comprehensive

& Reliable Crypto Market Data

Enhance Your AI with Comprehensive
& Reliable
Crypto Market Data

Access live and historical crypto market data & metadata from 70+ endpoints

On-chain Prices & Market Data

Fetch real-time and historical data for over 5 million tokens, including prices, market cap, volume, and more.

Recommended Endpoints:
  • /simple/price
  • /onchain/simple/networks/{network}/token_price/{addresses}

Trending Coins and Categories

Retrieve data on trending coins, top gainers, and popular narratives to spot market opportunities.

Recommended Endpoints:
  • /search/trending
  • /coins-categories-list
  • /coins/top_gainers_losers
  • /onchain/networks/trending_pools

Token Metadata

Get vital token information like official websites, contract addresses, social links and more.

Recommended Endpoints:
  • /coins/{id}
  • /onchain/networks/{network}/tokens/{address}/info
				
					// 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"
      }
    }
  }
}
				
			
				
					// 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"
      }
    }
  ]
}
				
			
				
					// 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": []
    }
  }
}
				
			

5 million+

Coins

6 million+

Pools

1,400+

Exchanges

210+

Networks

70+ Endpoints Powering AI Applications & Workflows

70+ Endpoints Powering AI Applications & Workflows

Build AI agents that cater to different use cases, from analyzing markets to automating trading decisions & more

Research

Power AI-driven market research, analytics & sentiment analysis with crypto market data & metadata

Investment

Manage, optimize & rebalance crypto portfolios with AI-powered trading strategies

DeFAI

Simplify & automate DeFi actions like swapping, bridging, staking and lending with AI

Platform

Empower AI agents with real-time crypto market data & automate workflows across applications

Integrate CoinGecko API Easily with These SDKs & Frameworks

Integrate CoinGecko API Easily

with These SDKs & Frameworks

Loved by the Crypto Community

Frequently Asked Questions

The CoinGecko API provides crypto AI agents with market data, trends, and analytics. Popular use cases include:

  • Identify trading opportunities with real-time and historical on-chain market data, including price, market cap, volume, pool liquidity, and more
  • Discover new and trending coins, our API has the widest coverage of blockchain network, exchanges, and categories data!

Want to see it in action? Check out our PAAL AI case study or browse our tutorial building a profit-tracking AI assistant.

Yes, CoinGecko offers OHLCV data at multiple timeframes for AI-driven trading strategies.

Definitely! Many developers use our OHLCV data, aggregated market data and on-chain DEX data to train AI models.

Yes! You can get started with the CoinGecko API in minutes using these SDKs and frameworks, which come with built-in support:

We have more coming soon! If you’re interested in contributing, let us know.

Absolutely! We’ve seen developers use the CoinGecko API for all kinds of AI-powered projects, such as:

  • AI-managed crypto portfolios, like Flagship
  • AI Web3 search, like ZarkLab
  • AI-powered crypto wallets, like Korra

Power Your AI Agents With On-chain Data
From CoinGecko API

Unlock more possibilities with reliable, accurate and comprehensive crypto price data

Download the report now

You will also receive our daily newsletter

By entering your email address, you agree to be subscribed to our daily newsletter where you will get the latest crypto news and trends. You can unsubscribe anytime.