{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"44ced61e-7aad-4625-994a-867e8658fbd9","catalogType":"api","categories":["crypto-defi","finance","market-data"],"dataPlatform":"geckoterminal","dataPlatformLogoUrl":"","dataPlatformTranslations":{"ar":"GeckoTerminal","ja":"GeckoTerminal","zh":"GeckoTerminal"},"dataProduct":"onchain-market-data","description":"Get GeckoTerminal pool OHLCV candles via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Geckoterminal, pass parameters such as aggregate, currency, include_empty_intervals, and retrieve structured data including ohlcv list, base token contract address, base token symbol, quote token contract address, and quote token symbol for historical chart, and period comparison.","descriptionTranslations":{"ar":"استرجع شموع OHLCV التاريخية لمجمع GeckoTerminal عبر OpenAny REST، مع اختيار الإطار الزمني وفترة التجميع وطرف الرمز والعملة لإعداد المخططات أو المقارنات. استخدم مصفوفات الشموع لإعداد مخططات الأسعار أو بيانات المقارنة التاريخية، مع الحفاظ على حدود الفترات والرمز المختار والعملة عند معالجة القيم، وراجع مثال الطلب وخيارات التجميع المدعومة وتسعير التنفيذ المحدد قبل الاستدعاء.","ja":"OpenAny REST 経由で GeckoTerminal プールの過去の OHLCV ローソク足を取得し、時間枠、集計間隔、トークン側、通貨を指定してチャートや比較に利用できます。 返されたローソク足の配列を価格チャートや履歴比較データに利用できます。値を処理する際は時間区分、トークンの選択、通貨を保持し、リクエスト例、対応する集計設定、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 获取 GeckoTerminal 交易池的历史 OHLCV 蜡烛图，可选择时间粒度、聚合区间、代币侧及币种，用于图表或对比。 可使用返回的蜡烛图数组生成价格图表或历史对比数据，处理数值时保留时间区间、代币选择及币种；调用前请查看请求示例、支持的聚合选项及所选实现价格。"},"effectContentHtml":"","executionMode":"sync","id":"76b191e8-b6a7-497e-aef7-fd8920b4ecdd","includedContentHtml":"","inputs":[{"description":"network ID\u003cbr\u003e*refers to [/networks](/api/v2/networks)","location":"path","name":"network","nullable":false,"required":true,"type":"string"},{"description":"pool contract address","location":"path","name":"pool_address","nullable":false,"required":true,"type":"string"},{"description":"timeframe of the OHLCV chart","enum_values":["day","hour","minute"],"location":"path","name":"timeframe","nullable":false,"required":true,"type":"string"},{"description":"time period to aggregate for each OHLCV\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAvailable values (day):\u003c/b\u003e `1`\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAvailable values (hour):\u003c/b\u003e `1`, `4`, `12`\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAvailable values (minute):\u003c/b\u003e `1`, `5`, `15`","location":"query","name":"aggregate","nullable":false,"required":false,"type":"string"},{"description":"return OHLCV data before this timestamp (integer seconds since epoch)","location":"query","name":"before_timestamp","nullable":false,"required":false,"type":"string"},{"description":"number of OHLCV results to return, maximum 1000","location":"query","maximum":"1000","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"return OHLCV in USD or quote token","enum_values":["usd","token"],"location":"query","name":"currency","nullable":false,"required":false,"type":"string"},{"description":"include empty intervals with no trade data","location":"query","name":"include_empty_intervals","nullable":false,"required":false,"type":"boolean"},{"description":"return OHLCV for token\u003cbr\u003euse this to invert the chart\u003cbr\u003eAvailable values: 'base', 'quote', or token address","location":"query","name":"token","nullable":false,"required":false,"type":"string"}],"logoUrl":"","method":"GET","name":"GeckoTerminal — Pool OHLCV chart by Pool Address","nameTranslations":{"ar":"GeckoTerminal — مخطط OHLCV للمجمّع حسب عنوان المجمّع","ja":"GeckoTerminal — プールアドレス別プールOHLCVチャート","zh":"GeckoTerminal — 按池地址获取池OHLCV图表"},"overviewHtml":"\u003ch2\u003eGeckoTerminal Pool OHLCV API\u003c/h2\u003e\n\u003cp\u003eProvide network, pool_address and timeframe in the path. data.attributes.ohlcv_list contains candle arrays in timestamp, open, high, low, close and volume order. Optional aggregate, before_timestamp, limit, currency, token and include_empty_intervals control the requested chart data.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired path: network, pool_address, timeframe; Optional query: aggregate, before_timestamp, limit, currency, include_empty_intervals, token.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003egeckoterminal · GeckoTerminal — Pool OHLCV chart by Pool Address\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eHistorical chart\u003c/strong\u003e: Render candle arrays with the requested interval and currency.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePeriod comparison\u003c/strong\u003e: Compare pool price and volume series using consistent token and aggregation settings.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edata.attributes.ohlcv_list\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCandle arrays ordered as timestamp, open, high, low, close and volume\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emeta.base.address\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBase token contract address\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emeta.base.symbol\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBase token symbol\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emeta.quote.address\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eQuote token contract address\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emeta.quote.symbol\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eQuote token symbol\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/geckoterminal/api/v2/networks/eth/pools/0x60594a405d53811d3bc4766596efd80fd545a270/ohlcv/hour \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39; \\\n  -H \u0026#39;Accept: application/json;version=20230203\u0026#39; \\\n  --data-urlencode aggregate=4 \\\n  --data-urlencode currency=usd \\\n  --data-urlencode include_empty_intervals=false \\\n  --data-urlencode limit=100 \\\n  --data-urlencode token=base\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and can describe a different token, network or DEX from the request template. Match returned resource identities to your request; reference prices and timestamps are not current market values.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/76b191e8-b6a7-497e-aef7-fd8920b4ecdd\"\u003ePublished GeckoTerminal Pool OHLCV API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich timeframe and aggregate combinations are accepted?\u003c/h3\u003e\n\u003cp\u003etimeframe accepts day, hour or minute. aggregate supports 1 for day; 1, 4 or 12 for hour; and 1, 5 or 15 for minute. Send aggregate as a string.\u003c/p\u003e\n\u003ch3\u003eHow can I request candles before a specific time?\u003c/h3\u003e\n\u003cp\u003eSet before_timestamp to integer seconds since the Unix epoch, represented by this input as a string. limit supports up to 1000 candles.\u003c/p\u003e\n\u003ch3\u003eCan I invert the chart or change the currency?\u003c/h3\u003e\n\u003cp\u003etoken accepts base, quote or a token address to select the token side; currency accepts usd or token. Preserve those settings when comparing candles.\u003c/p\u003e\n\u003ch3\u003eWhat does include_empty_intervals control?\u003c/h3\u003e\n\u003cp\u003eIt selects whether empty trading intervals are included. Do not treat the number of returned candles as a count of individual trades.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use for this request?\u003c/h3\u003e\n\u003cp\u003eSend your OpenAny API key in the Authorization header as Bearer authentication when calling the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current call price?\u003c/h3\u003e\n\u003cp\u003eReview the pricing area for the selected API implementation before calling. Follow its billing unit and terms; additional requests use their own selected implementation.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/geckoterminal/geckoterminal-top-pools-by-token-address\"\u003eGeckoTerminal — Top Pools by Token Address\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/geckoterminal/geckoterminal-supported-dexes-list-by-network-id-map\"\u003eGeckoTerminal — Supported Dexes List by Network (ID Map)\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/geckoterminal/geckoterminal-token-info-by-token-address\"\u003eGeckoTerminal — Token Info by Token Address\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/geckoterminal/geckoterminal-pool-ohlcv-chart-by-pool-address?offering=76b191e8-b6a7-497e-aef7-fd8920b4ecdd","providerId":"geckoterminal","publicPath":"/v1/agent-apis/geckoterminal/api/v2/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Official example","request":{"body":null,"headers":{"Accept":"application/json;version=20230203"},"path":{"network":"eth","pool_address":"0x60594a405d53811d3bc4766596efd80fd545a270","timeframe":"hour"},"query":{"aggregate":"4","currency":"usd","include_empty_intervals":false,"limit":100,"token":"base"}},"response_body":{"data":{"attributes":{"ohlcv_list":[[1712534400,3454.61590249189,3660.85954963415,3417.91885296256,3660.85954963415,306823.277031161],[1712448000,3362.60273217873,3455.28884490954,3352.95305060685,3454.61590249189,242144.864784184],[1712361600,3323.05578706056,3391.19811016133,3317.73497182435,3362.60273217873,273323.661682931]]},"id":"bc786a99-7205-4c80-aaa1-b9634d97c926","type":"ohlcv_request_response"},"meta":{"base":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","coingecko_coin_id":"weth","name":"Wrapped Ether","symbol":"WETH"},"quote":{"address":"0xdac17f958d2ee523a2206206994597c13d831ec7","coingecko_coin_id":"tether","name":"Tether USD","symbol":"USDT"}}}}],"seoDescription":"Get GeckoTerminal pool OHLCV candles via REST or MCP powered by Geckoterminal. Pay per call, no subscription. Get ohlcv list and base token symbol in JSON.","updatedAt":"2026-12-03T02:49:03.137Z","usageInstructionsHtml":""}}