{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"7c177db8-6bb0-47bb-bc4f-988ac6ec18bc","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 Spreads 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 spread panels, and liquidity comparisons, ready for production pipelines and AI agent automation using a single OpenAny API key.","descriptionTranslations":{"ar":"اقرأ فروق البيع والشراء لعدة رموز نتائج في Polymarket بطلب JSON واحد، مع خريطة سلاسل عشرية حسب الرمز لمقارنة السيولة ومراقبة الفروق. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"JSON リクエストで複数の Polymarket 結果トークンの売買スプレッドを取得し、トークンをキーとする十進文字列のマップを流動性比較や監視に利用できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"通过单次 JSON 请求读取多个 Polymarket 结果代币的买卖价差，返回以代币为键的十进制字符串映射，用于流动性对比和价差监测。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"3690a395-630b-40f3-818c-58138bc4b413","includedContentHtml":"","inputs":[{"description":"Get spreads — complete native JSON request body.","json_schema":{"description":"Get spreads — 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 spreads","nameTranslations":{"ar":"Polymarket — الحصول على الفروقات السعرية","ja":"Polymarket — スプレッドを取得","zh":"Polymarket — 获取价差"},"overviewHtml":"\u003ch2\u003ePolymarket Batch Spreads API\u003c/h2\u003e\n\u003cp\u003ePOST a JSON array of token_id objects. The response maps each returned token ID directly to its spread string, rather than returning an array or nested BUY and SELL objects.\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 spreads\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\u003eSpread panels\u003c/strong\u003e: Display the bid-ask gap for selected outcomes.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eLiquidity comparisons\u003c/strong\u003e: Compare spreads while preserving outcome 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\u0026lt;token_id\u0026gt;\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBid-ask spread for the token key, as a decimal string\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/spreads\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/3690a395-630b-40f3-818c-58138bc4b413\"\u003ePublished Polymarket Batch Spreads 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 is a spread?\u003c/h3\u003e\n\u003cp\u003eIt is the difference between the best ask and best bid. It is not an outcome price, a fee rate or an OpenAny request charge.\u003c/p\u003e\n\u003ch3\u003eHow do I supply token identifiers?\u003c/h3\u003e\n\u003cp\u003eSend a JSON root array of objects with required token_id strings. No side is needed for the documented spread read.\u003c/p\u003e\n\u003ch3\u003eHow should I parse the result?\u003c/h3\u003e\n\u003cp\u003eRead each token ID key and its decimal string value. Join by key rather than expecting a positional array or an object containing spread.\u003c/p\u003e\n\u003ch3\u003eCan a spread read execute a trade?\u003c/h3\u003e\n\u003cp\u003eNo. This endpoint reads spread data. A spread alone does not guarantee an executable price or a fill.\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-tick-size\"\u003ePolymarket — Get tick size\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/polymarket/polymarket-get-spreads?offering=3690a395-630b-40f3-818c-58138bc4b413","providerId":"polymarket","publicPath":"/v1/agent-apis/polymarket/spreads","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":[{"token_id":"20006732765674855733524007935991362439352594042415161039767275461950712817548"}],"headers":{},"path":{},"query":{}},"response_body":{"20006732765674855733524007935991362439352594042415161039767275461950712817548":"0.01"}}],"seoDescription":"Get Polymarket Batch Spreads data via REST or MCP powered by Polymarket. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:49:28.558Z","usageInstructionsHtml":""}}