{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"1f220673-427d-42bf-9dc3-0a9411a0f67e","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":"market-discovery","description":"Get a Polymarket market by numeric ID via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Polymarket, pass parameters such as Set, and retrieve structured data including market identifier, market question, market URL slug, condition identifier, and market rules and description for market detail views, and research joins.","descriptionTranslations":{"ar":"استرجع سوق Polymarket واحدا عبر OpenAny REST باستخدام معرف السوق الرقمي، مع السؤال والوصف ومعرف الشرط وسياق التواريخ لصفحات السوق وأدوات الاكتشاف والبحث المنظم. استخدم السجلات في صفحات الاكتشاف أو لوحات البحث، مع الاحتفاظ بهوية الموارد وحالة الحقول غير المتاحة عند دمج النتائج، وراجع قوالب الطلبات والمدخلات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"OpenAny REST で数値のマーケット IDを指定して Polymarket の市場を取得し、質問、説明、条件識別子、日付情報を詳細画面や調査に利用できます。 返されたレコードをリソースの発見画面や調査ダッシュボードに利用できます。結合時には識別情報と取得できない項目の状態を保持し、詳細ページのリクエスト例、対応入力、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 使用数值市场 ID读取单个 Polymarket 市场，获取问题、描述、条件标识符与日期信息，用于市场详情、发现工具及结构化研究界面。 可将返回记录用于发现页面或研究看板，合并结果时保留资源身份和不可用字段的状态；详情页提供请求模板、支持的输入及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"d924da90-c6b2-4a83-acde-46e4c2687f56","includedContentHtml":"","inputs":[{"description":"id","location":"path","name":"id","nullable":false,"required":true,"type":"integer"},{"description":"include_tag","location":"query","name":"include_tag","nullable":false,"required":false,"type":"boolean"}],"logoUrl":"https://docs.polymarket.com/mintlify-assets/_mintlify/favicons/polymarket-292d1b1b/A9bXCLxqYBPZ1NXc/_generated/favicon/android-chrome-192x192.png","method":"GET","name":"Polymarket — Get market by id","nameTranslations":{"ar":"Polymarket — الحصول على السوق حسب المعرّف","ja":"Polymarket — IDでマーケットを取得","zh":"Polymarket — 按 ID 获取市场"},"overviewHtml":"\u003ch2\u003ePolymarket Market by ID API\u003c/h2\u003e\n\u003cp\u003ePass the numeric market ID in the path. The result is one market object; preserve id, conditionId and slug separately. include_tag is an optional boolean for requesting tag inclusion, while the selected response fields describe the market question and context.\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\u003epath: id; query: include_tag\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003epolymarket · Polymarket — Get market by id\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\u003eMarket detail views\u003c/strong\u003e: Show the question, rules and source context.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eResearch joins\u003c/strong\u003e: Keep market IDs, slugs and condition IDs in separate fields.\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\u003eid\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMarket identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003equestion\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMarket question\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eslug\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMarket URL slug\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003econditionId\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCondition identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edescription\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMarket rules and description\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eliquidity\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported liquidity value when available\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eresolutionSource\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eResolution-source reference\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\u003eSet the path variables shown in the URL to your target values; URL-encode each path segment before calling.\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/query/market-discovery/get-market-by-id-8bc925ee/${ID_URI:?Set ID_URI}\u0026#34; \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\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 with abbreviated source content. 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/d924da90-c6b2-4a83-acde-46e4c2687f56\"\u003ePublished Polymarket Market by ID 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\u003eCan I pass conditionId or an outcome-token ID instead?\u003c/h3\u003e\n\u003cp\u003eThis implementation expects the numeric market ID. Keep condition and outcome-token identities separate.\u003c/p\u003e\n\u003ch3\u003eHow do I request tags?\u003c/h3\u003e\n\u003cp\u003eSet the optional boolean include_tag. Read any included tags from the returned object, or use the dedicated market-tags route.\u003c/p\u003e\n\u003ch3\u003eDoes this return an executable order or order book?\u003c/h3\u003e\n\u003cp\u003eNo. It is a market-detail lookup. Use the relevant pricing or order-book interface for that data.\u003c/p\u003e\n\u003ch3\u003eIs the market question the same as an event title?\u003c/h3\u003e\n\u003cp\u003eA market represents a specific question, while an event can group related markets. Preserve the appropriate resource identity.\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-event-by-slug\"\u003ePolymarket — Get event by slug\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/polymarket/polymarket-get-event-comment-count\"\u003ePolymarket — Get event comment count\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/polymarket/polymarket-get-event-creator-by-id\"\u003ePolymarket — Get event creator by id\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/polymarket/polymarket-get-market-by-id?offering=d924da90-c6b2-4a83-acde-46e4c2687f56","providerId":"polymarket","publicPath":"/v1/agent-apis/polymarket/query/market-discovery/get-market-by-id-8bc925ee/{id}","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Documentation example (source abbreviated)","request":{"body":null,"headers":{},"path":{"id":682705},"query":{}},"response_body":{"$schema":"https://gamma-api.polymarket.com/schemas/Market.json","conditionId":"0x7586a96520578acaaaa4ea84a2582f197f84255da1f3392a7aa300386c187b37","description":"Legislative elections are schedule to be held in Israel on October 27, 2026. \n\nThis market will resolve to the next individual who is officially appointed and sworn in as Prime Minister of Israel following the 2026 parliamentary election. If an election is called early, this market will immediately resolve to the individual who is officially appointed and sworn in after that election.\n\nTo count for resolution, the individual must be formally sworn in. Any interim or caretaker Prime Minister will not count toward the resolution of this market.\n\nIf no such Prime Minister is sworn in by December ","endDate":"2026-10-28T03:59:00Z","icon":"https://polymarket-upload.s3.us-east-2.amazonaws.com/israel-benjamin-netanyahu-9221e795d7.jpg","id":"682705","image":"https://polymarket-upload.s3.us-east-2.amazonaws.com/israel-benjamin-netanyahu-9221e795d7.jpg","liquidity":"641697.8211","question":"Will Benjamin Netanyahu be the next Prime Minister of Israel?","resolutionSource":"","slug":"will-benjamin-netanyahu-be-the-next-prime-minister-of-israel","startDate":"2025-11-15T00:27:02.243822Z"}}],"seoDescription":"Get a Polymarket market by numeric ID via REST or MCP powered by Polymarket. Pay per call, no subscription. Retrieve market identifier and market question.","updatedAt":"2026-12-03T02:49:23.919Z","usageInstructionsHtml":""}}