How to connect CoinGecko to Grok Bot in 2 mins: No API key needed

You can get an alert when a coin crosses your price, get your portfolio's value every morning and hear about coins that start trending from Grok Bot. Composio runs each call on its own CoinGecko account, so you don't need a CoinGecko API key, and your first $2 is free.

CoinGeckoInstant · No API key

Grok Bot runs CoinGecko through Composio, and the cost comes out of your free $2.

  • Live prices for your coins$0.0003
  • A coin's price history$0.0003
  • Top coins ranked by market cap$0.0003

$2 ≈ 6600 requests

Composio Instant

What you can do with your free $2

What your free $2 gets you with CoinGecko
When you ask Grok Bot forGrok Bot uses this toolCostWhat $2 gets you
Live prices for your coinsGet Coin Prices$0.0003 per requestAbout 6,600 requests
A coin's price historyGet Coin Market Chart$0.0003 per requestAbout 6,600 requests
Top coins ranked by market capList Coin Markets$0.0003 per pageAbout 6,600 pages
Coins trending right nowGet Trending Assets$0.0003 per requestAbout 6,600 requests
Trending DEX pools on a chainList Trending Onchain Pools$0.0003 per pageAbout 6,600 pages
Token prices by contract addressGet Onchain Token Prices$0.0003 per requestAbout 6,600 requests

You pay CoinGecko's price for each call with 0% markup, plus the regular Composio tool call charge. There's no CoinGecko subscription, and you only pay for what you use.

19 of 60 CoinGecko tools work without a key. For Get Coin by Contract, Get Coin History, Get Coin Tickers, Get Derivative Exchange, Get Exchange, Get Exchange Rates and 35 more, connect your own CoinGecko key. Read how Instant works.

How it works

How to connect CoinGecko to Grok Bot

Composio adds CoinGecko to Grok Bot as an Instant toolkit. You connect Composio to Grok Bot once, and then Grok Bot can use CoinGecko right away. There are two ways to do this:

  • Bring your own key

    You bring your own CoinGecko API key, set it up, and use it.

  • Use the Composio wallet

    Instant

    Composio runs each call on its own CoinGecko account, so you don't have to set anything up at CoinGecko, and your first $2 is free.

You do the setup one time and it takes about a minute. If you build CoinGecko into your own product, turn on Instant toolkits in your project settings so your agent can call CoinGecko for each of your users without a CoinGecko API key, and read Instant tools in the Composio docs for the setup steps and code examples.

Get started

Start to use CoinGecko in Grok Bot in 3 steps

  1. Turn on Instant

    Open your Composio wallet and turn on Instant. Your free $2 shows up there.

  2. Add Composio to Grok Bot

    Follow the setup below. You only do this once.

  3. Ask Grok Bot for something

    Try a CoinGecko prompt. The cost comes out of your $2.

Setup

Connecting CoinGecko to Grok Bot

Once Grok Bot is set up, you connect CoinGecko entirely from its interface, and the whole flow takes under a minute.

Set up Grok Bot

Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from x.ai/bot and sign in. An iPhone companion app is also available, and your bots sync across devices.

Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.

Connect CoinGecko

1. Add the Composio plugin

Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.

Add to Grok Bot

Composio for Grok Bot listing on x.ai with the Add to Grok Bot button

Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.

Composio plugin sheet in Grok Bot with the Add button

2. Authenticate

Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.

Installed Composio plugin showing the Authenticate button

Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.

Composio authorization screen with Authorize and Deny

3. Connect your CoinGecko account

Back in the chat, ask your bot to connect to CoinGecko or give it any CoinGecko task.

For example, ask it to:

  • "Get current price of bitcoin usd"
  • "List top ten coins by market cap"
  • "Fetch ethereum historical prices last month"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in your Grok bot, and your CoinGecko account is ready to use.

Try it

Ask Grok Bot for something with CoinGecko

Start a new chat and try this prompt:

Check the price of [coin] in USD every hour. Message me once when it goes above $[upper price] or below $[lower price], with the price and the 24h change, then wait until it crosses back before you alert me again.

Grok Bot runs it on Instant and shows you the result. It doesn't ask you for a CoinGecko key, and the cost comes out of your $2. You can see each call in your wallet.

Optional: connect your own CoinGecko key

If you want Get Coin by Contract, Get Coin History, Get Coin Tickers, Get Derivative Exchange, Get Exchange, Get Exchange Rates and 35 more, you need your own key. Ask Grok Bot to connect your CoinGecko account, and it gives you a Composio link:

Connect my CoinGecko account using Composio.

Open the link, paste your CoinGecko API key and click Connect Account. You can get a key from CoinGecko developer dashboard. After that, Composio uses your key first and doesn't charge Instant for those calls.

Starter prompts

Use your first $2: copy a prompt into Grok Bot

Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.

  • Get an alert when a coin crosses your price

    Less than $0.01 per run

    Checks a coin's price every hour and messages you once when it moves past the level you set.

    Check the price of [coin] in USD every hour. Message me once when it goes above $[upper price] or below $[lower price], with the price and the 24h change, then wait until it crosses back before you alert me again.

  • Get your portfolio's value every morning

    Less than $0.01 per run

    Values your holdings each morning and tells you how the total changed since yesterday and last week.

    Every morning at 8, value my holdings in USD: [amount] BTC, [amount] ETH and [amount] SOL. Message me the total, the change since yesterday morning and since last Monday, and which coin moved the most.

  • Hear about coins that start trending

    Less than $0.01 per run

    Checks CoinGecko's trending list a few times a day and messages you only the new entries.

    Check CoinGecko's trending coins every 6 hours. Message me only the coins that weren't on the list at your last check, with price, market cap rank and 24h change.

  • Watch a DEX pool for large trades

    Less than $0.01 per run

    Checks a pool every hour and messages you the big trades you haven't seen yet.

    Every hour, list the trades over $[amount] in pool [pool address] on [network]. Message me the ones you haven't reported yet with the time, side and USD size, and tell me when sells outweigh buys for the day.

  • Get warned when a stablecoin slips off its peg

    Less than $0.01 per run

    Checks stablecoin prices every 30 minutes and messages you when one drifts away from $1.

    Every 30 minutes, check the USD price of USDT, USDC and DAI. Message me right away if any of them is more than 0.5% away from $1, and message me again when it's back within 0.2%.

  • Watch for new pools on a network

    Less than $0.01 per run

    Message newly created DEX pools that meet a threshold.

    I want a check every 6 hours for new DEX pools on [network]. Message me only pools not seen before with liquidity above $[amount], including pair, DEX, creation time and pool address. Remember pool addresses.

  • Track a pool’s liquidity

    Less than $0.01 per run

    Alert when a watched DEX pool loses liquidity.

    I want an hourly check of pool [pool address] on [network]. Remember its liquidity and 24h volume. Message me when liquidity falls by more than [percent]% since the last check, with the old and new values.

  • Follow a coin’s market cap rank

    Less than $0.01 per run

    Report when a coin’s rank moves materially.

    I want a daily check of CoinGecko coin ID [coin ID]. Message me when its market cap rank moves by 5 or more places since yesterday, with the old and new rank and current market cap.

  • Track the DeFi market share

    Less than $0.01 per run

    Send a weekly update on DeFi’s share of crypto.

    I want a Monday update on DeFi's share of the overall crypto market. Get both global snapshots, calculate the market cap share and message me its change from last week. Remember each weekly value.

What it can do

What Grok Bot can do with CoinGecko

Works without a key

  • Live prices for your coins
  • A coin's price history
  • Top coins ranked by market cap
  • Coins trending right now
  • Trending DEX pools on a chain
  • Token prices by contract address

Needs your own CoinGecko key

  • Get Coin by Contract
  • Get Coin History
  • Get Coin Tickers
  • Get Derivative Exchange
  • Get Exchange
  • Get Exchange Rates
  • Get Exchange Volume Chart
  • Get NFT by Contract
  • and 33 more
Tools and prices

Supported tools (60)

CoinGecko tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Get Coin DetailsGet metadata and optionally selected market, ticker, community, and developer sections for one CoinGecko coin ID.Yes$0.003 per 10 successful requests
Get Coin Market ChartGet price, market-cap, and volume time series for a coin over either a relative day window or an exact Unix time range.Yes$0.003 per 10 successful requests
Get Coin OHLCGet open, high, low, and close price candles for a CoinGecko coin over a supported day window.Yes$0.003 per 10 successful requests
Get Coin PricesGet current prices for one or more CoinGecko coin IDs in one or more currencies, with optional market metrics.Yes$0.003 per 10 successful requests
Get Global Market DataGet an aggregate snapshot for either the overall crypto market or the decentralized-finance market.Yes$0.003 per 10 successful requests
Get Onchain Pool OHLCVGet bounded open, high, low, close, and volume candles for a DEX pool, with timeframe, aggregation, currency, and cutoff controls.Yes$0.003 per 10 successful requests
Get Onchain Pools by AddressGet data for one or more pool contract addresses on the same CoinGecko onchain network in a single call.Yes$0.003 per 10 successful requests
Get Onchain Token PricesGet current USD prices for one or more token contracts on a CoinGecko onchain network, with optional market metrics.Yes$0.003 per 10 successful requests
Get Onchain Tokens by AddressGet market data for one or more token contract addresses on the same CoinGecko onchain network in a single call.Yes$0.003 per 10 successful requests
Get Trending AssetsGet CoinGecko's currently trending coins, NFT collections, and categories from search activity.Yes$0.003 per 10 successful requests
List Coin MarketsReturn one ranked page of CoinGecko market data, optionally filtered by coin IDs, symbols, or category.Yes$0.003 per 10 successful requests
List CoinsList CoinGecko coin IDs, symbols, names, and optional platform contracts.Yes$0.003 per 10 successful requests
List New Onchain PoolsReturn one page of newly created DEX pools across all networks or within one network.Yes$0.003 per 10 successful requests
List Onchain NetworksReturn one page of supported onchain network IDs and their CoinGecko asset-platform mappings.Yes$0.003 per 10 successful requests
List Onchain PoolsReturn one ranked page of pools for a network, optionally restricted to one DEX or one token contract.Yes$0.003 per 10 successful requests
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.Yes$0.003 per 10 successful requests
List Trending Onchain PoolsReturn one page of currently trending DEX pools across all networks or within one network and duration window.Yes$0.003 per 10 successful requests
Search AssetsSearch CoinGecko for matching coins, exchanges, categories, and NFT collections.Yes$0.003 per 10 successful requests
Search Onchain PoolsSearch decentralized-exchange pools and tokens by name, symbol, or contract address, optionally within one network.Yes$0.003 per 10 successful requests
Get Coin by ContractGet CoinGecko coin metadata for a token contract on an asset platform.Needs your own keyBilled to your own CoinGecko key
Show all 60 tools
More CoinGecko tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Get Coin HistoryGet a CoinGecko coin metadata and market snapshot for one calendar date.Needs your own keyBilled to your own CoinGecko key
Get Coin TickersGet one page of exchange tickers for a CoinGecko coin ID.Needs your own keyBilled to your own CoinGecko key
Get Derivative ExchangeGet open interest, volume, metadata, and optional tickers for one derivative exchange.Needs your own keyBilled to your own CoinGecko key
Get ExchangeGet metadata, volume, top tickers, and status updates for one exchange.Needs your own keyBilled to your own CoinGecko key
Get Exchange RatesGet BTC exchange rates for supported crypto, fiat, and commodity units.Needs your own keyBilled to your own CoinGecko key
Get Exchange Volume ChartGet historical BTC trading-volume points for a spot or derivative exchange.Needs your own keyBilled to your own CoinGecko key
Get NFT by ContractGet collection metadata and market statistics by platform and contract address.Needs your own keyBilled to your own CoinGecko key
Get NFT by IDGet collection metadata and market statistics by CoinGecko NFT ID.Needs your own keyBilled to your own CoinGecko key
Get Onchain PoolGet market and liquidity data for one pool contract on a network.Needs your own keyBilled to your own CoinGecko key
Get Onchain Pool InfoGet metadata for the tokens in a pool, optionally including pool metadata.Needs your own keyBilled to your own CoinGecko key
Get Onchain TokenGet market data for one token contract on an onchain network.Needs your own keyBilled to your own CoinGecko key
Get Onchain Token InfoGet metadata, links, trust data, and holder data for one token contract.Needs your own keyBilled to your own CoinGecko key
Get Public Treasury EntityGet cryptocurrency treasury holdings and valuation data for one public company or government.Needs your own keyBilled to your own CoinGecko key
Get Public Treasury Holding ChartGet historical cryptocurrency holding amounts and USD values for one entity and coin.Needs your own keyBilled to your own CoinGecko key
Get RWAGet metadata, optional token data, and optional market data for one real-world asset.Needs your own keyBilled to your own CoinGecko key
Get RWA IssuerGet market data and tokens for one real-world-asset issuer.Needs your own keyBilled to your own CoinGecko key
Get Token ListGet CoinGecko's token list for one asset platform.Needs your own keyBilled to your own CoinGecko key
Get Token Market ChartGet price, market-cap, and volume history for a token contract.Needs your own keyBilled to your own CoinGecko key
Get Token Market Chart RangeGet token price, market-cap, and volume history for an exact Unix range.Needs your own keyBilled to your own CoinGecko key
Get Token PricesGet token prices by contract address on one CoinGecko asset platform.Needs your own keyBilled to your own CoinGecko key
List Asset PlatformsList CoinGecko asset platforms and their chain identifiers.Needs your own keyBilled to your own CoinGecko key
List Coin CategoriesList CoinGecko coin categories with aggregate market data.Needs your own keyBilled to your own CoinGecko key
List Coin Category IDsList CoinGecko coin category IDs for use in category filters.Needs your own keyBilled to your own CoinGecko key
List Derivative Exchange IDsList CoinGecko derivative exchange IDs and names.Needs your own keyBilled to your own CoinGecko key
List Derivative ExchangesList derivative exchanges with open interest and trading data.Needs your own keyBilled to your own CoinGecko key
List Derivative TickersList all derivative tickers tracked by CoinGecko.Needs your own keyBilled to your own CoinGecko key
List EntitiesList one page of public companies and governments tracked for crypto treasury holdings.Needs your own keyBilled to your own CoinGecko key
List Exchange IDsList CoinGecko exchange IDs and names, filtered by active or inactive status.Needs your own keyBilled to your own CoinGecko key
List ExchangesList active exchanges with metadata, trust scores, and volume.Needs your own keyBilled to your own CoinGecko key
List Exchange TickersList tickers for one exchange with optional filters, depth, and ordering.Needs your own keyBilled to your own CoinGecko key
List NFTsReturn one page of NFT collections supported by CoinGecko.Needs your own keyBilled to your own CoinGecko key
List Onchain DEXesReturn one page of decentralized exchanges supported on a network.Needs your own keyBilled to your own CoinGecko key
List Public Treasury HoldersList one page of companies or governments holding a specified cryptocurrency.Needs your own keyBilled to your own CoinGecko key
List Public Treasury TransactionsList one page of cryptocurrency treasury transactions for a public company or government.Needs your own keyBilled to your own CoinGecko key
List Recently Updated Onchain TokensReturn the 100 token metadata records most recently updated by GeckoTerminal.Needs your own keyBilled to your own CoinGecko key
List RWA IssuersList real-world-asset issuers supported by CoinGecko.Needs your own keyBilled to your own CoinGecko key
List RWA MarketsList one page of tokenized real-world assets with aggregated market data.Needs your own keyBilled to your own CoinGecko key
List RWAsList tokenized real-world assets supported by CoinGecko.Needs your own keyBilled to your own CoinGecko key
List Supported CurrenciesList currencies accepted as quote currencies by CoinGecko price endpoints.Needs your own keyBilled to your own CoinGecko key
Ping CoinGecko ServerCheck whether the CoinGecko Demo API server is responding.Needs your own keyBilled to your own CoinGecko key
Pricing

How you pay for CoinGecko

  • Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
  • You pay for each callYou pay CoinGecko's price with 0% markup, plus the regular Composio tool call charge.
  • Your own key comes firstIf you connect your own CoinGecko key, Composio uses it and doesn't charge Instant for those calls.
  • You control the costYou can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
  • You can see each callYour wallet shows each call and what it cost.
  • When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own key.
Help

Troubleshooting

  1. 1. Grok Bot asks me for a CoinGecko API key

    You may have asked for something that needs your own key, like Get Coin by Contract, Get Coin History, Get Coin Tickers, Get Derivative Exchange, Get Exchange, Get Exchange Rates and 35 more. Those tools don't run on Instant. For everything else, check that Instant is turned on in your Composio wallet, then ask again.

  2. 2. I can't see my free $2

    Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.

  3. 3. A CoinGecko call failed with a balance error

    Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own CoinGecko key, then try again.

FAQ

Frequently asked questions

Start with CoinGecko.It takes 30 seconds.

New accounts get a one-time $2 starter credit for Instant calls.Run CoinGecko from your agent with no CoinGecko key.

Get $2 starter credit