CoinGecko API

Give your agents access to CoinGecko API. Bring your own CoinGecko key, or skip the signup and pay per call from your Composio balance with Composio Instant.

CoinGecko logoCoinGecko
Instant

CoinGecko is a cryptocurrency data platform that provides prices, market metrics, exchange, NFT, and onchain data. Use it for comprehensive, up-to-date crypto market insights and metadata.

60 Tools
COMPOSIO INSTANT

What is Composio Instant?

Composio Instant lets your agent use paid APIs like CoinGecko without a separate account or API key for each one. New accounts start with $2 of free credit.

No CoinGecko account or key

Your agent calls CoinGecko through Composio, so there is nothing to sign up for, store, or rotate.

Pay per call, at cost

$0.003 per 10 successful requests, paid from your Composio balance with zero markup.

Works in any agent

Claude, ChatGPT, Cursor, and other MCP clients, or your own code with the Composio SDK.

Works with your apps

Use CoinGecko with Gmail, Slack, Google Sheets, and 1,700+ other apps you connect.

AI ASSISTANTS

Connect the CoinGecko API to your AI assistant

Use CoinGecko from the AI assistant you already work in. Connect Composio once, then paste the prompt.

  1. 1

    Open the Connectors menu

    Use the button to open Claude's Add connector dialog with Composio filled in. Or click + in the message box, then Connectors, Add connector and Add custom connector.
    Add Composio to Claude
  2. 2

    Add the Composio MCP server

    Name it Composio, paste the MCP server URL and click Add.
    https://connect.composio.dev/mcp
  3. 3

    Authorize in your browser

    A browser window opens. Sign in to Composio to approve the connection.
  4. 4

    Paste the prompt

    Start a new chat and paste the prompt. Claude runs the call on Composio Instant.
  1. 1

    Install the Composio plugin

    Open Composio's plugin page in ChatGPT and click Install. Sign in to ChatGPT first if it asks.
    Install in ChatGPT
  2. 2

    Authorize in your browser

    Connect the plugin, then sign in to Composio to approve the connection.
  3. 3

    Turn on Composio in your chat

    In a new chat, click +, then More, and select Composio.
  4. 4

    Paste the prompt

    Paste the prompt into that chat. ChatGPT runs the call on Composio Instant.
  1. 1

    Install the Composio plugin

    Open Composio in the Cursor marketplace, click Install Composio Plugin for Cursor and approve the connection in your browser.
    Install in Cursor
  2. 2

    Paste the prompt

    Open the Agent chat and paste the prompt. Cursor runs the call on Composio Instant.
  1. 1

    Add the Composio plugin

    Open Composio's listing on x.ai and click Add to Grok Bot. When Grok Bot opens the plugin, click Add.
    Add to Grok Bot
  2. 2

    Authenticate

    Go to Installed, open Composio and click Authenticate. Sign in to Composio and click Authorize.
  3. 3

    Paste the prompt

    Paste the prompt into your bot's chat. Grok Bot runs the call on Composio Instant.
  1. 1

    Paste the setup prompt

    Copy this into your Hermes chat. Hermes adds the Composio MCP server for you.
    Set up Composio from composio.dev/hermes
  2. 2

    Authorize in your browser

    A browser window opens. Sign in to Composio to approve the connection.
  3. 3

    Paste the prompt

    Start a new chat and paste the prompt. Hermes runs the call on Composio Instant.
ClaudeNew chat

Paste this prompt

Use CoinGecko through Composio Instant to get Bitcoin's current price in USD and its 24-hour price change. Return both values.

What success looks like

COINGECKO_GET_COIN_PRICES

Your assistant runs CoinGecko and replies with Bitcoin's current price in USD and its 24-hour price change.

Runs on Composio Instant
SDK

Use the CoinGecko API in your code

Call CoinGecko from your own agent with the Composio SDK. Four steps and one tool call.

  1. 1

    Set up Composio

    Turn on Instant Toolkits in your project settings and check your prepaid balance in Billing. Then set your API key.
    export COMPOSIO_API_KEY="your_composio_api_key"
  2. 2

    Install the SDK

    The Python SDK needs Python 3.11 through 3.15.
    pip install composio
  3. 3

    Run the call

    Create a session that keeps Instant to this toolkit and reports the charge, then run the tool on the Instant account.
    COINGECKO_GET_COIN_PRICES
  4. 4

    Read the response

    When the call runs on Instant, the response includes its charge: the amount as an exact USD decimal string, the currency and charged_by.
agent.py
from composio import Composio

composio = Composio()

session = composio.sessions.create(
    user_id="user_123",
    toolkits=["coingecko"],
    instant={
        "toolkits": {"enable": ["coingecko"]},
        "return_instant_charge": True,
    },
)

result = session.execute(
    "COINGECKO_GET_COIN_PRICES",
    arguments={
        "coin_ids": [
            "bitcoin",
        ],
        "vs_currencies": [
            "usd",
        ],
        "include_24h_change": True,
    },
    account="instant_account",
)
print(result)
print("Instant charge:", result.instant_charge)
TOOLS

Available CoinGecko API tools

18 CoinGecko tools run on Instant, priced per call with no CoinGecko key. Tools marked Your key need your own CoinGecko account.

ActionTool slugWhat it doesAvailability
Get Coin PricesCOINGECKO_GET_COIN_PRICESGet current prices for one or more coins in one or more currencies.
Instant$0.003 per 10 successful requests
List Coin MarketsCOINGECKO_LIST_COIN_MARKETSCompare ranked market data, filtered by coin, symbol, or category.
Instant$0.003 per 10 successful requests
Get Coin DetailsCOINGECKO_GET_COIN_DETAILSRetrieve metadata and selected market, ticker, community, or developer data for a coin.
Instant$0.003 per 10 successful requests
Get Market ChartCOINGECKO_GET_COIN_MARKET_CHARTTrack a coin's price, market cap, and volume over time.
Instant$0.003 per 10 successful requests
Get Global Market DataCOINGECKO_GET_GLOBAL_MARKET_DATAView an aggregate snapshot of the crypto or decentralized-finance market.
Instant$0.003 per 10 successful requests
Get Trending AssetsCOINGECKO_GET_TRENDING_ASSETSSee coins, NFT collections, and categories trending in search activity.
Instant$0.003 per 10 successful requests
Get Coin OHLCCOINGECKO_GET_COIN_OHLCGet open, high, low, and close price candles for a CoinGecko coin over a supported day window.
Instant$0.003 per 10 successful requests
Get Onchain Pool OHLCVCOINGECKO_GET_ONCHAIN_POOL_OHLCVGet bounded open, high, low, close, and volume candles for a DEX pool, with timeframe, aggregation, currency, and cutoff controls.
Instant$0.003 per 10 successful requests
Get Onchain Pools by AddressCOINGECKO_GET_ONCHAIN_POOLS_BY_ADDRESSGet data for one or more pool contract addresses on the same CoinGecko onchain network in a single call.
Instant$0.003 per 10 successful requests
Get Onchain Token PricesCOINGECKO_GET_ONCHAIN_TOKEN_PRICESGet current USD prices for one or more token contracts on a CoinGecko onchain network, with optional market metrics.
Instant$0.003 per 10 successful requests
Get Onchain Tokens by AddressCOINGECKO_GET_ONCHAIN_TOKENS_BY_ADDRESSGet market data for one or more token contract addresses on the same CoinGecko onchain network in a single call.
Instant$0.003 per 10 successful requests
List New Onchain PoolsCOINGECKO_LIST_NEW_ONCHAIN_POOLSReturn one page of newly created DEX pools across all networks or within one network.
Instant$0.003 per 10 successful requests
List Onchain NetworksCOINGECKO_LIST_ONCHAIN_NETWORKSReturn one page of supported onchain network IDs and their CoinGecko asset-platform mappings.
Instant$0.003 per 10 successful requests
List Onchain Pool TradesCOINGECKO_LIST_ONCHAIN_POOL_TRADESList up to 300 of a CoinGecko onchain pool's trades from the past 24 hours, optionally filtered by minimum USD volume or token side.
Instant$0.003 per 10 successful requests
List Onchain PoolsCOINGECKO_LIST_ONCHAIN_POOLSReturn one ranked page of pools for a network, optionally restricted to one DEX or one token contract.
Instant$0.003 per 10 successful requests
List Trending Onchain PoolsCOINGECKO_LIST_TRENDING_ONCHAIN_POOLSReturn one page of currently trending DEX pools across all networks or within one network and duration window.
Instant$0.003 per 10 successful requests
Search AssetsCOINGECKO_SEARCH_ASSETSSearch CoinGecko for matching coins, exchanges, categories, and NFT collections.
Instant$0.003 per 10 successful requests
Search Onchain PoolsCOINGECKO_SEARCH_ONCHAIN_POOLSSearch decentralized-exchange pools and tokens by name, symbol, or contract address, optionally within one network.
Instant$0.003 per 10 successful requests
Get Coin HistoryCOINGECKO_GET_COIN_HISTORYRetrieve a coin's metadata and market snapshot for a calendar date.Your key
List ExchangesCOINGECKO_LIST_EXCHANGESCompare active exchanges by metadata, trust scores, and volume.Your key

Instant prices are CoinGecko's list prices with 0% markup, paid from your Composio balance and updated every hour. Instant calls also count toward your plan's tool calls. See all plans on the pricing page.

USE CASES

CoinGecko API use cases and example prompts

Copy a prompt into your agent. Each one uses CoinGecko with apps you connect through Composio.

  • Prepare a crypto market brief

    Use CoinGecko to get current prices for Bitcoin, Ethereum, and USD Coin in USD, and a snapshot of the global crypto market. Add the results to my Market Brief sheet in Google Sheets, then post the main takeaways in Slack's #finance channel.

    Apps used: CoinGecko, Google Sheets, Slack

  • Compare DeFi market leaders

    Use CoinGecko to compare ranked market data for decentralized-finance coins. Add the results to my DeFi Watchlist in Google Sheets, then write a page with the key comparisons in my Market Research space in Notion.

    Apps used: CoinGecko, Google Sheets, Notion

  • Review a coin's market history

    Use CoinGecko's market chart for Bitcoin to review its price, market cap, and volume over time. Write the findings in my Bitcoin Market Review in Google Docs.

    Apps used: CoinGecko, Google Docs

  • Share trending asset research

    Use CoinGecko to find coins, NFT collections, and categories trending in search activity. Record the relevant items and why they matter in a page in my Crypto Editorial space in Notion, then post the findings in Slack's #content-planning channel.

    Apps used: CoinGecko, Notion, Slack

TROUBLESHOOTING

CoinGecko API troubleshooting

Still stuck? The Instant tools docs cover limits, charges and session settings.

Start with CoinGecko.It takes 30 seconds.

Managed auth, hosted MCP servers, and every CoinGecko tool your agent needs.Free to start.

Start building