{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"41b714ef-20a1-46d0-9d58-b56066dd77e2","catalogType":"api","categories":["developer","community","data"],"dataPlatform":"kaggle","dataPlatformLogoUrl":"https://api.sh/logos/kaggle.png","dataPlatformTranslations":{},"dataProduct":"developer-resources","description":"Get Kaggle Discussion Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including topic identifier, topic title, initial topic message, comment text, and nested comment replies to inspect discussions, and prepare source-linked summaries, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"استرجع نقاش Kaggle عبر OpenAny REST لفحص الشروحات والتعليقات. أرسل معرف الموضوع أو رابطه مع ترتيب التعليقات الاختياري لاستلام العنوان والرسالة الأولى والتعليقات والردود والمؤلفين والأصوات بصيغة JSON مع حفظ بنية النقاش ومصدره.","ja":"OpenAny REST で Kaggle 討論を取得し、コミュニティの説明やコメントを確認できます。トピック ID または URL と任意の順序から題名、初投稿、コメント、返信、著者、投票を JSON で取得します。","zh":"通过 OpenAny REST 获取 Kaggle 讨论帖，查看社区说明及评论串。传入帖子 ID 或链接，可设置评论排序，获取标题、首帖、评论、回复、作者与投票 JSON，并保留线程结构及来源链接。"},"effectContentHtml":"","executionMode":"sync","id":"834687e6-b6b6-43e6-a3fb-3900673a357c","includedContentHtml":"","inputs":[{"description":"Topic id, or a kaggle.com discussion link.","location":"query","name":"id","nullable":false,"required":true,"type":"string"},{"description":"Comment order (default hot).","enum_values":["hot","top","new","old"],"location":"query","name":"sort","nullable":false,"required":false,"type":"string"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"Native CSV/NDJSON record selector; it has no effect on this JSON-only product.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/kaggle.png","method":"GET","name":"Kaggle discussion topic and comments API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eKaggle Discussion Details API\u003c/h2\u003e\n\u003cp\u003eid identifies a discussion topic. sort controls comment ordering and defaults to hot; no page or cursor parameter is exposed.\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\u003eRequired inputs: id. Optional: sort. JSON only; fresh=1 bypasses cache and raw=0 trims raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · Kaggle discussion topic and comments API\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\u003eInspect discussions\u003c/strong\u003e: Keep first_message separate from replies.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePrepare source-linked summaries\u003c/strong\u003e: Retain topic and author references.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\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\u003eTopic identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etitle\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTopic title\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efirst_message\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eInitial topic message\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecomments[].text\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eComment text\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecomments[].replies\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNested comment replies\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecomment_count\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported comment count\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 selected implementation and pricing, then adapt the request below to your target.\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  https://api.openany.si/v1/agent-apis/apish/kaggle/v1/discussion \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode id=315696 \\\n  --data-urlencode output=json\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/834687e6-b6b6-43e6-a3fb-3900673a357c\"\u003ePublished Kaggle Discussion Details 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 identifier should I use?\u003c/h3\u003e\n\u003cp\u003eA topic ID or Kaggle discussion URL.\u003c/p\u003e\n\u003ch3\u003eWhat is the default comment sorting?\u003c/h3\u003e\n\u003cp\u003ehot.\u003c/p\u003e\n\u003ch3\u003eCan I paginate with a cursor?\u003c/h3\u003e\n\u003cp\u003eNo page or cursor parameter is exposed by this operation.\u003c/p\u003e\n\u003ch3\u003eAre reply threads separate from the first message?\u003c/h3\u003e\n\u003cp\u003eYes. Read comments and their replies while retaining the topic first_message.\u003c/p\u003e\n\u003ch3\u003eDoes this post a comment?\u003c/h3\u003e\n\u003cp\u003eNo. It is a read-only lookup.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or use output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/kaggle/kaggle-competition-details-api\"\u003eKaggle competition details API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/kaggle/kaggle-competition-leaderboard-api\"\u003eKaggle competition leaderboard API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/kaggle/kaggle-competition-search-api\"\u003eKaggle competition search API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/kaggle/kaggle-discussion-topic-and-comments-api?offering=834687e6-b6b6-43e6-a3fb-3900673a357c","providerId":"apish","publicPath":"/v1/agent-apis/apish/kaggle/v1/discussion","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"id":"315696","output":"json"}},"response_body":{"author":{"id":3452640,"name":"Nilay Chauhan","tier":"STAFF","url":"https://www.kaggle.com/nilaychauhan","username":"nilaychauhan"},"cached":false,"comment_count":1949,"comment_sort":"hot","comments":[{"author":{"avatar":"https://storage.googleapis.com/kaggle-avatars/thumbnails/32628272-kg.jpg?t=2026-10-08-13-13-52","id":32628272,"name":"Osama Mohammed","tier":"CONTRIBUTOR","url":"https://www.kaggle.com/osamamohammad1101","username":null},"edited_at":null,"html":"\u003cp\u003eThanks for this clear introduction to JAX and FLAX!\u003c/p\u003e","id":3535224,"medal":null,"pinned":null,"posted_at":"2026-10-08T13:50:27.040Z","replies":[],"text":"Thanks for this clear introduction to JAX and FLAX!","votes":1},{"author":{"avatar":"https://storage.googleapis.com/kaggle-avatars/thumbnails/default-thumb.png","id":28319268,"name":"MANRAJ SINGH KHEHRA","tier":"CONTRIBUTOR","url":"https://www.kaggle.com/manrajsinghkhehra","username":null},"edited_at":null,"html":"\u003cp\u003eIf you're new to JAX/FLAX, I’d recommend starting with the Digit Recognizer example first since it’s easier to understand before moving t…","id":3460964,"medal":null,"pinned":null,"posted_at":"2026-05-19T13:18:19.667Z","replies":[],"text":"If you're new to JAX/FLAX, I’d recommend starting with the Digit Recognizer example first since it’s easier to understand before moving to l…","votes":4},"… 1947 more"],"credits_used":1,"first_message":null,"forum":{"id":208,"name":"Getting Started","parent":"Getting Started"},"id":315696,"messages":1985,"posted_at":"2022-03-29T11:29:57.926309Z","title":"Getting Started with JAX/FLAX","url":"https://www.kaggle.com/discussions/getting-started/315696","votes":1485}}],"seoDescription":"Get Kaggle Discussion Details via REST or MCP powered by Apish. Pay per call, no subscription. Get topic identifier and topic title in JSON.","updatedAt":"2026-12-03T02:43:52.465Z","usageInstructionsHtml":""}}