{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"7500","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"3067bc9f-11d7-4253-a917-7f681e4f073a","catalogType":"api","categories":["finance"],"dataPlatform":"BlockRun","dataPlatformLogoUrl":"https://blockrun.ai/apple-touch-icon.png","dataPlatformTranslations":{"ar":"BlockRun","ja":"BlockRun","zh":"BlockRun"},"dataProduct":"prediction","description":"Query Blockrun Get historical OHLCV candlestick data for a single outcome token data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, pass parameters such as end_time, interval, start_time, and retrieve structured data including returned price field, returned trades count field, returned volume field, returned condition id value, and returned interval field for market reference and account inspection, and integration reference.","descriptionTranslations":{"ar":"استخدم أسواق التنبؤ والمشتقات — الحصول على بيانات شموع OHLCV التاريخية لرمز نتيجة واحد API عبر OpenAny، مع تقديم token_id بصيغة طلب GET الموثقة، لدعم مرجع السوق وفحص الحسابات. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から 予測市場とデリバティブ — 単一の結果トークンの過去の OHLCV ローソク足データを取得 API を利用し、GET リクエスト形式で token_id を指定して、市場参照と口座の確認に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 预测市场与衍生品 — 获取单一结果代币的历史 OHLCV K 线数据 API，按所选实现的 GET 请求格式提供 token_id，用于市场参考和账户检查。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"3899a17a-1767-4240-bfeb-acba61f26fe0","includedContentHtml":"","inputs":[{"description":"Identifier of a prediction-market outcome token, not an ERC-20 contract address.","location":"path","name":"token_id","nullable":false,"required":true,"type":"string"},{"description":"Unix timestamp (seconds) for end of time range","location":"query","minimum":"0","name":"end_time","nullable":true,"required":false,"type":"integer"},{"description":"Interval: 0=auto, 1=1m, 5=5m, 15=15m, 60=1h, 1440=1d","location":"query","name":"interval","nullable":false,"required":false,"type":"integer"},{"description":"Unix timestamp (seconds) for start of time range","location":"query","minimum":"0","name":"start_time","nullable":true,"required":false,"type":"integer"}],"logoUrl":"https://blockrun.ai/apple-touch-icon.png","method":"GET","name":"Prediction Markets and Derivatives — Get historical OHLCV candlestick data for a single outcome token","nameTranslations":{"ar":"أسواق التنبؤ والمشتقات — الحصول على بيانات شموع OHLCV التاريخية لرمز نتيجة واحد","ja":"予測市場とデリバティブ — 単一の結果トークンの過去の OHLCV ローソク足データを取得","zh":"预测市场与衍生品 — 获取单一结果代币的历史 OHLCV K 线数据"},"overviewHtml":"\u003ch2\u003eBlockrun Get historical OHLCV candlestick data for a single outcome token API\u003c/h2\u003e\n\u003cp\u003eRetrieve historical OHLCV candlestick data for a single outcome token with the BlockRun API. Provide token_id in path. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.\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\u003epath: token_id; query: end_time, interval, start_time\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eblockrun · Prediction Markets and Derivatives — Get historical OHLCV candlestick data for a single outcome token\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eFollow the selected implementation pricing, billing unit, quantity and charge rules\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\u003eMarket reference and account inspection\u003c/strong\u003e: Keep market, asset and account identities distinct when interpreting records.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIntegration reference\u003c/strong\u003e: Use the selected request format and keep source identifiers with the returned result.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\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\u003ecandlesticks[].end_period_ts\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned end period ts field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecandlesticks[].price\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned price field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecandlesticks[].trades_count\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned trades count field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecandlesticks[].volume\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned volume field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003econdition_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned condition id value (nullable in the reference)\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efirst_trade_ts\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned first trade ts field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003einterval\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned interval field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003einterval_seconds\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned interval seconds field\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 supported inputs and set any required query value shown in the template.\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 \\\n  \u0026#39;https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/candlesticks/token/42356562910850310722772587374429042669248036407566323679593011382225452967645?end_time=1793450223\u0026amp;interval=1\u0026amp;start_time=1793450103\u0026#39; \\\n  -X GET \\\n  -H \u0026#34;Authorization: Bearer $OPENANY_API_KEY\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/3899a17a-1767-4240-bfeb-acba61f26fe0\"\u003ePublished Blockrun Get historical OHLCV candlestick data for a single outcome token 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 inputs identify this request?\u003c/h3\u003e\n\u003cp\u003eProvide token_id in path (string). Keep identifiers and URLs in the formats documented for this implementation.\u003c/p\u003e\n\u003ch3\u003eWhich pagination or result-size inputs are exposed?\u003c/h3\u003e\n\u003cp\u003estart_time is integer with minimum 0. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.\u003c/p\u003e\n\u003ch3\u003eWhat type does end_time use?\u003c/h3\u003e\n\u003cp\u003eend_time uses the JSON type integer in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.\u003c/p\u003e\n\u003ch3\u003eWhere do URL parameters belong?\u003c/h3\u003e\n\u003cp\u003eUse the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-prediction-markets-and-derivatives-get-per-market-performance-breakdown-for-a-wallet\"\u003ePrediction Markets and Derivatives — Get per-market performance breakdown for a wallet\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-prediction-markets-and-derivatives-get-the-global-leaderboard-of-smart-wallets\"\u003ePrediction Markets and Derivatives — Get the global leaderboard of smart wallets\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-prediction-markets-and-derivatives-list-uma-oracle-questions-filtered-by-state-proposed\"\u003ePrediction Markets and Derivatives — List UMA oracle questions filtered by state (proposed, disputed, resolved, …)\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/blockrun/blockrun-prediction-markets-and-derivatives-get-historical-ohlcv-candlestick-data-for-a-single-o?offering=3899a17a-1767-4240-bfeb-acba61f26fe0","providerId":"blockrun","publicPath":"/v1/agent-apis/blockrun/v1/pm/polymarket/candlesticks/token/{token_id}","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Documentation example (source abbreviated)","request":{"body":null,"headers":{},"path":{"token_id":"42356562910850310722772587374429042669248036407566323679593011382225452967645"},"query":{"end_time":1793450223,"interval":1,"start_time":1793450103}},"response_body":{"candlesticks":[{"end_period_ts":1793450220,"price":{"close":0.48,"close_dollars":"0.4800","high":0.48,"high_dollars":"0.4800","low":0.48,"low_dollars":"0.4800","mean":0.48,"mean_dollars":"0.4800","open":0.48,"open_dollars":"0.4800"},"trades_count":1,"volume":1.92}],"condition_id":null,"first_trade_ts":1793270160,"interval":1,"interval_seconds":60,"last_trade_ts":1793450460,"token_id":"42356562910850310722772587374429042669248036407566323679593011382225452967645"}}],"seoDescription":"Get Blockrun Get historical OHLCV candlestick data via REST or MCP powered by BlockRun. Pay per call, no subscription. Structured JSON with one API key.","updatedAt":"2026-12-03T02:49:53.331Z","usageInstructionsHtml":""}}