{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"150","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":null,"catalogType":"api","categories":["developer","search-research"],"dataPlatform":"stackoverflow","dataPlatformLogoUrl":"https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png","dataPlatformTranslations":{"ar":"Stack Overflow","ja":"Stack Overflow","zh":"Stack Overflow"},"dataProduct":"public-data","description":"Search Stack Overflow questions by tag via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Treg, pass parameters such as limit, sort, tag, and retrieve structured data including question title, source question URL, question score, answer count, and upstream answered flag to map developer pain points, prioritize support documentation, and build a source-linked research queue.","descriptionTranslations":{"ar":"ابحث عن أسئلة Stack Overflow حسب الوسم عبر REST أو OpenAny MCP، مع الدفع لكل استدعاء ودون اشتراك واختيار الترتيب وعدد النتائج المدعومين. تعيد TREG عناوين الأسئلة وروابطها ودرجاتها وأعداد الإجابات ووسومها ومقتطفات نصية لأبحاث المطورين وفرز الدعم وتخطيط الوثائق، بحد أقصى 100 سؤال و300 حرف من نص كل سؤال.","ja":"REST または OpenAny MCP で Stack Overflow の質問をタグ検索でき、呼び出しごとの課金でサブスクは不要で、対応する並び順と件数を選べます。TREG はタイトル、出典 URL、スコア、回答数、タグ、短い本文抜粋を返し、開発者調査、問い合わせ整理、文書企画に使えますが、最大 100 件、本文は各 300 文字までです。","zh":"通过 REST 或 OpenAny MCP 按标签搜索 Stack Overflow 问题，按调用付费、无需订阅，可选择受支持的排序方式及结果数量。TREG 返回标题、来源 URL、评分、回答数、标签和简短问题节选，可用于开发者调研、支持问题分流与文档规划，每次最多 100 个问题，问题文本每条最多 300 字符。"},"effectContentHtml":"","executionMode":"sync","id":"0e45d7ed-e94c-4166-b90a-14aef37a8f41","includedContentHtml":"","inputs":[{"description":"Questions on Stack Overflow with a tag, from the Stack Exchange API: title, link, score, answer count, views, whether an answer is accepted, time, tags, author, id and the first 300 characters of the question. `sort` is activity, votes, creation, hot, week or month; `limit` up to 100 in one call.\nUsage limits: Tag-based question discovery, not full answers. Up to 100 questions. Preserve source URLs, author attribution and the applicable CC BY-SA license.\nDraft retail price: USD 0.000150/successful call, equal to the TREG catalog rate; no markup.","json_schema":{"additionalProperties":false,"properties":{"limit":{"description":"default 20","maximum":100,"minimum":1,"type":"integer"},"sort":{"description":"default activity","enum":["activity","votes","creation","hot","week","month"],"type":"string"},"tag":{"description":"","example":"rust","type":"string"}},"required":["tag"],"type":"object"},"location":"body","name":"body","nullable":false,"pointer":"","required":true,"type":"object"}],"logoUrl":"https://treg.to/favicon.svg","method":"POST","name":"Stack Overflow Question Search API","nameTranslations":{"ar":"واجهة API لأسئلة Stack Overflow","ja":"Stack Overflow 質問検索 API","zh":"Stack Overflow 问题搜索 API"},"overviewHtml":"\u003ch2\u003eStack Overflow Question Search API\u003c/h2\u003e\n\u003cp\u003eSend tag with a supported sort value and a limit of up to 100 questions. Each row includes the question URL, score, answer count and a question-text excerpt capped at 300 characters.\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\u003ePlatform\u003c/td\u003e\n\u003ctd\u003estackoverflow\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess Methods\u003c/td\u003e\n\u003ctd\u003eREST / OpenAny MCP\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePricing Model\u003c/td\u003e\n\u003ctd\u003ePay per call; see Selected price\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore Inputs\u003c/td\u003e\n\u003ctd\u003etag; optional sort and limit\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected Implementation\u003c/td\u003e\n\u003ctd\u003eTREG\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAvailable Providers\u003c/td\u003e\n\u003ctd\u003eTREG\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eReturned Data\u003c/td\u003e\n\u003ctd\u003eQuestion title; Source question URL; Question score; Answer count; Upstream answered flag; Question excerpt, up to 300 characters\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build with the Stack Overflow Question Search API\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eMap developer pain points\u003c/strong\u003e: Group tagged questions by topic using titles and excerpts.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePrioritize support documentation\u003c/strong\u003e: Review highly scored questions to identify recurring explanations.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBuild a source-linked research queue\u003c/strong\u003e: Keep question URLs and author metadata for later reading.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003ePass returned records to a downstream Agent for organization, comparison or reporting; additional data retrieval is a separate operation.\u003c/p\u003e\n\u003ch2\u003eStack Overflow Question Search API Returned Data Fields \u0026amp; Response Coverage\u003c/h2\u003e\n\u003cp\u003etext contains at most 300 characters of the question, and answers is a count rather than answer content. answered is an upstream indicator, not the accepted answer\u0026#39;s text.\u003c/p\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\u003erows[].title\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eQuestion title\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].url\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource question URL\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].score\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eQuestion score\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].answers\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAnswer count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].answered\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUpstream answered flag\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erows[].text\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eQuestion excerpt, up to 300 characters\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start: Call the Stack Overflow Question Search API via REST\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eConfigure OPENANY_API_KEY securely in your local environment and select TREG.\u003c/li\u003e\n\u003cli\u003eThe example returns one Python-tagged question sorted by votes; replace tag, sort and limit as needed.\u003c/li\u003e\n\u003cli\u003eCheck Selected price before running the command; execution sends a real request under the current contract.\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/treg/call/crawl4ai.stackoverflow.search.questions\u0026#34; \\\n  --header \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --header \u0026#39;Content-Type: application/json\u0026#39; \\\n  --data \u0026#39;{\u0026#34;limit\u0026#34;:1,\u0026#34;sort\u0026#34;:\u0026#34;votes\u0026#34;,\u0026#34;tag\u0026#34;:\u0026#34;python\u0026#34;}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eUnderstanding Response Examples\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eExample\u003c/th\u003e\n\u003cth\u003eProvenance and scope\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eThird-party reference · Testnet excerpt\u003c/td\u003e\n\u003ctd\u003eExcerpt of a historical third-party testnet response, showing fields and structure.\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003cp\u003eUse the documented request as a calling template; consult the \u003ca href=\"https://openany.si/api/v1/agent-apis/0e45d7ed-e94c-4166-b90a-14aef37a8f41\"\u003epublic API contract\u003c/a\u003e and the actual response for fields and status.\u003c/p\u003e\n\u003ch2\u003eConnect AI Agents via OpenAny MCP\u003c/h2\u003e\n\u003cp\u003eConnect to https://mcp.openany.si, discover with search_apis, then read the current contract and api_version with get_api.\nUse run_api only after approval of inputs, price and call count; keep the key in secure client configuration.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eAgent prompt:\u003c/strong\u003e Find high-voted Python questions on Stack Overflow, limit ten. Read the TREG contract and current price, request execution approval, then return titles, scores, answer counts, source links and labeled question excerpts.\u003c/p\u003e\n\u003ch2\u003ePricing \u0026amp; Billing Rules\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003eNo subscription; check the selected implementation’s contract and Selected price for the current amount and unit.\u003c/li\u003e\n\u003cli\u003eBrowsing, preparing inputs and viewing examples do not execute the API; curl and run_api do.\u003c/li\u003e\n\u003cli\u003eExtra pages, retries and chained requests are separate executions; review their billing and spending limit first.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eDo I need a Stack Overflow subscription?\u003c/h3\u003e\n\u003cp\u003eNo. This route uses your OpenAny key and per-call billing without an OpenAny subscription; the published inputs do not require a Stack Overflow account.\u003c/p\u003e\n\u003ch3\u003eCan I search by a free-text query?\u003c/h3\u003e\n\u003cp\u003eUse a valid Stack Overflow tag in tag. This wrapper exposes no free-text query field.\u003c/p\u003e\n\u003ch3\u003eAre complete answers included?\u003c/h3\u003e\n\u003cp\u003eNo. answers is the number of answers, while text is a question excerpt capped at 300 characters. Follow the question URL for deeper reading.\u003c/p\u003e\n\u003ch3\u003eWhich sorting modes can I use?\u003c/h3\u003e\n\u003cp\u003eactivity, votes, creation, hot, week and month are published options. Choose votes for score-focused research and activity for recent activity.\u003c/p\u003e\n\u003ch3\u003eDoes limit let me download every tagged question?\u003c/h3\u003e\n\u003cp\u003eNo. limit is capped at 100 and this wrapper exposes no page or cursor. The result is a bounded discovery set.\u003c/p\u003e\n\u003ch3\u003eWhat source information should I preserve?\u003c/h3\u003e\n\u003cp\u003eKeep the question URL and author attribution, and follow the applicable source reuse requirements. The result is a research input rather than a replacement for the original discussion.\u003c/p\u003e\n\n","pagePath":"/markets/apis/stackoverflow/search-stack-overflow-questions-by-tag","providerId":"treg","publicPath":"/v1/agent-apis/treg/call/crawl4ai.stackoverflow.search.questions","requestContentType":"application/json","revision":3,"samples":[{"http_status":200,"name":"Third-party reference · Testnet 2026-11-04: success (abridged)","request":{"body":{"limit":1,"sort":"votes","tag":"python"},"headers":{},"path":{},"query":{}},"response_body":{"meta":{"blocked":[],"elapsed_ms":195,"from_cache":false,"llm_calls":0,"pages_fetched":1,"partial":false,"warnings":["module: stackoverflow-questions: [python] votes · 1 questions · API quota left 299"]},"recipe":"stackoverflow-questions","rows":[{"answered":true,"answers":51,"author":"Alex. S.","created":"2008-10-23T22:21:11Z","id":231767,"score":13137,"tags":["python","iterator","generator","yield"],"text":"What functionality does the yield keyword in Python provide? For example, I'm trying to understand this code1: def _get_child_candidates(self, distance, min_dist, max_dist): if self._leftchild and distance - max_dist \u0026lt; self._median: yield self._leftchild if self._rightchild and distance + max_dis …","title":"What does the \"yield\" keyword do in Python?","url":"https://stackoverflow.com/questions/231767/what-does-the-yield-keyword-do-in-python","views":3502969}],"usage":{"boxes":["gate","recipe"],"cache":"miss","engine":"recipe","lines":[{"about":"the call","boxes":["gate"],"cache":"miss","call":"recipes","engine":"gate","units":1},{"attempts":1,"cache":"api","call":"scrape","engine":"api","proxy":"isp","units":1,"url":"https://api.stackexchange.com/…"}],"units":2},"version":1}}],"seoDescription":"Search Stack Overflow questions by tag via REST or MCP powered by Treg. Pay per call, no subscription. Get question title and source question URL in JSON.","updatedAt":"2026-12-03T01:54:36.854Z","usageInstructionsHtml":""}}