{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"74f8b786-e19d-4550-9857-088f1c1334c7","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":"public-analytics","description":"Get Polymarket Token Price History v2 data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as interval, limit, token_id, and retrieve structured data including observation timestamp, observed token price, resolution seconds, opaque continuation cursor, and response page-size context for versioned charts, and fixed-window collection.","descriptionTranslations":{"ar":"اقرأ سجل سعر الرمز في Polymarket v2 بحاويات زمنية بالثواني ونوافذ محددة أو نسبية ومؤشر صفحات، لدعم الرسوم والقراءات عند نقطة زمنية مع الاحتفاظ بالدقة المُبلغ عنها. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"秒単位のバケット、明示または相対期間、カーソルで Polymarket v2 トークン価格履歴を取得し、実際の解像度を保持してチャート収集や時点照会に利用できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"读取 Polymarket v2 代币价格历史，使用秒级分桶、明确或相对时间范围和游标分页，支持图表采集及时点查询，并保留每个观测值的实际分辨率。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"a8b5eda6-9dce-4a8d-b962-94ea3ed58930","includedContentHtml":"","inputs":[{"description":"Outcome token id (the CLOB asset id the chart is keyed by). Required.\n`tokenId` is an accepted alias. This execution profile requires an explicit non-null value. The original optional/nullable OpenAPI declarations remain in officialOperation.","location":"query","name":"token_id","nullable":false,"required":true,"type":"string"},{"description":"Window start, epoch seconds, INCLUSIVE. Alone it means \"up to the\npresent\", and is capped at 15 days back from now.\n\nPass `end` too when paging: a window that tracks the present keeps\ngrowing at the tip, and the 15-day cap is re-checked on every page, so a\nwalk that starts near the cap can outlive it.","location":"query","name":"start","nullable":true,"required":false,"type":"integer"},{"description":"Window end, epoch seconds, EXCLUSIVE. Requires `start`; on its own it\nwould ask for every point ever recorded up to `end`.","location":"query","name":"end","nullable":true,"required":false,"type":"integer"},{"description":"Relative window INSTEAD of `start`/`end`: `max`, `all`, `1m`, `1w`,\n`1d`, `6h`, `1h`, matched case-sensitively. An empty `interval=` is a\nmalformed value, not an absent one.\n\n`max`/`all` serve the market's WHOLE life (back to 2022 for the oldest\nmarkets) at 12-hour buckets by default; at `bucket_seconds` of 10800 or\n43200 the window is unbounded, while finer widths keep a 30-day window.\nThe other intervals take a width sized to their own span when\n`bucket_seconds` is omitted (`1h`/`6h`/`1d` 60, `1w` 300, `1m` 1800), and\neach still floors an explicit value: 600 for `max`/`all`/`1m`, 300 for\n`1w`.","location":"query","name":"interval","nullable":true,"required":false,"type":"string"},{"description":"Bucket width in SECONDS (60…86400). `bucketSeconds` is an accepted alias.\n\nOMIT it and the server sizes the width to the window: the finest tier\ngrain (60, 300, 1800, 10800, 43200) that keeps the series under ~2,500\npoints, except that an explicit window wider than 12 hours never\ndefaults to the 60s grain (send `bucket_seconds=60` when you want\nsecond-by-minute detail over a longer window), and coarsened further if\nthat grain no longer reaches the window's start.\nSo a window up to 12 hours keeps 1-minute detail, half a day through a\nweek defaults to 300, fifteen days to 1800; interval presets keep their\nown span-derived defaults (`1d` 60s, `1w` 300, `1m` 1800, and the\nunbounded `max`/`all` 43200).\n\nSEND it and it is served exactly as asked, which for a window older than\nthat resolution's retention means an empty page rather than a silent\nsubstitution. An explicit value is also floored per interval: 600 for\n`max`/`all`/`1m`, 300 for `1w`.","location":"query","name":"bucket_seconds","nullable":true,"required":false,"type":"integer"},{"description":"Point-in-time read, epoch seconds, INCLUSIVE: the latest observation at\nor before this instant. Cannot be combined with a window. `asOf` is an\naccepted alias.","location":"query","name":"as_of","nullable":true,"required":false,"type":"integer"},{"description":"First-page size; defaults to the cap (10,000). Ignored when `cursor` is\nsupplied (the cursor's size wins).","location":"query","maximum":"10000","minimum":"0","name":"limit","nullable":true,"required":false,"type":"integer"},{"description":"Opaque pagination cursor from a prior response's `next_cursor`.","location":"query","name":"cursor","nullable":true,"required":false,"type":"string"}],"logoUrl":"https://docs.polymarket.com/mintlify-assets/_mintlify/favicons/polymarket-292d1b1b/A9bXCLxqYBPZ1NXc/_generated/favicon/android-chrome-192x192.png","method":"GET","name":"Polymarket — Get a token's price history","nameTranslations":{"ar":"Polymarket — الحصول على سجل أسعار رمز","ja":"Polymarket — トークンの価格履歴を取得","zh":"Polymarket — 获取代币价格历史"},"overviewHtml":"\u003ch2\u003ePolymarket Token Price History v2 API\u003c/h2\u003e\n\u003cp\u003eProvide token_id explicitly. data contains price, timestamp and resolution_seconds records; pagination provides has_more and next_cursor. Choose an explicit start/end window, an interval or as_of point-in-time read without combining incompatible time modes.\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: token_id, start, end, interval, bucket_seconds, as_of, limit, cursor\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003epolymarket · Polymarket — Get a token\u0026#39;s 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\u003eVersioned charts\u003c/strong\u003e: Store prices with their returned resolution_seconds.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eFixed-window collection\u003c/strong\u003e: Page a bounded time window without moving its end.\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[].timestamp\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eObservation timestamp\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edata[].price\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eObserved token price\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edata[].resolution_seconds\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eResolution of the returned observation in seconds\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epagination.has_more\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWhether another page is available\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epagination.next_cursor\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOpaque continuation cursor\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epagination.limit\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eResponse page-size context\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/v2/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 interval=1d \\\n  --data-urlencode limit=2 \\\n  --data-urlencode token_id=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/a8b5eda6-9dce-4a8d-b962-94ea3ed58930\"\u003ePublished Polymarket Token Price History v2 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\u003eHow do explicit time bounds work?\u003c/h3\u003e\n\u003cp\u003estart is inclusive and end is exclusive, in epoch seconds. end requires start. With start alone the window tracks the present and is capped at 15 days back; set end when paging a fixed window.\u003c/p\u003e\n\u003ch3\u003eCan I combine interval, as_of and start/end?\u003c/h3\u003e\n\u003cp\u003eUse one time mode. interval replaces start/end, while as_of reads the latest observation at or before an instant and cannot be combined with a window.\u003c/p\u003e\n\u003ch3\u003eIs bucket_seconds the same as fidelity?\u003c/h3\u003e\n\u003cp\u003eNo. Here bucket_seconds is in seconds, from 60 to 86400. Default sizing adapts to the window; explicit widths remain subject to the documented interval floors and resolution retention. Read resolution_seconds in the result.\u003c/p\u003e\n\u003ch3\u003eHow do I continue a paged history read?\u003c/h3\u003e\n\u003cp\u003ePass pagination.next_cursor as cursor and preserve the lookup context. limit controls the first page, up to 10000; the cursor\u0026#39;s page size takes precedence on continuation.\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-simplified-markets\"\u003ePolymarket — Get simplified markets\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/polymarket/polymarket-get-spread\"\u003ePolymarket — Get spread\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/polymarket/polymarket-get-spreads\"\u003ePolymarket — Get spreads\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/polymarket/polymarket-get-a-token-s-price-history?offering=a8b5eda6-9dce-4a8d-b962-94ea3ed58930","providerId":"polymarket","publicPath":"/v1/agent-apis/polymarket/v2/prices-history","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":null,"headers":{},"path":{},"query":{"interval":"1d","limit":2,"token_id":"20006732765674855733524007935991362439352594042415161039767275461950712817548"}},"response_body":{"data":[{"price":0.475,"resolution_seconds":60,"timestamp":1793196240},{"price":0.475,"resolution_seconds":60,"timestamp":1793196300}],"pagination":{"has_more":true,"limit":2,"next_cursor":"eyJkYXRhIjp7InR5cGUiOiJwcmljZXNfaGlzdG9yeSIsInBhcmFtcyI6eyJsIjoyLCJ0cyI6MTc5MzE5NjMwMCwic3EiOiI2MCIsImQiOjJ9fSwic2lnIjoiYWRmNmQzMzBhN2Y3N2NjOTIyNDdkZjM2YjY4YzI3NjEifQ","offset":0}}}],"seoDescription":"Get Polymarket Token Price History v2 data via REST or MCP powered by Polymarket. Pay per call, no subscription. Built for versioned charts workflows.","updatedAt":"2026-12-03T02:49:28.650Z","usageInstructionsHtml":""}}