{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"9ed5b628-f003-494e-8c03-c5a2b40e448b","catalogType":"api","categories":["crypto-defi"],"dataPlatform":"polymarket","dataPlatformLogoUrl":"https://docs.polymarket.com/mintlify-assets/_mintlify/favicons/polymarket-292d1b1b/A9bXCLxqYBPZ1NXc/_generated/favicon/android-chrome-192x192.png","dataPlatformTranslations":{"ar":"polymarket","ja":"polymarket","zh":"polymarket"},"dataProduct":"orderbook-and-prices","description":"Get Polymarket Price History data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as fidelity, interval, market, and retrieve structured data including historical price observations, observation timestamp, and observed price for outcome charts, and historical comparisons, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"استرجع سجل أسعار أصل في Polymarket مع فترة وحدود زمنية ودقة بالدقائق، للحصول على مشاهدات مؤرخة لرسوم النتائج والمقارنات التاريخية عبر REST. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"資産IDと期間、タイムスタンプ範囲、分単位の精度を指定して Polymarket の価格履歴を取得し、結果チャートや履歴比較に利用できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"按资产查询 Polymarket 价格历史，选择区间、时间戳范围和分钟精度，通过 REST 获取带时间戳的观测值，用于结果价格图表和历史对比。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"f03814f3-9a5a-4793-a2e1-6e645e7cb4e6","includedContentHtml":"","inputs":[{"description":"The market (asset id) to query.","location":"query","name":"market","nullable":false,"required":true,"type":"string"},{"description":"Filter by items after this unix timestamp.","location":"query","name":"startTs","nullable":false,"required":false,"type":"number"},{"description":"Filter by items before this unix timestamp.","location":"query","name":"endTs","nullable":false,"required":false,"type":"number"},{"description":"Time interval for data aggregation.","enum_values":["max","all","1m","1w","1d","6h","1h"],"location":"query","name":"interval","nullable":false,"required":false,"type":"string"},{"description":"Accuracy of the data expressed in minutes. Default is 1 minute.","location":"query","name":"fidelity","nullable":false,"required":false,"type":"integer"}],"logoUrl":"https://docs.polymarket.com/mintlify-assets/_mintlify/favicons/polymarket-292d1b1b/A9bXCLxqYBPZ1NXc/_generated/favicon/android-chrome-192x192.png","method":"GET","name":"Polymarket — Get prices history","nameTranslations":{"ar":"Polymarket — الحصول على سجل الأسعار","ja":"Polymarket — 価格履歴を取得","zh":"Polymarket — 获取价格历史"},"overviewHtml":"\u003ch2\u003ePolymarket Price History API\u003c/h2\u003e\n\u003cp\u003eThe required market query field identifies an asset, rather than an event or condition. The response history array contains t and p observations. This implementation uses camelCase startTs and endTs and minute-based fidelity.\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\u003equery: market, startTs, endTs, interval, fidelity\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003epolymarket · Polymarket — Get prices history\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\u003eOutcome charts\u003c/strong\u003e: Plot timestamped prices for a selected asset.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eHistorical comparisons\u003c/strong\u003e: Collect consistently configured windows for later analysis.\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\u003ehistory[]\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eHistorical price observations\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ehistory[].t\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eObservation timestamp\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ehistory[].p\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eObserved price\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 --request GET --get \\\n  \u0026#34;https://api.openany.si/v1/agent-apis/polymarket/prices-history\u0026#34; \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39; \\\n  --data-urlencode fidelity=60 \\\n  --data-urlencode interval=1d \\\n  --data-urlencode market=20006732765674855733524007935991362439352594042415161039767275461950712817548\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe saved response is a published documentation example. Its values may be historical; the request is an independent calling template. Use current returned identifiers and optional fields for your chosen resource.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/f03814f3-9a5a-4793-a2e1-6e645e7cb4e6\"\u003ePublished Polymarket Price History 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\u003eWhat goes in market?\u003c/h3\u003e\n\u003cp\u003eUse the asset ID for the outcome to chart. The parameter is named market, but its contract describes an asset ID.\u003c/p\u003e\n\u003ch3\u003eWhich interval values are supported?\u003c/h3\u003e\n\u003cp\u003eThe contract lists max, all, 1m, 1w, 1d, 6h and 1h. Preserve the exact literal value.\u003c/p\u003e\n\u003ch3\u003eHow is fidelity interpreted?\u003c/h3\u003e\n\u003cp\u003efidelity is an integer measured in minutes. It is distinct from the bucket_seconds control of the v2 token history route.\u003c/p\u003e\n\u003ch3\u003eIs this the same as batch history?\u003c/h3\u003e\n\u003cp\u003eNo. This GET route uses market, startTs and endTs and returns one history array. Batch history uses a markets array, snake_case bounds and a map of series.\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 implementation. Follow its billing unit 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/polymarket/polymarket-get-market-by-token\"\u003ePolymarket — Get market by token\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/polymarket/polymarket-get-multiple-markets-with-rewards\"\u003ePolymarket — Get multiple markets with rewards\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/polymarket/polymarket-get-order-books-request-body\"\u003ePolymarket — Get order books (request body)\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/polymarket/polymarket-get-prices-history?offering=f03814f3-9a5a-4793-a2e1-6e645e7cb4e6","providerId":"polymarket","publicPath":"/v1/agent-apis/polymarket/prices-history","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":null,"headers":{},"path":{},"query":{"fidelity":60,"interval":"1d","market":"20006732765674855733524007935991362439352594042415161039767275461950712817548"}},"response_body":{"history":[{"p":0.485,"t":1793199657},{"p":0.445,"t":1793203227},{"p":0.455,"t":1793206833},{"p":0.52,"t":1793214003},{"p":0.505,"t":1793221246},{"p":0.515,"t":1793224841},{"p":0.505,"t":1793228429},{"p":0.465,"t":1793232000},{"p":0.445,"t":1793242844},{"p":0.455,"t":1793246432},{"p":0.455,"t":1793250040},{"p":0.445,"t":1793253652},{"p":0.445,"t":1793257226},{"p":0.45,"t":1793260819},{"p":0.46,"t":1793264443},{"p":0.465,"t":1793268026},{"p":0.455,"t":1793271637},{"p":0.445,"t":1793275254},{"p":0.455,"t":1793278824},{"p":0.455,"t":1793282427},{"p":0.455,"t":1793282602}]}}],"seoDescription":"Get Polymarket Price History data via REST or MCP powered by Polymarket. Pay per call, no subscription. Retrieve observation timestamp and observed price.","updatedAt":"2026-12-03T02:49:27.491Z","usageInstructionsHtml":""}}