{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"f0f63a64-28ff-4d18-97a0-6df7fb4946c1","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":"perpetuals-public-data","description":"Get Polymarket Perps Mark Price History data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as end_timestamp, instrument_id, interval, and retrieve structured data including data for historical charts, and windowed collection, ready for production pipelines and AI agent automation using a single OpenAny API key.","descriptionTranslations":{"ar":"اقرأ سجل سعر العلامة في Polymarket Perps لأداة وفاصل ونافذة بالميلي ثانية، لرسوم أسعار مرجعية تفصل العلامة عن شموع التداول وتحفظ حالة السلسلة الفارغة. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"商品、時間バケット、ミリ秒の期間で Polymarket Perps マーク価格履歴を読み、約定ローソク足と区別した参照価格チャートと空系列表示に利用できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"按指定合约、分桶区间和毫秒时间范围读取 Polymarket Perps 标记价格历史，用于参考价格图表，并区分标记价格与成交 K 线、保留空序列状态。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"dcdccd98-8e2c-4bd2-946c-17bfbbbfd58a","includedContentHtml":"","inputs":[{"description":"Instrument ID","location":"query","maximum":"4294967295","minimum":"0","name":"instrument_id","nullable":false,"required":true,"type":"integer"},{"description":"Kline interval","enum_values":["1s","1m","5m","15m","30m","1h","4h","6h","12h","1d","1w"],"location":"query","name":"interval","nullable":false,"required":true,"type":"string"},{"description":"Start timestamp in milliseconds","location":"query","name":"start_timestamp","nullable":false,"required":true,"type":"integer"},{"description":"End timestamp in milliseconds","location":"query","name":"end_timestamp","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 Mark Price History","nameTranslations":{"ar":"Polymarket — الحصول على سجل سعر العلامة","ja":"Polymarket — マーク価格履歴を取得","zh":"Polymarket — 获取标记价格历史"},"overviewHtml":"\u003ch2\u003ePolymarket Perps Mark Price History API\u003c/h2\u003e\n\u003cp\u003einstrument_id, interval and start_timestamp are required. end_timestamp is optional, and both timestamps use milliseconds. The response data array can be empty and more reports further source data. This route reads mark history, distinct from trade-price candles.\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: instrument_id, interval, start_timestamp, end_timestamp\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003epolymarket · Polymarket — Get Mark Price 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\u003eHistorical charts\u003c/strong\u003e: Display available mark-price records for the selected instrument.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eWindowed collection\u003c/strong\u003e: Retain interval and millisecond bounds with each 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\u003edata\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMark-history observations; the array can be empty\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emore\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWhether further source data is reported\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/v1/info/mark-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 end_timestamp=1793282423000 \\\n  --data-urlencode instrument_id=0 \\\n  --data-urlencode interval=1h \\\n  --data-urlencode start_timestamp=1793278823000\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/dcdccd98-8e2c-4bd2-946c-17bfbbbfd58a\"\u003ePublished Polymarket Perps Mark 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\u003eWhich interval values are accepted?\u003c/h3\u003e\n\u003cp\u003eUse 1s, 1m, 5m, 15m, 30m, 1h, 4h, 6h, 12h, 1d or 1w with exact spelling.\u003c/p\u003e\n\u003ch3\u003eIs start_timestamp optional?\u003c/h3\u003e\n\u003cp\u003eNo. This implementation requires start_timestamp together with instrument_id and interval, even if an upstream SDK offers a default lookback. Time bounds are in milliseconds.\u003c/p\u003e\n\u003ch3\u003eCan I send a cursor or limit?\u003c/h3\u003e\n\u003cp\u003eThis implementation exposes the instrument, interval and timestamp bounds. It has no cursor or limit input; inspect more when managing time-scoped reads.\u003c/p\u003e\n\u003ch3\u003eWhat does an empty data array mean?\u003c/h3\u003e\n\u003cp\u003eIt contains no returned observations. Preserve an empty-series state rather than constructing zero-price records.\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-index\"\u003ePolymarket — Get Index\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/polymarket/polymarket-get-instruments\"\u003ePolymarket — Get Instruments\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/polymarket/polymarket-get-klines\"\u003ePolymarket — Get Klines\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/polymarket/polymarket-get-mark-price-history?offering=dcdccd98-8e2c-4bd2-946c-17bfbbbfd58a","providerId":"polymarket","publicPath":"/v1/agent-apis/polymarket/v1/info/mark-history","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":null,"headers":{},"path":{},"query":{"end_timestamp":1793282423000,"instrument_id":0,"interval":"1h","start_timestamp":1793278823000}},"response_body":{"data":[],"more":false}}],"seoDescription":"Get Polymarket Perps Mark Price History data via REST or MCP powered by Polymarket. Pay per call, no subscription. Built for historical charts workflows.","updatedAt":"2026-12-03T02:49:30.798Z","usageInstructionsHtml":""}}