{"uid":"cap_q_dly_PWXSt--WQriOY4w","slug":"dex-pool-ohlcv-candles-feb39599","name":"DEX Pool OHLCV Candles","description":"OHLCV candles for a DEX pool (open/high/low/close/volume) at minute/hour/day resolution. Send { chain, pool, timeframe?, limit? }. Charting data for any pool.","url":"https://x402-services-production.up.railway.app/api/analytics/ohlcv","method":"POST","headers":{},"bodySchema":{"type":"object","required":["pool"],"properties":{"pool":{"type":"string","description":"0x pool/pair address"},"chain":{"type":"string","description":"Chain, default base"},"limit":{"type":"number","description":"Max candles"},"timeframe":{"type":"string","description":"minute, hour (default), or day"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ge1VWmkUCC27dj1Wzp7hP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns OHLCV (open/high/low/close/volume) candlestick data for a DEX liquidity pool at minute, hour, or day resolution for charting.","exampleAgentPrompt":"Pull me the last 100 hourly OHLCV candles for the pool at 0x4e68Ccd3E89f51C3074ca5072bbAC773960dFa36 on Base so I can chart its price history.","exampleUseCases":null,"resultDescription":"Returns a time-series array of OHLCV candlestick objects for the specified DEX pool, each containing open, high, low, close prices and volume at the requested timeframe resolution (minute, hour, or day), up to the specified limit of candles.","failureModes":["Invalid or non-existent pool address returns an error or empty dataset","Unsupported chain identifier causes a bad request response","Timeframe value outside allowed enum (minute/hour/day) results in validation error","Limit value exceeding service maximum may be capped or rejected","Pool with insufficient on-chain activity may return fewer candles than requested","Payment failure (insufficient USDC) blocks the request"],"whenToPreferThis":"Use this endpoint when you need structured OHLCV candlestick data for a specific DEX liquidity pool on Base or another supported chain, especially for charting, technical analysis, or building price dashboards. Prefer this over token-level price APIs when you have a specific pool/pair contract address and need granular time-series price data at minute, hour, or day resolution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:02:41.617Z","isFirstParty":false}