{"uid":"cap_i4M5J-r7yPI-g2KcFT_DU","slug":"dex-pool-ohlcv-candles-geckoterminal-f865dbf0","name":"DEX Pool OHLCV Candles (GeckoTerminal)","description":"OHLCV candles for a DEX pool (GeckoTerminal): open/high/low/close/volume. For charting and backtesting agents. Params: network, pool (address), timeframe (minute|hour|day), limit (max 300).","url":"https://opportunity-api-production.up.railway.app/api/pool-ohlcv","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["network","pool"],"properties":{"pool":{"type":"string","description":"pool address (from search-pools)"},"limit":{"type":"string","description":"max 300, default 100"},"network":{"type":"string"},"timeframe":{"type":"string","description":"minute|hour|day, default hour"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zv8LMNkTH5QSXmC2bA2DR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns OHLCV candlestick data (open/high/low/close/volume) for a DEX liquidity pool, sourced from GeckoTerminal, for charting and backtesting.","exampleAgentPrompt":"Can you pull the last 100 hourly OHLCV candles for the USDC/ETH pool at address 0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640 on Ethereum so I can chart the price action?","exampleUseCases":null,"resultDescription":"An array of OHLCV candlestick records for the specified DEX pool, each containing open, high, low, close prices in USD and trading volume, indexed by timestamp. Up to 300 candles returned depending on the limit parameter.","failureModes":["Invalid or unknown pool address returns an error or empty result","Unsupported network identifier causes a bad request response","Limit exceeding 300 is rejected or clamped","Invalid timeframe value (not minute/hour/day) returns an error","Pool address not found on GeckoTerminal returns empty data"],"whenToPreferThis":"Use this endpoint when you need historical OHLCV candlestick price data for a specific DEX liquidity pool for charting, technical analysis, or backtesting. Prefer this over general token price APIs when you need granular open/high/low/close/volume broken down by time period (minute, hour, or day) at the pool level rather than aggregated token prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:20.441Z","isFirstParty":false}