Reference · Tools

CoinGecko

Retrieve cryptocurrency prices, market data, historical snapshots, OHLC candlestick charts, ticker information, and crypto events from the CoinGecko public API.

Action Finance v1

The CoinGecko node pulls live and historical cryptocurrency data directly into your workflows — prices, market metrics, OHLC candlestick charts, exchange tickers, and crypto events, all without an API key. You can build a price-monitoring workflow that checks a basket of coins every hour and triggers alerts when thresholds are crossed. It covers two resources: Coin (eight operations) and Event.

Node type
Action
Parameters
28
Outputs
Output, Error
Credentials
None required

CoinGecko

Retrieve cryptocurrency prices, market data, and events from CoinGecko.

Overview

CoinGecko is a cryptocurrency data aggregator providing comprehensive market data. This tool provides read-only access to the CoinGecko API v3 (https://api.coingecko.com/api/v3). It supports two resources: Coin (get, get many, market, price, ticker, history, market chart, candlestick) and Event (get many). The Coin resource provides current and historical price data, market metrics, exchange tickers, and OHLC charts. The Event resource lists cryptocurrency-related events. Supports searching by coin ID or contract address. Market and ticker operations support pagination via returnAll/limit pattern. No authentication is required — this is a public API.

Category: Finance
Tool Name: coingecko
Version: 1

Appearance: Icon: lucide-Coins | Color: #8DC63F

Node Type

Action — processes input items and produces output

Input / Output

DirectionPort(s)
InputInput
OutputOutput, Error

Credentials

This tool does not require any credentials.

Resources

ResourceValue
Coincoin
Eventevent

Operations

Each resource has its own Operation list. Pick the resource first, then the operation.

ResourceOperationValueDescription
CoinCandlestickcandlestickGet a candlestick open-high-low-close chart for the selected currency
CoinGetgetGet current data for a coin
CoinGet ManygetAllGet many coins
CoinHistoryhistoryGet historical data (name, price, market, stats) at a given date for a coin
CoinMarketmarketGet prices and market related data for all trading pairs that match the selected currency
CoinMarket ChartmarketChartGet historical market data including price, market cap, and 24h volume
CoinPricepriceGet the current price of any cryptocurrencies in any other supported currencies
CoinTickertickerGet coin tickers
EventGet ManygetAllGet many events

Parameters

Coin IDs are CoinGecko’s own slugs (bitcoin, ethereum, solana) — the value in the coin’s page URL, not the ticker symbol. Every identifier and currency field accepts expressions, so you can feed them from an upstream item.

Coin: Candlestick

ParameterTypeRequiredDefaultDescription
Base CurrencystringYesThe CoinGecko coin ID for the base currency. The first currency in the pair (e.g., for BTC:ETH, this is bitcoin).
Quote CurrencystringYesThe target currency code (e.g., usd, eur, btc). Full list available at GET /simple/supported_vs_currencies.
Range (Days)optionsYes1Return data for this many days in the past from now.
Options: 1, 7, 14, 30, 90, 180, 365, max

Coin: Get

ParameterTypeRequiredDefaultDescription
Search ByoptionsYescoinIdSearch by coin ID or contract address.
Options: coinId, contractAddress
Coin IDstringYesThe CoinGecko coin ID. Find at https://www.coingecko.com/ — the ID is in the URL (e.g., bitcoin, ethereum, solana). (shown when Search By is coinId)
Platform IDoptionsYesethereumThe ID of the platform issuing tokens. (shown when Search By is contractAddress)
Options: ethereum
Contract AddressstringYesToken’s contract address. (shown when Search By is contractAddress)
OptionscollectionNo{}Extra response sections to request. Anything you leave out is requested as false.
— Community Data (community_data)booleanNofalseWhether to include community data.
— Developer Data (developer_data)booleanNofalseWhether to include developer data.
— Localization (localization)booleanNofalseWhether to include all localized languages in response.
— Market Data (market_data)booleanNofalseWhether to include market data.
— Sparkline (sparkline)booleanNofalseWhether to include sparkline 7 days data.
— Tickers (tickers)booleanNofalseWhether to include tickers data.

Coin: Get Many

ParameterTypeRequiredDefaultDescription
Return AllbooleanNofalseWhether to return all results or only up to a given limit.
LimitnumberNo100Max number of results to return (1–500). (shown when Return All is false)

Coin: History

ParameterTypeRequiredDefaultDescription
Coin IDstringYesThe CoinGecko coin ID. Find at https://www.coingecko.com/ — the ID is in the URL (e.g., bitcoin, ethereum, solana).
DatestringYesThe date of the data snapshot (ISO 8601 format). Will be converted to DD-MM-YYYY for the API.
OptionscollectionNo{}Extra request options.
— Localization (localization)booleanNotrueWhether to include localized languages in response.

Coin: Market

ParameterTypeRequiredDefaultDescription
Base CurrencystringYesThe target currency code (e.g., usd, eur, btc). Full list available at GET /simple/supported_vs_currencies.
Return AllbooleanNofalseWhether to return all results or only up to a given limit.
LimitnumberNo100Max number of results to return (1–500). (shown when Return All is false)
OptionscollectionNo{}Extra filters and sorting for the market listing.
— Coin IDs (ids)stringNoFilter results by comma-separated list of coin IDs.
— Category (category)optionsNodecentralized_finance_defiFilter by coin category.
Options: decentralized_finance_defi
— Order (order)optionsNoSort results by field.
Options: gecko_asc, gecko_desc, id_asc, id_desc, market_cap_asc, market_cap_desc, volume_asc, volume_desc
— Sparkline (sparkline)booleanNofalseWhether to include sparkline 7 days data.
— Price Change Percentage (price_change_percentage)multiOptionsNo[]Include price change percentage for specified time periods.
Options: 1h, 24h, 7d, 14d, 30d, 200d, 1y

Coin: Market Chart

ParameterTypeRequiredDefaultDescription
Search ByoptionsYescoinIdSearch by coin ID or contract address.
Options: coinId, contractAddress
Base CurrencystringYesThe CoinGecko coin ID for the base currency. (shown when Search By is coinId)
Platform IDoptionsYesethereumThe ID of the platform issuing tokens. (shown when Search By is contractAddress)
Options: ethereum
Contract AddressstringYesToken’s contract address. (shown when Search By is contractAddress)
Quote CurrencystringYesThe target currency code (e.g., usd, eur, btc). Full list available at GET /simple/supported_vs_currencies.
Range (Days)optionsYes1Return data for this many days in the past from now.
Options: 1, 7, 14, 30, 90, 180, 365, max

Coin: Price

ParameterTypeRequiredDefaultDescription
Search ByoptionsYescoinIdSearch by coin ID or contract address.
Options: coinId, contractAddress
Base CurrenciesstringYesComma-separated CoinGecko coin IDs (e.g., bitcoin,ethereum,solana). (shown when Search By is coinId)
Platform IDoptionsYesethereumThe ID of the platform issuing tokens. (shown when Search By is contractAddress)
Options: ethereum
Contract AddressesstringYesThe contract addresses of tokens, comma-separated. (shown when Search By is contractAddress)
Quote CurrenciesstringYesComma-separated target currency codes (e.g., usd,eur,btc). Full list available at GET /simple/supported_vs_currencies.
OptionscollectionNo{}Extra values to include alongside each price.
— Include 24hr Change (include_24hr_change)booleanNofalseInclude the 24-hour price change.
— Include 24hr Vol (include_24hr_vol)booleanNofalseInclude the 24-hour trading volume.
— Include Last Updated At (include_last_updated_at)booleanNofalseInclude the last-updated timestamp.
— Include Market Cap (include_market_cap)booleanNofalseInclude the market capitalization.

Coin: Ticker

ParameterTypeRequiredDefaultDescription
Coin IDstringYesThe CoinGecko coin ID. Find at https://www.coingecko.com/ — the ID is in the URL (e.g., bitcoin, ethereum, solana).
Return AllbooleanNofalseWhether to return all results or only up to a given limit.
LimitnumberNo100Max number of results to return (1–500). (shown when Return All is false)
OptionscollectionNo{}Extra filters and sorting for the ticker list.
— Exchange IDs (exchange_ids)stringNoComma-separated exchange IDs to filter by. Find exchange IDs at https://www.coingecko.com/en/exchanges.
— Include Exchange Logo (include_exchange_logo)booleanNofalseInclude each exchange’s logo URL.
— Order (order)optionsNotrust_score_descSort results by the selected rule.
Options: trust_score_desc, trust_score_asc, volume_desc

Event: Get Many

ParameterTypeRequiredDefaultDescription
Return AllbooleanNofalseWhether to return all results or only up to a given limit.
LimitnumberNo100Max number of results to return (1–500). (shown when Return All is false)
OptionscollectionNo{}Filters for the event listing.
— Country Code (country_code)stringNoCountry code to filter events. Find codes at GET /events/countries.
— From Date (from_date)stringNoList events after this date (ISO 8601 format).
— To Date (to_date)stringNoList events before this date (ISO 8601 format).
— Type (type)stringNoType of event to filter by. Find types at GET /events/types.
— Upcoming Events Only (upcoming_events_only)booleanNotrueWhether to list only upcoming events.

All Operations

ParameterTypeRequiredDefaultDescription
Max ConcurrencynumberNo10Maximum number of items to process concurrently (1–100).

Output Data

Every operation merges its result onto the input item’s JSON — the fields the item already carried survive, and a result field with the same name overwrites the item’s value. Binary data on the input item is forwarded unchanged.

Most operations fan out: one output item per record returned, so a single input item can produce hundreds of output items:

OperationOutput
Get, Price, HistoryOne output item — the API’s response object merged onto the item. Price returns one object keyed by coin (or contract address), not one item per coin.
Get Many, Market, TickerOne output item per coin or ticker returned.
Market ChartOne output item per data point, reshaped to time (ISO 8601), price, marketCaps, totalVolume.
CandlestickOne output item per candle, reshaped to time (ISO 8601), open, high, low, close.
Event Get ManyOne output item per event.

When a request returns nothing at all, the input item is still passed through unchanged — so an empty result is an item with no new fields on it, not a missing item. Check for the field you expect before using it downstream.

Usage Examples

  • Get the current price of Bitcoin in USD
  • List top 10 cryptocurrencies by market cap
  • Get OHLC candlestick data for Ethereum over 30 days
  • Get exchange ticker data for Bitcoin
  • Get historical snapshot of a coin at a specific date
  • List upcoming cryptocurrency events
  • Get market chart data for a token by contract address

Example Configuration

Look up several coins in several currencies at once:

{
  "type": "coingecko",
  "parameters": {
    "resource": "coin",
    "operation": "price",
    "searchBy": "coinId",
    "baseCurrencies": "bitcoin,ethereum",
    "quoteCurrencies": "usd,eur",
    "options": {
      "include_24hr_change": true,
      "include_market_cap": true
    }
  }
}

Get full current data for one coin, including market metrics:

{
  "type": "coingecko",
  "parameters": {
    "resource": "coin",
    "operation": "get",
    "searchBy": "coinId",
    "coinId": "{{ $json.coin }}",
    "options": {
      "market_data": true,
      "community_data": false,
      "developer_data": false,
      "localization": false,
      "sparkline": true,
      "tickers": false
    }
  }
}

Price a token by its Ethereum contract address:

{
  "type": "coingecko",
  "parameters": {
    "resource": "coin",
    "operation": "price",
    "searchBy": "contractAddress",
    "platformId": "ethereum",
    "contractAddresses": "{{ $json.tokenAddress }}",
    "quoteCurrencies": "usd,eur",
    "options": {
      "include_24hr_change": true,
      "include_24hr_vol": true,
      "include_last_updated_at": true
    }
  }
}

Pull a month of price history as one item per data point:

{
  "type": "coingecko",
  "parameters": {
    "resource": "coin",
    "operation": "marketChart",
    "searchBy": "coinId",
    "baseCurrency": "ethereum",
    "quoteCurrency": "usd",
    "days": "30"
  }
}

Get a week of daily candles:

{
  "type": "coingecko",
  "parameters": {
    "resource": "coin",
    "operation": "candlestick",
    "baseCurrency": "bitcoin",
    "quoteCurrency": "usd",
    "days": "7"
  }
}

Take a historical snapshot of a coin on a fixed date:

{
  "type": "coingecko",
  "parameters": {
    "resource": "coin",
    "operation": "history",
    "coinId": "bitcoin",
    "date": "2026-01-15T00:00:00Z",
    "options": {
      "localization": false
    }
  }
}

List the top 50 DeFi coins by market cap:

{
  "type": "coingecko",
  "parameters": {
    "resource": "coin",
    "operation": "market",
    "baseCurrency": "usd",
    "returnAll": false,
    "limit": 50,
    "options": {
      "category": "decentralized_finance_defi",
      "order": "market_cap_desc",
      "sparkline": true,
      "price_change_percentage": ["24h", "7d"]
    }
  }
}

List upcoming crypto conferences in one country:

{
  "type": "coingecko",
  "parameters": {
    "resource": "event",
    "operation": "getAll",
    "returnAll": false,
    "limit": 10,
    "options": {
      "country_code": "US",
      "type": "Conference",
      "upcoming_events_only": true
    }
  }
}

Error Handling

ModeBehavior
stopHalts workflow on first error
continueSkips failed items, passes successful ones through
errorPortRoutes failed items to Error output port

Tips

Retrieve cryptocurrency prices, market data, OHLC charts, tickers, and events from the CoinGecko public API — no authentication required.

  • Search By decides which identifier you fill in. With coinId you supply CoinGecko slugs; with contractAddress you supply Platform ID plus the token address. Filling the other one has no effect.
  • Return All really does page through everything. On Get Many, Market, Ticker and Events it keeps requesting pages until the API stops returning results, which can be a lot of items and a lot of requests. Leave it off and set Limit when you only need a slice.
  • The public API is rate limited. Lower Max Concurrency if a large batch starts returning errors, and prefer one request that names several coins (Price accepts comma-separated lists) over one node run per coin.
  • Resource and Operation are fixed at design time. Unlike the other fields they do not accept expressions, so build separate branches rather than switching operation per item.

Frequently asked questions

Do I need a CoinGecko account or API key to use this node?

No. The node calls the CoinGecko public API v3 and requires no credentials at all — there is no authentication step to configure. Just drop the node into your workflow and it works. Keep in mind that public access is rate limited, so high-volume workflows may start seeing errors if too many requests fire at once.

Should I use coinId or contractAddress as the search identifier, and does it matter which field I fill in?

It matters a lot. When Search By is set to coinId you must supply a CoinGecko slug (for example 'bitcoin' or 'ethereum') and the contract address field is ignored entirely. When set to contractAddress you must supply both a Platform ID and the token's on-chain address, and the coin ID field is ignored. Filling the wrong field produces no error but also returns no useful data, so double-check which mode is active.

What does 'Return All' actually do, and when should I leave it off?

When Return All is enabled on Get Many, Market, Ticker, or Events operations, the node pages through every available result by making repeated API requests until the API has nothing left to return. For popular operations like Market this can mean hundreds of coins and many sequential requests, all of which count against the public rate limit. Unless you genuinely need the full dataset, disable Return All and set a Limit instead.

I need price data for multiple coins — should I run one node per coin?

No. The Price operation accepts a comma-separated list of coin IDs in a single request, so you can fetch prices for dozens of coins in one node execution. Running a separate node instance per coin multiplies your API calls and is likely to trigger rate limiting. Batch your coin IDs into one request wherever the operation supports it.

Can I dynamically switch between operations — for example, fetch a price in one run and OHLC data in the next — using expressions?

No. Resource and Operation are fixed at design time and do not accept expressions. If your workflow needs both a Price lookup and a Candlestick chart, build two separate CoinGecko nodes in parallel branches rather than trying to switch the operation dynamically per item.

Build with the CoinGecko node

Drop it into a workflow, wire it to an agent, or call it on a schedule.

Open BusyBot

Last updated . Spotted something wrong? Tell us.