{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"64c38f66-511e-4873-82ec-507ce371424c","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 Market by Token data 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 parent market condition identifier, primary outcome token identifier, and secondary outcome token identifier for identity joins, and outcome navigation, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"اربط رمز نتيجة في Polymarket بشرطه الأصلي ومعرفات الرمز المقابل، لضم قراءات الأسعار إلى هوية السوق والتنقل بين النتائج في واجهات البحث. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"Polymarket の結果トークンから親条件とペアのトークンIDを照会し、トークン別価格を市場情報に結合して調査画面や結果ナビゲーションに利用できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"用 Polymarket 结果代币查询所属条件和配对代币标识，将按代币获取的价格与市场身份关联，用于研究界面的元数据合并和结果导航。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"0a34bbfc-c4d4-41b1-a6b6-caf429135bd7","includedContentHtml":"","inputs":[{"description":"The token ID to look up the parent market for","location":"path","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 market by token","nameTranslations":{"ar":"Polymarket — الحصول على السوق حسب الرمز المميز","ja":"Polymarket — トークンで市場を取得","zh":"Polymarket — 按代币获取市场"},"overviewHtml":"\u003ch2\u003ePolymarket Market by Token API\u003c/h2\u003e\n\u003cp\u003eThe token_id path parameter accepts an outcome token identifier as a string. The returned object includes condition_id, primary_token_id and secondary_token_id. Keep all three identifiers attached when joining this lookup with market or price records.\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: token_id\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003epolymarket · Polymarket — Get market by token\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\u003eIdentity joins\u003c/strong\u003e: Connect a token-based quote with its market condition.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eOutcome navigation\u003c/strong\u003e: Retain the paired token identifiers for subsequent lookups.\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\u003econdition_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eParent market condition identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eprimary_token_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary outcome token identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esecondary_token_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSecondary outcome token identifier\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/markets-by-token/${TOKEN_ID_URI:?Set TOKEN_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. 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/0a34bbfc-c4d4-41b1-a6b6-caf429135bd7\"\u003ePublished Polymarket Market by Token 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\u003eIs token_id a condition ID?\u003c/h3\u003e\n\u003cp\u003eNo. It is an outcome token ID. The response provides the parent condition_id separately.\u003c/p\u003e\n\u003ch3\u003eShould token IDs be parsed as numbers?\u003c/h3\u003e\n\u003cp\u003eKeep token IDs as strings. Their long integer-like representation can exceed the exact range of common numeric types.\u003c/p\u003e\n\u003ch3\u003eDoes primary_token_id always mean Yes?\u003c/h3\u003e\n\u003cp\u003eDo not infer an outcome label from primary or secondary ordering alone. Obtain outcome labels from the corresponding market metadata.\u003c/p\u003e\n\u003ch3\u003eDoes this lookup include the current token price?\u003c/h3\u003e\n\u003cp\u003eThe documented object provides condition and paired token identifiers. Read current prices through a dedicated price interface.\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-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-order-books-request-body\"\u003ePolymarket — Get order books (request body)\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-market-by-token?offering=0a34bbfc-c4d4-41b1-a6b6-caf429135bd7","providerId":"polymarket","publicPath":"/v1/agent-apis/polymarket/markets-by-token/{token_id}","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":null,"headers":{},"path":{"token_id":"20006732765674855733524007935991362439352594042415161039767275461950712817548"},"query":{}},"response_body":{"condition_id":"0x7586a96520578acaaaa4ea84a2582f197f84255da1f3392a7aa300386c187b37","primary_token_id":"20006732765674855733524007935991362439352594042415161039767275461950712817548","secondary_token_id":"54533569528927082430133047556849600511985191158927477533124630301934489498530"}}],"seoDescription":"Get Polymarket Market by Token data via REST or MCP powered by Polymarket. Pay per call, no subscription. Built for identity joins workflows.","updatedAt":"2026-12-03T02:49:27.389Z","usageInstructionsHtml":""}}