Solaris AISolaris AI FlowDocs
Node ReferenceData

CoinGecko

Token prices, pool data, OHLCV, trending tokens, and on-chain analytics via CoinGecko.

View as Markdown

CoinGecko provides comprehensive crypto market data. The CoinGecko node supports 25+ operations covering token prices, pool analytics, OHLCV charts, trending data, holder analysis, and DEX information.

Prerequisites

  • CoinGecko API key (coingecko.com/api)
  • Add as a credential in Credentials
  • Set the planType field in your credential (demo, analyst, lite, or pro)

Operations

OperationDescriptionKey inputs
getTokenPriceGet price for a token by addressaddress
getBatchTokenPriceGet prices for multiple tokensaddresses
getTokenInfoGet token metadata and statsaddress
getMultiTokenInfoGet info for multiple tokensaddresses
getPoolInfoGet pool detailspoolAddress
getMultiPoolInfoGet multiple pool detailspoolAddresses
getTrendingPoolsList trending poolsduration, page
getTopPoolsList top pools by volumepage
getNewPoolsList newly created poolspage
searchPoolsSearch pools by keywordsearchQuery, page
megafilterPoolsAdvanced pool filteringdexId, minLiquidity, minVolume, sortBy
getPoolOHLCVGet pool OHLCV candlespoolAddress, timeframe, aggregate, limit
getTokenOHLCVGet token OHLCV candlesaddress, timeframe, aggregate, limit
getRecentTradesGet recent trades for a poolpoolAddress
listDexesList all tracked DEXespage
getTopPoolsByDexList top pools on a specific DEXdexId, page
getPoolTokenInfoGet token info from pool contextpoolAddress
getTokenSecurityInfoGet token security scoreaddress
getTopPoolsByTokenGet top pools for a tokenaddress, page
getTokenTradesGet trades for a tokenaddress
getTokenHoldersChartGet holder distribution chartaddress, holdersChartDays
getTopTokenHoldersGet top token holdersaddress, holdersCount
getTopTokenTradersGet top traders for a tokenaddress, tradersCount
getCoinOHLCGet coin OHLC data by CoinGecko IDcoinId, vsCurrency, ohlcDays, ohlcInterval

Configuration

FieldTypeRequiredDescription
API KeyselectYesYour CoinGecko credential from Connections
Response NametextYesName used by downstream nodes, such as {coingeckoResponse.data}
addressstringFor most opsToken contract address
addressesstringFor batch opsComma-separated token addresses. Demo supports fewer addresses than paid plans
poolAddressstringFor pool opsPool contract address
poolAddressesstringFor multi poolComma-separated pool addresses
searchQuerystringFor searchPoolsSearch keyword
coinIdstringFor getCoinOHLCCoinGecko coin ID (e.g., solana)
dexIdstringNoDEX identifier
vsCurrencystringNoQuote currency (default: usd)
timeframestringNoCandle timeframe: minute, hour, day
aggregatenumberNoOHLCV aggregation. Minute supports 1, 5, 15; hour supports 1, 4, 12; day supports 1
ohlcvCurrencyselectNoOHLCV currency: USD or token
beforeTimestampnumberNoUnix timestamp used to page OHLCV candles backward
durationselectNoTrending duration: 5m, 1h, 6h, or 24h
pagenumberNoPagination page. Demo plan supports up to page 10
limitnumberNoOHLCV candle limit, max 1000
sortBystringNoSort field for Megafilter Pools
topPoolsSortselectNoTop Pools sort: default, highest volume, or most transactions
minVolumenumberNoMinimum volume filter
minLiquiditynumberNoMinimum liquidity filter
holdersChartDaysselectFor getTokenHoldersChart7 days, 30 days, or Max
holdersCountnumberFor getTopTokenHoldersNumber of holders to return, max 40
tradersCountnumberFor getTopTokenTradersNumber of traders to return, max 50
ohlcDaysselectFor getCoinOHLC1, 7, 14, 30, 90, 180, 365, or max depending on interval and plan
ohlcIntervalselectNoAuto, daily, or hourly. Daily/hourly require a paid plan

Include options

Several operations expose checkboxes that add richer data to the response:

OptionAvailable onDescription
Market CapgetTokenPrice, getBatchTokenPriceAdds market cap fields
24h VolumegetTokenPrice, getBatchTokenPriceAdds 24h volume
24h Price Change %getTokenPrice, getBatchTokenPriceAdds 24h price change
FDV Fallback for Market CapgetTokenPrice, getBatchTokenPriceUses FDV when market cap is unavailable
Total Reserve (USD)getTokenPrice, getBatchTokenPriceAdds reserve value
Pool CompositiongetTokenInfo, getPoolInfoAdds related pool composition data
Include Inactive SourcesgetTokenInfoIncludes inactive token sources
Volume BreakdowngetPoolInfoAdds detailed pool volume breakdown
Include Pool ContextgetPoolTokenInfoAdds pool context to token info
Include Community Sentiment DatagetTrendingPoolsAdds CoinGecko community sentiment data
Include PnL DetailsgetTopTokenHoldersAdds holder profit/loss detail when available

Plan limits matter on some CoinGecko operations. Demo credentials use the demo API endpoint, paid plans use the pro endpoint, and some fields such as OHLC interval, max OHLC days, holder charts, top holders, and top traders may require a paid CoinGecko plan.

Output

CoinGecko returns a JSON:API envelope of the form { data, included?, meta? }. The node unwraps it so downstream references don't need to traverse data.data: the inner data value is exposed at .data, and included / meta are surfaced as siblings when present. A typical response:

{
  "success": true,
  "operation": "getTokenPrice",
  "address": "So11111111111111111111111111111111111111112",
  "data": { /* inner JSON:API data (object or array) */ }
}

Operations that take an address echo it at the top level. Reference fields with the response name (default coingeckoResponse), for example {coingeckoResponse.data.attributes.token_prices.<address>} for getTokenPrice or {coingeckoResponse.data.attributes.name} for getTokenInfo.

Common use cases

  • Comprehensive market data for multi-protocol analysis
  • Track new pool launches and trending tokens
  • Analyze holder distribution and whale movements

Next steps

  • Birdeye - Solana-specific token analytics
  • Dune - custom SQL queries on blockchain data

On this page