{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"f8ec7d7f-b42a-43c8-9b45-9276e08b0991","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":"Read the bid-ask spread for a Polymarket outcome token via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as token_id, and retrieve structured data including spread for spread panels, and liquidity comparisons, ready for production pipelines and AI agent automation using a single OpenAny API key.","descriptionTranslations":{"ar":"اقرأ فرق البيع والشراء الحالي لرمز نتيجة في Polymarket كسلسلة عشرية تمثل الفرق بين أفضل سعر بيع وشراء لواجهات سياق السيولة. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"Polymarket 結果トークンの現在の売買スプレッドを取得し、最良売値と最良買値の差を十進文字列として流動性画面に表示できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"读取 Polymarket 结果代币的当前买卖价差，以十进制字符串表示最佳卖价与买价之间的差额，用于流动性信息展示。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"d974699b-4dbb-4988-bdbc-49e3ab30d84a","includedContentHtml":"","inputs":[{"description":"Token ID (asset ID)","location":"query","name":"token_id","nullable":false,"required":true,"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 spread","nameTranslations":{"ar":"Polymarket — الحصول على الفارق السعري","ja":"Polymarket — スプレッドを取得","zh":"Polymarket — 获取价差"},"overviewHtml":"\u003ch2\u003ePolymarket Bid-Ask Spread API\u003c/h2\u003e\n\u003cp\u003eProvide token_id as a required query string. The response spread field is the difference between the best ask and best bid, represented as a decimal string. It is distinct from a quote price or recent trade price.\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\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003epolymarket · Polymarket — Get spread\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\u003espread\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBest ask minus best bid, 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 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/spread\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 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/d974699b-4dbb-4988-bdbc-49e3ab30d84a\"\u003ePublished Polymarket Bid-Ask Spread 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 the required token_id query parameter as a string. Do not use an event ID or market condition ID in its place.\u003c/p\u003e\n\u003ch3\u003eHow should I parse the result?\u003c/h3\u003e\n\u003cp\u003eRead spread as a decimal string and use decimal-safe arithmetic if you need numeric comparisons.\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-spreads\"\u003ePolymarket — Get spreads\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-spread?offering=d974699b-4dbb-4988-bdbc-49e3ab30d84a","providerId":"polymarket","publicPath":"/v1/agent-apis/polymarket/spread","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":null,"headers":{},"path":{},"query":{"token_id":"20006732765674855733524007935991362439352594042415161039767275461950712817548"}},"response_body":{"spread":"0.01"}}],"seoDescription":"Read the bid-ask spread 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.513Z","usageInstructionsHtml":""}}