Skip to content
CoinGecko logo

Connectors / Finance · HTTP Connector

CoinGecko integration and API

CoinGecko tracks cryptocurrency prices, market data, exchanges, and NFT collections, and serves that data through a developer API with free and paid plans.

What can you do with CoinGecko on Tray.ai?

CoinGecko tracks cryptocurrency prices, market data, exchanges, and NFT collections, and serves that data through a developer API with free and paid plans. Tray.ai connects to CoinGecko through the HTTP Connector, so your workflows can call the CoinGecko API alongside the rest of your stack.

  • Get coin prices by ID each hour and update the crypto holdings sheet finance uses for reporting.
  • Get coin historical data at month end so finance can value crypto balances in your accounting system.
  • Get global crypto market data each morning and post a market summary to your team chat.
Connects through
HTTP Connector
Authentication
An API key in a request header or an API key in the query string
Base URL
https://api.coingecko.com/api/v3

Set it up

Connect CoinGecko to Tray.ai

Each step uses CoinGecko's own API details, from its documentation.

Save CoinGecko's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.coingecko.com/api/v3 as the base URL. Or paste a cURL example from CoinGecko's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “Get coin prices by ID”

It's one of 18 documented actions, under Prices. The response comes back as data the next step can map into your other apps.

Hand it to an AI agent

Wrap “Get prices by token address” and “List supported currencies” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with CoinGecko

Connect CoinGecko with Google Sheets and Google BigQuery

Each one uses actions and events from CoinGecko's own API documentation.

Update crypto holdings value in Google Sheets daily

When

On a schedule

Then

  1. Get coin prices by ID in CoinGecko for the coins you hold
  2. Update the holdings sheet in Google Sheets with current values

With Google Sheets

Load CoinGecko market data into BigQuery for analysis

When

On a schedule

Then

  1. List coins with market data in CoinGecko
  2. Get global crypto market data in CoinGecko
  3. Load both data sets into Google BigQuery

With Google BigQuery

Apps you can build on CoinGecko data

Internal tools your team can build with an AI assistant, each one using CoinGecko calls from its API documentation.

Holdings price board

Shows current prices, market data and OHLC charts for the coins a treasury team holds.

Exchange volume monitor

Lists exchanges with volume charts and tickers so a trading team can compare where coins trade.

Market category report

Shows crypto categories by market data beside global and DeFi market totals.

Give your AI agents CoinGecko tools

Build an MCP server on CoinGecko in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Get coin prices by ID
  • List coins
  • List exchanges
  • List coin categories
  • List NFT collections
  • Get global crypto market data
  • Get prices by token address
  • List supported currencies

What the CoinGecko API covers

6 resources and 18 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Prices

  • Get coin prices by ID
  • Get prices by token address
  • List supported currencies

Coins

  • List coins
  • List coins with market data
  • Get coin data by ID
  • Get coin historical data
  • Get coin OHLC chart

Exchanges

  • List exchanges
  • Get exchange data by ID
  • Get exchange tickers
  • Get exchange volume chart

Categories

  • List coin categories
  • List categories with market data

NFTs

  • List NFT collections
  • Get NFT collection data

Global market

  • Get global crypto market data
  • Get global DeFi market data

Checked against CoinGecko's own documentation on 2026-10-22

docs.coingecko.com/reference/introduction

Frequently asked questions

What can a Tray.ai workflow do in CoinGecko?

The CoinGecko API documents 18 actions across 6 resources (Prices, Coins, Exchanges, Categories, NFTs, Global market). For example: Get coin prices by ID; List coins; List exchanges. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with CoinGecko?

The CoinGecko API uses an API key in a request header and an API key in the query string. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See CoinGecko working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.