Get Pool OHLCV Chart logo

Catalog action Blockchain Data

Retrieves OHLCV candlestick data for a specific DEX pool with customizable timeframes and aggregation. Returns up to 1000 candles per request; supports day/hour/minute/second intervals with pagination. Ideal for: DEX trading charts, technical analysis on specific pools, backtesting pool-specific strategies.

At a Glance

FieldValue
Action IDcoingecko-get-pool-ohlcv
CategoryBlockchain Data
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagscoingecko, onchain, pool, ohlcv, chart, candle, dex, read

Payload Schema

FieldTypeRequiredDescription
networkstringYesNetwork ID (e.g., 'eth', 'solana').
poolAddressstringYesPool contract address.
timeframestringYesChart timeframe: day, hour, minute, second.
aggregatestringNoTime aggregation period. Day: 1; Hour: 1,4,12; Minute: 1,5,15; Second: 1,15,30.
beforeTimestampnumberNoReturn OHLCV data before this Unix timestamp.
limitnumberNoNumber of results (default: 100, max: 1000).
currencystringNoCurrency for prices: usd or token.
tokenstringNoToken for reference: base, quote, or token address.
includeEmptyIntervalsbooleanNoInclude intervals with no trade data.

Result Schema

FieldTypeRequiredDescription
candlesarrayYesList of OHLCV candles.
baseTokenobjectNo-
quoteTokenobjectNo-

Examples

json
{ "type": "coingecko-get-pool-ohlcv", "payload": { "network": "example-network", "poolAddress": "0x0000000000000000000000000000000000000000", "timeframe": "day" }, "children": []}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I