{"uid":"cap_YyHeb29QwuVd-SclKwIAT","slug":"coingecko-onchain-pool-ohlcv-a2be7f3c","name":"CoinGecko OnChain Pool OHLCV","description":"Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.","url":"https://stablecrypto.dev/api/coingecko/onchain/pool/ohlcv","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"number","description":"Number of results"},"token":{"type":"string","description":"Token side (e.g. \"base\", \"quote\")"},"address":{"type":"string","description":"Pool contract address"},"network":{"type":"string","description":"Network ID"},"currency":{"type":"string","description":"Price currency (e.g. \"usd\", \"token\")"},"aggregate":{"type":"string","description":"Aggregate period"},"timeframe":{"type":"string","description":"Timeframe (e.g. \"day\", \"hour\", \"minute\")"},"before_timestamp":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_6j61dXXx2rBipb9iDXUBp","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":"Fetches OHLCV (open, high, low, close, volume) candlestick chart data for a specific on-chain liquidity pool","exampleAgentPrompt":"Get me the last 100 hourly OHLCV candles for the Uniswap v3 pool at 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640 on Ethereum mainnet, priced in USD for the base token.","exampleUseCases":null,"resultDescription":"Returns an object with a 'data' field containing OHLCV candlestick records for the specified pool, including open, high, low, close prices and volume values aggregated over the requested timeframe and period.","failureModes":["Invalid or unsupported network ID returns error or empty data","Pool contract address not found on the specified network returns empty or error response","Unsupported timeframe or aggregate value may return validation error","before_timestamp in wrong format may cause query failure","Exceeding API rate limits or payment failure returns 402 or rate limit error"],"whenToPreferThis":"Use this endpoint when you need candlestick/OHLCV price history for a specific on-chain DEX liquidity pool by contract address, especially when you want flexible timeframe granularity (minute/hour/day) and currency denomination options. Prefer this over generic token price endpoints when working with pool-level data from GeckoTerminal-indexed networks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:57:55.586Z","isFirstParty":false}