{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"073a3b98-3930-4daf-a457-0044402dbcc2","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 Order Books 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 outcome token identifier, market condition identifier, price increment constraint, and minimum order size constraint for depth displays, and liquidity inspection.","descriptionTranslations":{"ar":"اقرأ لقطات دفاتر أوامر عدة رموز نتائج في Polymarket بطلب JSON واحد، مع عروض البيع والشراء وقيود السوق لواجهات العمق ومقارنة السيولة دون إرسال أوامر. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"1回の JSON リクエストで複数の Polymarket 結果トークンの注文板スナップショットを読み、売買気配と市場制約を深度画面や流動性比較に利用できます。注文は送信しません。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"通过单次 JSON 请求读取多个 Polymarket 结果代币的订单簿快照，获取买卖档位和市场约束，用于深度展示与流动性对比，不提交订单。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"8f323875-421e-4f52-8bce-63f6c3fbb86d","includedContentHtml":"","inputs":[{"description":"Get order books (request body) — complete native JSON request body.","json_schema":{"description":"Get order books (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 order books (request body)","nameTranslations":{"ar":"Polymarket — الحصول على دفاتر الأوامر (جسم الطلب)","ja":"Polymarket — オーダーブックを取得（リクエストボディ）","zh":"Polymarket — 获取订单簿（请求体）"},"overviewHtml":"\u003ch2\u003ePolymarket Batch Order Books API\u003c/h2\u003e\n\u003cp\u003eSend a JSON root array of objects containing token_id strings. The root response array contains book snapshots identified by asset_id. Each snapshot carries bids, asks and market constraints; decimal price and size values remain strings.\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\u003ebody: body\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003epolymarket · Polymarket — Get order books (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\u003eDepth displays\u003c/strong\u003e: Render price levels for selected outcomes.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eLiquidity inspection\u003c/strong\u003e: Compare books while retaining asset and market identities.\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[].asset_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOutcome token identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].market\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMarket condition identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].bids[].price\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBid price as a decimal string\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].bids[].size\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBid size as a decimal string\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].asks[].price\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAsk price as a decimal string\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].asks[].size\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAsk size as a decimal string\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].tick_size\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrice increment constraint\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003e[].min_order_size\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMinimum order size constraint\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/books\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/8f323875-421e-4f52-8bce-63f6c3fbb86d\"\u003ePublished Polymarket Batch Order Books 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 request body should I send?\u003c/h3\u003e\n\u003cp\u003eSend a JSON array such as one object per token_id. token_id is required for each item; no side is needed to read the documented bid and ask snapshot.\u003c/p\u003e\n\u003ch3\u003eIs the first level always the best price?\u003c/h3\u003e\n\u003cp\u003eDo not assume that. Compare prices to identify the highest bid and lowest ask. Source order-book arrays may run in the opposite order.\u003c/p\u003e\n\u003ch3\u003eHow do I match books to my input tokens?\u003c/h3\u003e\n\u003cp\u003eUse asset_id in each returned book. Do not rely solely on array position when processing several tokens.\u003c/p\u003e\n\u003ch3\u003eDoes the POST request place orders?\u003c/h3\u003e\n\u003cp\u003eNo. This POST reads multiple book snapshots. tick_size and min_order_size are market trading constraints, not OpenAny billing units.\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-prices-history\"\u003ePolymarket — Get prices history\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/polymarket/polymarket-get-order-books-request-body?offering=8f323875-421e-4f52-8bce-63f6c3fbb86d","providerId":"polymarket","publicPath":"/v1/agent-apis/polymarket/books","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":[{"token_id":"20006732765674855733524007935991362439352594042415161039767275461950712817548"}],"headers":{},"path":{},"query":{}},"response_body":[{"asks":[{"price":"0.99","size":"28732.59"},{"price":"0.98","size":"17411.76"},{"price":"0.97","size":"375601.39"},{"price":"0.96","size":"300000"},{"price":"0.95","size":"74110.18"},{"price":"0.94","size":"562535.46"},{"price":"0.93","size":"13328.05"},{"price":"0.92","size":"44677.45"},{"price":"0.91","size":"12701.25"},{"price":"0.9","size":"5147.69"},{"price":"0.89","size":"30472.42"},{"price":"0.88","size":"227222"},{"price":"0.87","size":"20661"},{"price":"0.86","size":"22857.13"},{"price":"0.85","size":"6025.4"},{"price":"0.84","size":"5.28"},{"price":"0.83","size":"15529.17"},{"price":"0.82","size":"5000"},{"price":"0.81","size":"5684.21"},{"price":"0.8","size":"229239.41"},{"price":"0.79","size":"17100"},{"price":"0.78","size":"11463.36"},{"price":"0.77","size":"9782.6"},{"price":"0.76","size":"5514.16"},{"price":"0.75","size":"9284.25"},{"price":"0.74","size":"8856.15"},{"price":"0.73","size":"5394.11"},{"price":"0.72","size":"8695.19"},{"price":"0.71","size":"8448.28"},{"price":"0.7","size":"3802.03"},{"price":"0.69","size":"10"},{"price":"0.68","size":"2555"},{"price":"0.67","size":"2710"},{"price":"0.66","size":"10"},{"price":"0.65","size":"683.76"},{"price":"0.64","size":"10"},{"price":"0.63","size":"10097"},{"price":"0.62","size":"12303.55"},{"price":"0.61","size":"10395"},{"price":"0.6","size":"13110"},{"price":"0.59","size":"56298.99"},{"price":"0.58","size":"13952.41"},{"price":"0.57","size":"10223.69"},{"price":"0.56","size":"26729.68"},{"price":"0.55","size":"25942.55"},{"price":"0.54","size":"12956.24"},{"price":"0.53","size":"32305.6"},{"price":"0.52","size":"15386.93"},{"price":"0.51","size":"18626"},{"price":"0.5","size":"3252.5"},{"price":"0.49","size":"1366.56"},{"price":"0.48","size":"134973.7"},{"price":"0.47","size":"21875.83"},{"price":"0.46","size":"11250.75"}],"asset_id":"20006732765674855733524007935991362439352594042415161039767275461950712817548","bids":[{"price":"0.01","size":"35283.73"},{"price":"0.02","size":"94439.99"},{"price":"0.03","size":"77477.5"},{"price":"0.04","size":"950"},{"price":"0.05","size":"73780"},{"price":"0.06","size":"115110.66"},{"price":"0.07","size":"47554.28"},{"price":"0.08","size":"558"},{"price":"0.09","size":"36005.32"},{"price":"0.1","size":"2454"},{"price":"0.11","size":"30185.18"},{"price":"0.12","size":"12010.98"},{"price":"0.13","size":"169518.28"},{"price":"0.14","size":"19109.85"},{"price":"0.15","size":"16227.59"},{"price":"0.16","size":"42645.9"},{"price":"0.17","size":"16303.41"},{"price":"0.18","size":"5977.66"},{"price":"0.19","size":"4966.95"},{"price":"0.2","size":"11558.22"},{"price":"0.21","size":"8176.3"},{"price":"0.22","size":"55651.22"},{"price":"0.23","size":"5987.46"},{"price":"0.24","size":"2561"},{"price":"0.25","size":"2623.72"},{"price":"0.26","size":"2211"},{"price":"0.27","size":"875.76"},{"price":"0.28","size":"77867.61"},{"price":"0.29","size":"17991.31"},{"price":"0.3","size":"2151.9"},{"price":"0.31","size":"7229.63"},{"price":"0.32","size":"630"},{"price":"0.33","size":"86"},{"price":"0.34","size":"4425"},{"price":"0.35","size":"17609.12"},{"price":"0.36","size":"7497"},{"price":"0.37","size":"5308"},{"price":"0.38","size":"1015.62"},{"price":"0.39","size":"3275.28"},{"price":"0.4","size":"10049.54"},{"price":"0.41","size":"17016.06"},{"price":"0.42","size":"80719.79"},{"price":"0.43","size":"328151.89"},{"price":"0.44","size":"37910.64"},{"price":"0.45","size":"28351.64"}],"hash":"fcc0242246598e405337260552c23d6b6f1062ea","last_trade_price":"0.540","market":"0x7586a96520578acaaaa4ea84a2582f197f84255da1f3392a7aa300386c187b37","min_order_size":"5","neg_risk":true,"tick_size":"0.01","timestamp":"1793282616664"}]}],"seoDescription":"Get Polymarket Batch Order Books data via REST or MCP powered by Polymarket. Pay per call, no subscription. Built for depth displays workflows.","updatedAt":"2026-12-03T02:49:27.457Z","usageInstructionsHtml":""}}