{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"251015f1-64cc-4468-ae64-98986952d6cb","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 Batch Midpoints data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, configure supported query parameters and filters, and retrieve structured data including \u003ctoken id\u003e for summary grids, and multi-outcome research, ready for production pipelines and AI agent automation using a single OpenAny API key.","descriptionTranslations":{"ar":"اقرأ الأسعار الوسطية لعدة رموز نتائج في Polymarket عبر OpenAny REST بمصفوفة JSON من معرفات الرموز، مع خريطة من الرمز إلى السعر الوسطي لجداول المقارنة وملخصات الأسواق وأدوات البحث. استخدم السجلات في صفحات الاكتشاف أو لوحات البحث، مع الاحتفاظ بهوية الموارد وحالة الحقول غير المتاحة عند دمج النتائج، وراجع قوالب الطلبات والمدخلات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"OpenAny REST にトークン ID オブジェクトの JSON 配列を渡し、Polymarket の中間価格をトークン別マップとして取得して比較表や市場概要に利用できます。 返されたレコードをリソースの発見画面や調査ダッシュボードに利用できます。結合時には識別情報と取得できない項目の状態を保持し、詳細ページのリクエスト例、対応入力、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 使用 token ID 对象的 JSON 数组批量读取 Polymarket 结果代币中间价，返回 token 到中间价的映射，用于对比表、市场摘要网格与多结果只读研究。 可将返回记录用于发现页面或研究看板，合并结果时保留资源身份和不可用字段的状态；详情页提供请求模板、支持的输入及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"3f006fdd-60ae-4c1b-b16a-6cd698d3bd93","includedContentHtml":"","inputs":[{"description":"Get midpoint prices (request body) — complete native JSON request body.","json_schema":{"description":"Get midpoint prices (request body) — complete native JSON request body.","examples":[[{"token_id":"20006732765674855733524007935991362439352594042415161039767275461950712817548"}]],"items":{"properties":{"side":{"description":"Order side (optional, not used for midpoint calculation)","enum":["BUY","SELL"],"example":"BUY","type":"string"},"token_id":{"description":"Token ID (asset ID)","example":"0xabc123def456...","type":"string"}},"required":["token_id"],"type":"object"},"type":"array"},"location":"body","name":"body","nullable":false,"pointer":"","required":true,"type":"array"}],"logoUrl":"https://docs.polymarket.com/mintlify-assets/_mintlify/favicons/polymarket-292d1b1b/A9bXCLxqYBPZ1NXc/_generated/favicon/android-chrome-192x192.png","method":"POST","name":"Polymarket — Get midpoint prices (request body)","nameTranslations":{"ar":"Polymarket — الحصول على الأسعار الوسطية (جسم الطلب)","ja":"Polymarket — 中間価格を取得（リクエストボディ）","zh":"Polymarket — 获取中间价（请求体）"},"overviewHtml":"\u003ch2\u003ePolymarket Batch Midpoints API\u003c/h2\u003e\n\u003cp\u003ePOST an array of objects with required token_id strings. The response maps each returned token ID directly to its midpoint value, without a BUY/SELL nesting level. The optional side property in the selected body schema does not alter midpoint calculation.\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 root JSON array; each item requires a token_id string.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003epolymarket · Polymarket — Get midpoint prices (request body)\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\u003eSummary grids\u003c/strong\u003e: Match each returned midpoint to its token.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eMulti-outcome research\u003c/strong\u003e: Retain unavailable entries without inventing prices.\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\u003e\u0026lt;token_id\u0026gt;\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported midpoint value for an outcome token\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 JSON body and supported fields shown in the request 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 POST \\\n  \u0026#34;https://api.openany.si/v1/agent-apis/polymarket/midpoints\u0026#34; \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#34;Content-Type: application/json\u0026#34; \\\n  --data-raw \u0026#39;[{\u0026#34;token_id\u0026#34;:\u0026#34;20006732765674855733524007935991362439352594042415161039767275461950712817548\u0026#34;}]\u0026#39;\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/3f006fdd-60ae-4c1b-b16a-6cd698d3bd93\"\u003ePublished Polymarket Batch Midpoints 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\u003eDoes the response have a mid property per item?\u003c/h3\u003e\n\u003cp\u003eThis batch route returns token-ID keys mapped directly to midpoint values. The single-token route uses a mid field.\u003c/p\u003e\n\u003ch3\u003eDoes side choose a different midpoint?\u003c/h3\u003e\n\u003cp\u003eNo. Midpoint calculation does not use side. Omit it when requesting midpoints.\u003c/p\u003e\n\u003ch3\u003eCan I join results only by array position?\u003c/h3\u003e\n\u003cp\u003eUse returned token-ID map keys; the response is not a positional array.\u003c/p\u003e\n\u003ch3\u003eIs a missing key the same as zero?\u003c/h3\u003e\n\u003cp\u003eNo. Keep missing token results distinct from a returned numeric or decimal zero.\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-price\"\u003ePolymarket — Get market price\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/polymarket/polymarket-get-market-prices-request-body\"\u003ePolymarket — Get market prices (request body)\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/polymarket/polymarket-get-midpoint-price\"\u003ePolymarket — Get midpoint price\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/polymarket/polymarket-get-midpoint-prices-request-body?offering=3f006fdd-60ae-4c1b-b16a-6cd698d3bd93","providerId":"polymarket","publicPath":"/v1/agent-apis/polymarket/midpoints","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":[{"token_id":"20006732765674855733524007935991362439352594042415161039767275461950712817548"}],"headers":{},"path":{},"query":{}},"response_body":{"20006732765674855733524007935991362439352594042415161039767275461950712817548":"0.455"}}],"seoDescription":"Get Polymarket Batch Midpoints data via REST or MCP powered by Polymarket. Pay per call, no subscription. Built for summary grids workflows.","updatedAt":"2026-12-03T02:49:27.028Z","usageInstructionsHtml":""}}