Stack Overflow Questions Search
Pricing
$2.80 / 1,000 question results
Stack Overflow Questions Search
Search public Stack Overflow questions by phrase and optional tags. Return score, answer and view counts, accepted answer, tags, activity timestamps, and owner details. One row per question.
Pricing
$2.80 / 1,000 question results
Rating
0.0
(0)
Developer
MYM
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Stack Overflow Questions Search — Stack Overflow Scraper for Questions, Tags, Scores and Answers (No API Key, No Login)
Search public Stack Overflow questions by keyword phrase and optional tags, and export clean, structured question data in seconds. This Stack Overflow scraper returns one row per question with the question ID, title, URL, tags, score (votes), answer count, view count, answered status, accepted answer ID, creation and last-activity timestamps, and flat owner details (user ID, display name, reputation and profile URL). Sort by relevance, votes, activity or creation date, filter by one or more tags such as typescript;async-await, and download the results as JSON, CSV or Excel — or pull them straight into your app, spreadsheet, dashboard or AI agent through the Apify API and MCP. No Stack Exchange account, no app key, no login and no cookies are needed.
Get your first results free in under 2 minutes — type a search phrase, press Start, and download a ready-made table of Stack Overflow questions.
Table of contents
- What can it do
- Who uses it
- What data can I extract
- How to use
- Input example
- Input fields explained
- Output example
- Limits and accuracy
- Pricing
- Tips
- Want other data?
- Use with AI agents via MCP
- Integrations and API
- Support
- FAQ
- Related searches
- Disclaimer
- Resources
- 中文说明
What can it do
- ✅ Search Stack Overflow questions by phrase — any non-empty query, for example
typescript async await,docker compose host networkorreact useEffect cleanup. - ✅ Filter by tags — pass one tag (
python) or several semicolon-separated tags (typescript;async-await) to narrow the results to a technology. - ✅ Sort four ways —
relevance(best text match),votes(highest score first),activity(most recently active) orcreation(newest questions). - ✅ Return engagement signals — score, answer count, view count, answered status and the accepted answer ID for every question.
- ✅ Return owner details — the asker's user ID, display name, reputation and profile URL as flat columns, ready for spreadsheets.
- ✅ Return timestamps in ISO 8601 —
createdAtandlastActivityAtfor trend and freshness analysis. - ✅ Control the size and cost of every run — set
maxItemsfrom 1 to 100 rows. - ✅ Export anywhere — JSON, CSV, Excel, XML, HTML or RSS from the Apify dataset, or read results through the Apify API.
- ✅ Run on a schedule — monitor a topic daily or weekly with Apify Schedules and send new data to Google Sheets, Slack, webhooks, Make, Zapier or n8n.
- ✅ Plug into AI agents — call the Actor as a tool from Claude, Cursor, ChatGPT-style agents or any MCP-compatible client.
- ✅ Honest empty results — a search with no matches finishes SUCCEEDED with 0 rows and is not charged.
Who uses it
- Developer advocates and DevRel teams tracking which questions developers ask about their SDK, framework or API, and which ones stay unanswered.
- Product managers mining real-world pain points, confusing features and missing documentation from developer questions.
- Technical writers and documentation teams finding the most-viewed questions on a topic to decide which guides, FAQs and examples to write next.
- Content marketers and SEO specialists discovering high-traffic developer topics and long-tail programming keywords for blog posts and tutorials.
- Developer tool companies and startups measuring interest in a technology, comparing tags, and spotting competitor mentions.
- Researchers and data scientists building datasets of programming questions for analysis of trends, scores, answer rates and community behaviour.
- AI and LLM engineers collecting question titles, tags and links to build evaluation sets, retrieval indexes or coding-assistant knowledge sources (with proper attribution).
- Educators and bootcamp instructors finding the most common beginner questions for a language to shape a curriculum.
- Recruiters and community managers identifying active, high-reputation contributors around a specific technology through their public profiles.
- Support and engineering teams watching for new questions about their own product to respond quickly.
What data can I extract
Every field below exists in the Actor's dataset schema and appears in the default Search results table view. One dataset row equals one Stack Overflow question.
Always populated
| Field | Type | Description |
|---|---|---|
questionId | integer | Numeric Stack Overflow question ID, e.g. 56582446. |
title | string | Question title as shown on Stack Overflow. |
url | string (URL) | Canonical link to the question page. |
tags | array of strings | Tags attached to the question, e.g. ["docker", "docker-compose"]. |
score | integer | Question score (upvotes minus downvotes). |
answerCount | integer | Number of answers posted to the question. |
viewCount | integer | Number of times the question has been viewed. |
isAnswered | boolean | Whether Stack Overflow considers the question answered. |
createdAt | string (ISO 8601) | When the question was created, e.g. 2019-06-13T14:11:30.000Z. |
lastActivityAt | string (ISO 8601) | Time of the latest activity on the question (edits, answers, comments). |
Populated when present
| Field | Type | Description |
|---|---|---|
acceptedAnswerId | integer | ID of the accepted answer. Present only when the asker has accepted an answer. |
ownerId | integer | Stack Overflow user ID of the asker, when owner details are available for the question. |
ownerName | string | Display name of the asker, when available. |
ownerReputation | integer | The asker's reputation score at run time, when available. |
ownerUrl | string (URL) | Link to the asker's public profile, when available. |
The table view shows all fifteen columns in this order: Question ID, Title, Question URL, Tags, Score, Answers, Views, Answered, Accepted answer ID, Created, Last activity, Owner ID, Owner, Owner reputation and Owner profile. A missing value means the public data did not include that field for that question; the Actor never fills gaps with guessed values.
How to use
- Open the Stack Overflow Questions Search page on Apify and click Try for free (a free Apify account is enough).
- Type your Search query, for example
typescript async await. - Optionally add Tags, separated by semicolons, such as
typescriptortypescript;async-await. - Choose a Sort order:
relevance,votes,activityorcreation. - Set Maximum results between 1 and 100 (default 20).
- Click Start. A typical run finishes in a few seconds.
- Open the Search results table in the Output tab, or export the dataset to JSON, CSV or Excel.
- Optionally save the input as a task, add a schedule, or connect the dataset to an integration.
Input example
{"query": "typescript async await","tagged": "typescript","sort": "relevance","maxItems": 20}
Find the top-voted Docker Compose networking questions:
{"query": "host network","tagged": "docker;docker-compose","sort": "votes","maxItems": 50}
Monitor the newest questions about a topic (good for daily schedules):
{"query": "pandas merge","tagged": "python;pandas","sort": "creation","maxItems": 100}
Input fields explained
| Field | Required | Type | Default | Description |
|---|---|---|---|---|
query | Yes | string | — (prefill typescript async await) | A non-empty search phrase. Questions matching this phrase are returned. |
tagged | No | string | empty | Optional semicolon-separated tags, e.g. typescript;async-await. Use Stack Overflow tag names exactly as they appear on the site (lowercase, hyphenated). |
sort | No | enum | relevance | One of relevance, votes, activity, creation. |
maxItems | No | integer | 20 | Maximum number of result rows, from 1 to 100. This also caps the maximum result charge of the run. |
Sort options in detail
relevance— best match for your phrase; ideal for research and "what is the canonical question about X".votes— highest score first; ideal for finding the most important, well-known questions in a niche.activity— most recently active first; ideal for spotting questions that are getting new answers or edits.creation— newest first; ideal for monitoring new questions on a schedule.
If the input is invalid (for example an empty query), the run finishes with status SUCCEEDED, stores no rows and is not charged; the reason is written to the run's OUTPUT record.
Output example
These two records are real rows returned by the Actor during testing. Values such as score, views and owner reputation change over time on Stack Overflow.
[{"questionId": 35629246,"title": "Typescript async/await and angular $q service","url": "https://stackoverflow.com/questions/35629246/typescript-async-await-and-angular-q-service","tags": ["javascript", "angularjs", "typescript", "async-await", "angular-promise"],"score": 19,"answerCount": 3,"viewCount": 5787,"isAnswered": true,"acceptedAnswerId": 41825004,"createdAt": "2016-02-25T13:52:43.000Z","lastActivityAt": "2018-12-08T20:30:15.000Z","ownerId": 2670928,"ownerName": "Eugene","ownerReputation": 4007,"ownerUrl": "https://stackoverflow.com/users/2670928/eugene"},{"questionId": 56582446,"title": "How to use host network for docker compose?","url": "https://stackoverflow.com/questions/56582446/how-to-use-host-network-for-docker-compose","tags": ["docker", "docker-compose"],"score": 216,"answerCount": 8,"viewCount": 791217,"isAnswered": true,"acceptedAnswerId": 56582574,"createdAt": "2019-06-13T14:11:30.000Z","lastActivityAt": "2025-02-03T19:48:54.000Z","ownerId": 3829628,"ownerName": "A.Dumas","ownerReputation": 3465,"ownerUrl": "https://stackoverflow.com/users/3829628/a-dumas"}]
Limits and accuracy
- Up to 100 questions per run.
maxItemsaccepts 1–100. For more coverage, run several searches with different phrases, tags or sort orders. - Fast runs. In an end-to-end stress test on 2026-11-23 (a smoke run, 2 serial runs and 3 parallel runs), every run SUCCEEDED and a typical run took 3–13 seconds.
- Parallel runs work. The same test ran three searches at the same time without failures.
- Zero results are honest. A search with no matches finishes SUCCEEDED with 0 rows and 0 charge.
- No fabricated data. If Stack Overflow rate-limits a request or the service returns an error, the run fails instead of returning invented or empty-success data.
- Snapshot in time. Scores, views, answer counts, accepted answers and reputation reflect the moment of the run and can change later.
- Question metadata only. The Actor returns question-level fields listed above. It does not return question bodies, answer texts or comments.
- Public data only. No account, login, cookie or paid proxy is required, and nothing private is accessed.
Pricing
This Actor uses pay-per-result pricing: $2.80 per 1,000 results ($0.0028 per returned question), flat for every user.
- You pay only for question rows stored in the dataset.
- Empty searches (0 matches), invalid input and failed runs store no rows and incur no result charges.
maxItemsis your spending cap: a run withmaxItems: 20can never be charged for more than 20 results ($0.056).- New Apify accounts receive free monthly platform credit, which is enough to try the Actor many times.
Example costs: 20 questions ≈ $0.056 · 100 questions ≈ $0.28 · 1,000 questions ≈ $2.80 · 10,000 questions ≈ $28.
Tips
- Use tags for precision.
query: "merge"alone is broad; addingtagged: "python;pandas"focuses on the exact ecosystem. - Tags are combined. Several semicolon-separated tags narrow results to questions carrying those tags, so start with one tag and add more only if needed.
- Use exact tag names. Stack Overflow tags are lowercase and hyphenated (
async-await,docker-compose,react-hooks). - Pick the sort for your goal.
votesfor canonical questions,creationfor monitoring,activityfor current discussions,relevancefor research. - Find documentation gaps. Sort by
votesand look at rows with highviewCountbutisAnswered: falseor noacceptedAnswerId. - Monitor your product. Schedule a daily run with
sort: "creation"and your product name as the query, then send new rows to Slack or a sheet. - Split large research jobs. Run several focused queries (one per sub-topic or tag) instead of one vague query.
- Deduplicate across runs by
questionId. It is stable and unique per question. - Join with answers later.
acceptedAnswerIdlets you link directly to the accepted answer athttps://stackoverflow.com/a/<acceptedAnswerId>. - Keep attribution. When you reuse titles or links publicly, keep the
urlandownerName/ownerUrlcolumns so you can credit the author (CC BY-SA).
Want other data?
Pair Stack Overflow questions with other public developer and community data from the same publisher:
Developer and tech communities
- Hacker News Scraper — stories, points and comments from Hacker News.
- Reddit Search Scraper — search Reddit posts across subreddits like r/programming and r/webdev.
- Reddit Subreddit Scraper — posts from a specific developer subreddit.
- Reddit Comment Scraper — full comment threads for discussion analysis.
- Medium Scraper — technical articles and tutorials from Medium.
- Substack Scraper — developer and tech newsletters.
- Product Hunt Scraper — newly launched developer tools and products.
AI and developer catalogs
- Hugging Face AI Catalog — models, datasets and spaces from Hugging Face.
- MCP Server Registry — public Model Context Protocol servers.
- OpenRouter Model Catalog — LLM models, context sizes and prices.
- Website Tech Stack Detector — technologies used by any website.
Tech jobs and hiring signals
- Dice Jobs Scraper — tech job listings from Dice.
- Wellfound Jobs Scraper — startup jobs from Wellfound.
- LinkedIn Jobs Scraper — public LinkedIn job postings.
Cross-platform research
- Google Search Results Scraper — see how Stack Overflow questions rank in Google.
- Google Trends Scraper — compare search interest for technologies.
- YouTube Search Scraper — find video tutorials for the same topics.
- X Tweets Scraper — developer conversations on X.
- Website Content Crawler — crawl documentation sites to compare against community questions.
Browse all public Actors at apify.com/myagizm.
Use with AI agents via MCP
Stack Overflow Questions Search is MCP ready. Through the Apify MCP server, AI agents such as Claude Desktop, Claude Code, Cursor, VS Code agents and other MCP clients can call this Actor as a tool, pass a query, tags and sort order, and receive structured question rows they can reason over.
Example MCP client configuration:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com/?actors=myagizm/stackoverflow-questions-search","headers": { "Authorization": "Bearer YOUR_TOKEN" }}}}
Example prompts for your agent:
- "Find the 20 highest-voted Stack Overflow questions about
typescript async awaitand summarise the common problems." - "List the newest unanswered questions tagged
nextjsand give me their links." - "Compare view counts for top questions tagged
docker-composeversuskubernetes."
Integrations and API
Use the Actor from any language or tool that can make HTTP requests. Replace YOUR_TOKEN with your Apify API credential from Settings → Integrations in the Apify Console.
1. Run synchronously and get dataset items in one call
curl -X POST "https://api.apify.com/v2/acts/myagizm~stackoverflow-questions-search/run-sync-get-dataset-items" \-H "Authorization: Bearer YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"query":"typescript async await","tagged":"typescript","sort":"relevance","maxItems":20}'
2. Start an asynchronous run
curl -X POST "https://api.apify.com/v2/acts/myagizm~stackoverflow-questions-search/runs" \-H "Authorization: Bearer YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"query":"host network","tagged":"docker;docker-compose","sort":"votes","maxItems":50}'
3. Fetch the dataset of a finished run
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?format=json&clean=true" \-H "Authorization: Bearer YOUR_TOKEN"
Change format=json to csv, xlsx, xml or html to download other formats. The Actor also works with the Apify JavaScript and Python clients, Apify Schedules, webhooks, and integrations such as Google Sheets, Slack, Make, Zapier, n8n and Airbyte.
Support
Found a bug, need another field, or have a feature idea? Open a ticket in the Issues tab on the Actor page. Please include the run ID, your input JSON and a short description of what you expected. Never paste your Apify credentials into an issue.
FAQ
Is it legal to scrape Stack Overflow?
The Actor only collects publicly available question metadata that anyone can see without logging in. Stack Overflow content is published under Creative Commons BY-SA licences, which allow reuse with attribution. You are responsible for using the data in line with the licence, Stack Overflow's terms and applicable laws such as GDPR and CCPA.
Do I need a Stack Overflow or Stack Exchange API key?
No. You do not need a Stack Exchange app key, account, login or cookies. You only need a free Apify account to run the Actor.
What does the Actor return?
One row per question with questionId, title, url, tags, score, answerCount, viewCount, isAnswered, acceptedAnswerId, createdAt, lastActivityAt, ownerId, ownerName, ownerReputation and ownerUrl.
Does it return question bodies, answers or comments?
No. It returns question-level metadata and links. Use the url and acceptedAnswerId to open the full question and accepted answer on Stack Overflow.
How many questions can I get per run?
Between 1 and 100, controlled by maxItems (default 20). For larger datasets, run several searches with different queries, tags or sort orders and deduplicate by questionId.
How fast is it?
In our 2026-11-23 stress test, every run succeeded and a typical run finished in 3–13 seconds.
Can I filter by several tags?
Yes. Separate tags with semicolons, for example typescript;async-await. Adding more tags narrows the result set.
What sort orders are available?
relevance, votes, activity and creation. The default is relevance.
What happens if my search has no matches?
The run finishes SUCCEEDED with 0 rows and you are not charged.
What happens if my input is invalid?
The run finishes SUCCEEDED with no rows and no charge, and the reason is written to the OUTPUT record of the run.
What if Stack Overflow rate-limits the request?
The run fails rather than returning made-up or empty-success data. You can simply start it again later.
How much does it cost?
$2.80 per 1,000 results ($0.0028 per question), flat. You only pay for rows stored in the dataset.
Can I export to CSV or Excel?
Yes. Export the dataset as JSON, CSV, Excel, XML, HTML or RSS from the Output tab or through the API.
Can I schedule runs to monitor new questions?
Yes. Create a task with sort: "creation" and attach an Apify Schedule (hourly, daily, weekly or a custom cron expression). Connect a webhook or integration to receive new rows automatically.
Do I need proxies?
No. No proxy configuration is required and there is no proxy setting in the input.
Can AI agents use this Actor?
Yes. It is MCP ready: add it to the Apify MCP server and your agent can call it as a tool and read the structured results.
Can I call it from Python or JavaScript?
Yes. Use the Apify API directly (see the curl examples) or the official apify-client packages for Python and JavaScript with the Actor ID myagizm/stackoverflow-questions-search.
Why is acceptedAnswerId empty for some questions?
It is only present when the asker has accepted an answer. A question can have answers and still have no accepted answer.
Are the scores and view counts live?
They are a snapshot taken when the run executes. Values on Stack Overflow keep changing, so rerun the search for fresh numbers.
Can I use the data to train or evaluate AI models?
Stack Overflow content is CC BY-SA licensed. Any reuse must follow that licence, including attribution, and you should review Stack Overflow's current terms for AI use before building training datasets.
Does it work for other Stack Exchange sites?
This Actor searches Stack Overflow questions. Other Stack Exchange sites are not part of its input.
Is personal data included?
Only public profile information that Stack Overflow shows next to each question: user ID, display name, reputation and profile URL. Handle it according to GDPR, CCPA and your local rules.
Can I get the results in a Google Sheet automatically?
Yes. Use Apify's Google Sheets integration or a Make/Zapier/n8n scenario triggered when a run succeeds.
Related searches
stack overflow scraper · stackoverflow questions search · scrape stack overflow questions · stack overflow api alternative · stack overflow data export · stack overflow questions to csv · stack overflow questions to excel · stack overflow tag scraper · search stack overflow by tag · top voted stack overflow questions · unanswered stack overflow questions · newest stack overflow questions monitor · stack overflow question dataset · stack overflow view count data · stack overflow score and answers · stack exchange questions scraper · developer questions dataset · programming questions scraper · stack overflow trend analysis · devrel community monitoring · stack overflow mcp tool · stack overflow data for ai agents · stack overflow json export · stack overflow questions without api key · stack overflow keyword research · stack overflow accepted answer finder · stack overflow user reputation data · apify stack overflow actor
Disclaimer
Stack Overflow Questions Search is an independent tool. It is not affiliated with, endorsed by, or sponsored by Stack Overflow, Stack Exchange Inc. or any of their products. "Stack Overflow" and "Stack Exchange" are trademarks of their respective owners. The Actor collects only publicly available data and does not access private accounts or content behind a login.
Stack Overflow user contributions are licensed under Creative Commons BY-SA. If you republish or reuse titles, links or other content, you must attribute it — for example by linking to the question url and crediting the author via ownerName and ownerUrl — and share adaptations under the same licence. Results can contain personal data (public display names, profile links and reputation). You are responsible for having a lawful basis to process it and for complying with GDPR, CCPA and other applicable privacy laws and terms of service.
Resources
- Actor page: Stack Overflow Questions Search
- All Actors by myagizm
- Apify API documentation
- Apify MCP server
- Apify Schedules
- Apify integrations
- Stack Overflow
- Creative Commons BY-SA 4.0 licence
中文说明
Stack Overflow 问题搜索 — 按关键词和标签抓取 Stack Overflow 问题、得分与回答数据(无需 API 密钥,无需登录)
按关键词短语和可选标签搜索公开的 Stack Overflow 问题,几秒内导出干净、结构化的问题数据。 这个 Stack Overflow 抓取工具每个问题返回一行,包括问题 ID、标题、链接、标签、得分(投票数)、回答数、浏览量、是否已回答、已采纳答案 ID、创建时间和最后活动时间,以及扁平化的提问者信息(用户 ID、显示名称、声望值和个人主页链接)。可按相关度、投票、活跃度或创建时间排序,用 typescript;async-await 这样的标签过滤,并以 JSON、CSV 或 Excel 下载,或通过 Apify API 和 MCP 直接接入应用、表格、仪表盘或 AI 智能体。无需 Stack Exchange 账号、应用密钥、登录或 Cookie。
2 分钟内免费拿到第一批结果——输入搜索短语,点击 Start,即可下载整理好的 Stack Overflow 问题表格。
目录
- 功能
- 适用人群
- 可以提取哪些数据
- 使用方法
- 输入示例
- 输入字段说明
- 输出示例
- 限制与准确性
- 价格
- 使用技巧
- 需要其他数据?
- 通过 MCP 与 AI 智能体配合使用
- 集成与 API
- 支持
- 常见问题
- 相关搜索
- 免责声明
- 资源
功能
- ✅ 按短语搜索 Stack Overflow 问题——任意非空查询,例如
typescript async await、docker compose host network或react useEffect cleanup。 - ✅ 按标签过滤——传入一个标签(
python)或多个用分号分隔的标签(typescript;async-await),把结果限定到某项技术。 - ✅ 四种排序——
relevance(最佳匹配)、votes(得分最高优先)、activity(最近活跃优先)、creation(最新问题优先)。 - ✅ 返回互动指标——每个问题的得分、回答数、浏览量、是否已回答以及已采纳答案 ID。
- ✅ 返回提问者信息——用户 ID、显示名称、声望值和主页链接,均为扁平列,适合直接放进表格。
- ✅ ISO 8601 时间戳——
createdAt和lastActivityAt,便于做趋势和时效分析。 - ✅ 控制每次运行的规模和费用——
maxItems可设为 1 到 100 行。 - ✅ 随处导出——从 Apify 数据集导出 JSON、CSV、Excel、XML、HTML 或 RSS,或通过 Apify API 读取。
- ✅ 定时运行——用 Apify Schedules 每天或每周监控某个话题,并把新数据推送到 Google Sheets、Slack、Webhook、Make、Zapier 或 n8n。
- ✅ 接入 AI 智能体——可作为工具被 Claude、Cursor 等任何兼容 MCP 的客户端调用。
- ✅ 诚实的空结果——没有匹配的搜索会以 SUCCEEDED 结束,返回 0 行,不收费。
适用人群
- 开发者关系(DevRel)团队:跟踪开发者对自家 SDK、框架或 API 提出的问题,以及哪些问题长期无人回答。
- 产品经理:从真实的开发者提问中挖掘痛点、易混淆的功能和缺失的文档。
- 技术文档团队:找出某话题下浏览量最高的问题,决定下一步编写哪些指南、FAQ 和示例。
- 内容营销与 SEO 人员:发现高流量的开发者话题和长尾编程关键词,用于博客和教程选题。
- 开发者工具公司与初创团队:衡量某项技术的热度、对比不同标签、发现竞品被提及的情况。
- 研究人员与数据科学家:构建编程问题数据集,分析趋势、得分、回答率和社区行为。
- AI / 大模型工程师:收集问题标题、标签和链接,用于评测集、检索索引或编程助手知识源(需注明出处)。
- 教育者与培训讲师:找出某门语言最常见的入门问题,用来设计课程。
- 招聘与社区运营人员:通过公开主页识别某项技术周边活跃、高声望的贡献者。
- 技术支持与工程团队:关注与自家产品相关的新问题,快速响应。
可以提取哪些数据
下列所有字段都存在于 Actor 的数据集结构中,并显示在默认的 Search results 表格视图里。数据集的一行等于一个 Stack Overflow 问题。
始终有值
| 字段 | 类型 | 说明 |
|---|---|---|
questionId | integer | Stack Overflow 问题的数字 ID,例如 56582446。 |
title | string | Stack Overflow 上显示的问题标题。 |
url | string (URL) | 问题页面的规范链接。 |
tags | 字符串数组 | 问题的标签,例如 ["docker", "docker-compose"]。 |
score | integer | 问题得分(赞成票减反对票)。 |
answerCount | integer | 问题下的回答数量。 |
viewCount | integer | 问题被浏览的次数。 |
isAnswered | boolean | Stack Overflow 是否认为该问题已得到回答。 |
createdAt | string (ISO 8601) | 问题创建时间,例如 2019-06-13T14:11:30.000Z。 |
lastActivityAt | string (ISO 8601) | 问题最近一次活动(编辑、回答、评论)的时间。 |
有数据时才填充
| 字段 | 类型 | 说明 |
|---|---|---|
acceptedAnswerId | integer | 已采纳答案的 ID。仅在提问者采纳了某个回答时出现。 |
ownerId | integer | 提问者的 Stack Overflow 用户 ID(当该问题提供提问者信息时)。 |
ownerName | string | 提问者显示名称(如有)。 |
ownerReputation | integer | 运行时提问者的声望值(如有)。 |
ownerUrl | string (URL) | 提问者公开主页链接(如有)。 |
表格视图按以下顺序显示全部 15 列:Question ID、Title、Question URL、Tags、Score、Answers、Views、Answered、Accepted answer ID、Created、Last activity、Owner ID、Owner、Owner reputation、Owner profile。字段缺失表示该问题的公开数据中没有此项;Actor 绝不会用猜测的值填补空缺。
使用方法
- 打开 Apify 上的 Stack Overflow Questions Search 页面,点击 Try for free(免费 Apify 账号即可)。
- 在 Search query 中输入搜索短语,例如
typescript async await。 - 可选:在 Tags 中填写用分号分隔的标签,如
typescript或typescript;async-await。 - 选择 Sort 排序方式:
relevance、votes、activity或creation。 - 把 Maximum results 设为 1 到 100 之间(默认 20)。
- 点击 Start。一次典型运行只需几秒。
- 在 Output 标签页查看 Search results 表格,或将数据集导出为 JSON、CSV 或 Excel。
- 可选:把输入保存为任务、添加定时计划,或把数据集连接到集成。
输入示例
{"query": "typescript async await","tagged": "typescript","sort": "relevance","maxItems": 20}
查找得分最高的 Docker Compose 网络相关问题:
{"query": "host network","tagged": "docker;docker-compose","sort": "votes","maxItems": 50}
监控某话题的最新问题(适合每日定时运行):
{"query": "pandas merge","tagged": "python;pandas","sort": "creation","maxItems": 100}
输入字段说明
| 字段 | 必填 | 类型 | 默认值 | 说明 |
|---|---|---|---|---|
query | 是 | string | —(预填 typescript async await) | 非空搜索短语,返回与之匹配的问题。 |
tagged | 否 | string | 空 | 可选,分号分隔的标签,例如 typescript;async-await。请使用 Stack Overflow 上的原始标签名(小写、连字符)。 |
sort | 否 | enum | relevance | relevance、votes、activity、creation 之一。 |
maxItems | 否 | integer | 20 | 最多返回的结果行数,1 到 100。同时也是本次运行结果费用的上限。 |
排序方式详解
relevance——与短语最匹配;适合调研以及寻找“关于 X 的经典问题”。votes——得分最高优先;适合找出某个细分领域最重要、最知名的问题。activity——最近活跃优先;适合发现正在获得新回答或编辑的问题。creation——最新优先;适合定时监控新问题。
如果输入无效(例如查询为空),运行会以 SUCCEEDED 状态结束,不写入任何行,也不收费;原因会写入该运行的 OUTPUT 记录。
输出示例
以下两条记录是 Actor 在测试中返回的真实数据。得分、浏览量和提问者声望等数值会随时间在 Stack Overflow 上变化。
[{"questionId": 35629246,"title": "Typescript async/await and angular $q service","url": "https://stackoverflow.com/questions/35629246/typescript-async-await-and-angular-q-service","tags": ["javascript", "angularjs", "typescript", "async-await", "angular-promise"],"score": 19,"answerCount": 3,"viewCount": 5787,"isAnswered": true,"acceptedAnswerId": 41825004,"createdAt": "2016-02-25T13:52:43.000Z","lastActivityAt": "2018-12-08T20:30:15.000Z","ownerId": 2670928,"ownerName": "Eugene","ownerReputation": 4007,"ownerUrl": "https://stackoverflow.com/users/2670928/eugene"},{"questionId": 56582446,"title": "How to use host network for docker compose?","url": "https://stackoverflow.com/questions/56582446/how-to-use-host-network-for-docker-compose","tags": ["docker", "docker-compose"],"score": 216,"answerCount": 8,"viewCount": 791217,"isAnswered": true,"acceptedAnswerId": 56582574,"createdAt": "2019-06-13T14:11:30.000Z","lastActivityAt": "2025-02-03T19:48:54.000Z","ownerId": 3829628,"ownerName": "A.Dumas","ownerReputation": 3465,"ownerUrl": "https://stackoverflow.com/users/3829628/a-dumas"}]
限制与准确性
- 每次运行最多 100 个问题。
maxItems取值 1–100。如需更大覆盖面,可用不同短语、标签或排序方式多次搜索。 - 运行速度快。 在 2026-11-23 的端到端压力测试中(1 次冒烟测试、2 次串行和 3 次并行运行),所有运行均 SUCCEEDED,典型耗时 3–13 秒。
- 支持并行运行。 同一测试中三次搜索同时运行,无失败。
- 零结果如实返回。 没有匹配的搜索以 SUCCEEDED 结束,0 行、0 费用。
- 不伪造数据。 如果 Stack Overflow 限流或服务返回错误,运行会失败,而不是返回编造的数据或“空的成功”。
- 时间快照。 得分、浏览量、回答数、采纳答案和声望值反映的是运行那一刻的数据,之后可能变化。
- 仅问题元数据。 Actor 只返回上文列出的问题级字段,不返回问题正文、回答内容或评论。
- 仅公开数据。 不需要账号、登录、Cookie 或付费代理,也不会访问任何私密内容。
价格
本 Actor 采用按结果计费:每 1,000 条结果 $2.80(每个问题 $0.0028),对所有用户统一价格。
- 只为写入数据集的问题行付费。
- 空搜索(0 个匹配)、无效输入和失败的运行不写入任何行,不产生结果费用。
maxItems就是消费上限:maxItems: 20的运行最多只按 20 条结果计费($0.056)。- 新 Apify 账号每月有免费平台额度,足以多次试用本 Actor。
费用示例:20 个问题 ≈ $0.056 · 100 个问题 ≈ $0.28 · 1,000 个问题 ≈ $2.80 · 10,000 个问题 ≈ $28。
使用技巧
- 用标签提高精确度。 单独搜
merge范围很广;加上tagged: "python;pandas"就能聚焦到具体生态。 - 多个标签会叠加过滤。 分号分隔的多个标签会把结果缩小到同时带有这些标签的问题,建议先用一个标签,需要时再添加。
- 使用准确的标签名。 Stack Overflow 标签为小写加连字符(
async-await、docker-compose、react-hooks)。 - 按目标选择排序。 找经典问题用
votes,做监控用creation,看当前讨论用activity,做调研用relevance。 - 发现文档缺口。 按
votes排序,关注viewCount很高但isAnswered: false或没有acceptedAnswerId的行。 - 监控你的产品。 以产品名为查询、
sort: "creation"每天定时运行,把新行推送到 Slack 或表格。 - 拆分大型调研。 用多个聚焦查询(每个子话题或标签一个)代替一个模糊查询。
- 用
questionId跨运行去重。 它对每个问题稳定且唯一。 - 之后再关联答案。 通过
acceptedAnswerId可直接打开https://stackoverflow.com/a/<acceptedAnswerId>查看已采纳答案。 - 保留署名信息。 公开复用标题或链接时,请保留
url和ownerName/ownerUrl列,以便注明作者(CC BY-SA)。
需要其他数据?
把 Stack Overflow 问题与同一发布者提供的其他公开开发者与社区数据结合使用:
开发者与技术社区
- Hacker News Scraper——Hacker News 的帖子、得分和评论。
- Reddit Search Scraper——跨 r/programming、r/webdev 等子版块搜索 Reddit 帖子。
- Reddit Subreddit Scraper——抓取指定开发者子版块的帖子。
- Reddit Comment Scraper——完整评论串,用于讨论分析。
- Medium Scraper——Medium 上的技术文章和教程。
- Substack Scraper——开发者与科技类 Newsletter。
- Product Hunt Scraper——新发布的开发者工具和产品。
AI 与开发者目录
- Hugging Face AI Catalog——Hugging Face 的模型、数据集和 Spaces。
- MCP Server Registry——公开的 Model Context Protocol 服务器。
- OpenRouter Model Catalog——大模型列表、上下文长度和价格。
- Website Tech Stack Detector——检测任意网站使用的技术。
技术岗位与招聘信号
- Dice Jobs Scraper——Dice 上的技术岗位。
- Wellfound Jobs Scraper——Wellfound 上的初创公司岗位。
- LinkedIn Jobs Scraper——LinkedIn 公开职位。
跨平台调研
- Google Search Results Scraper——查看 Stack Overflow 问题在 Google 中的排名。
- Google Trends Scraper——对比不同技术的搜索热度。
- YouTube Search Scraper——为同一话题查找视频教程。
- X Tweets Scraper——X 上的开发者讨论。
- Website Content Crawler——抓取文档站点,与社区问题对照。
在 apify.com/myagizm 浏览全部公开 Actor。
通过 MCP 与 AI 智能体配合使用
Stack Overflow Questions Search 支持 MCP。通过 Apify MCP 服务器,Claude Desktop、Claude Code、Cursor、VS Code 智能体及其他 MCP 客户端可以把本 Actor 当作工具调用,传入查询、标签和排序方式,并获得可供推理的结构化问题数据。
MCP 客户端配置示例:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com/?actors=myagizm/stackoverflow-questions-search","headers": { "Authorization": "Bearer YOUR_TOKEN" }}}}
可以对智能体说:
- “找出关于
typescript async await得分最高的 20 个 Stack Overflow 问题,并总结常见问题。” - “列出带
nextjs标签的最新未回答问题,并给出链接。” - “比较
docker-compose和kubernetes标签下热门问题的浏览量。”
集成与 API
任何能发送 HTTP 请求的语言或工具都可以调用本 Actor。把 YOUR_TOKEN 替换为 Apify 控制台 Settings → Integrations 中的 API 凭据。
1. 同步运行并一次性获取数据集结果
curl -X POST "https://api.apify.com/v2/acts/myagizm~stackoverflow-questions-search/run-sync-get-dataset-items" \-H "Authorization: Bearer YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"query":"typescript async await","tagged":"typescript","sort":"relevance","maxItems":20}'
2. 异步启动运行
curl -X POST "https://api.apify.com/v2/acts/myagizm~stackoverflow-questions-search/runs" \-H "Authorization: Bearer YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"query":"host network","tagged":"docker;docker-compose","sort":"votes","maxItems":50}'
3. 获取已完成运行的数据集
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?format=json&clean=true" \-H "Authorization: Bearer YOUR_TOKEN"
把 format=json 改为 csv、xlsx、xml 或 html 即可下载其他格式。本 Actor 也支持 Apify JavaScript / Python 客户端、Apify Schedules、Webhook,以及 Google Sheets、Slack、Make、Zapier、n8n、Airbyte 等集成。
支持
发现 Bug、需要新字段或有功能建议?请在 Actor 页面的 Issues 标签页提交。请附上运行 ID、输入 JSON 以及预期结果的简要说明。切勿在 Issue 中粘贴你的 Apify 凭据。
常见问题
抓取 Stack Overflow 合法吗?
本 Actor 只收集任何人无需登录即可查看的公开问题元数据。Stack Overflow 内容以知识共享 BY-SA 许可发布,允许在署名的前提下复用。你需要按照该许可、Stack Overflow 的条款以及 GDPR、CCPA 等适用法律使用数据。
需要 Stack Overflow 或 Stack Exchange 的 API 密钥吗?
不需要。无需 Stack Exchange 应用密钥、账号、登录或 Cookie,只需一个免费的 Apify 账号。
Actor 返回什么?
每个问题一行,包含 questionId、title、url、tags、score、answerCount、viewCount、isAnswered、acceptedAnswerId、createdAt、lastActivityAt、ownerId、ownerName、ownerReputation 和 ownerUrl。
会返回问题正文、回答或评论吗?
不会。只返回问题级元数据和链接。可用 url 和 acceptedAnswerId 在 Stack Overflow 上打开完整问题和已采纳答案。
每次运行能获取多少问题?
1 到 100 个,由 maxItems 控制(默认 20)。如需更大的数据集,可用不同查询、标签或排序多次运行,再按 questionId 去重。
速度如何?
在 2026-11-23 的压力测试中,所有运行均成功,典型耗时 3–13 秒。
可以按多个标签过滤吗?
可以。用分号分隔标签,例如 typescript;async-await。标签越多,结果范围越小。
有哪些排序方式?
relevance、votes、activity 和 creation,默认 relevance。
搜索没有匹配结果会怎样?
运行以 SUCCEEDED 结束,返回 0 行,不收费。
输入无效会怎样?
运行以 SUCCEEDED 结束,不写入任何行,不收费,原因写入该运行的 OUTPUT 记录。
如果 Stack Overflow 限流怎么办?
运行会失败,而不是返回编造或“空成功”的数据。稍后重新运行即可。
费用是多少?
每 1,000 条结果 $2.80(每个问题 $0.0028),统一价格。只为写入数据集的行付费。
能导出为 CSV 或 Excel 吗?
可以。在 Output 标签页或通过 API 导出 JSON、CSV、Excel、XML、HTML 或 RSS。
能定时运行来监控新问题吗?
可以。创建一个 sort: "creation" 的任务并附加 Apify Schedule(每小时、每天、每周或自定义 cron),再连接 Webhook 或集成即可自动接收新数据。
需要代理吗?
不需要。无需配置代理,输入中也没有代理选项。
AI 智能体可以使用吗?
可以。本 Actor 支持 MCP:把它加入 Apify MCP 服务器,智能体即可作为工具调用并读取结构化结果。
能用 Python 或 JavaScript 调用吗?
可以。直接调用 Apify API(见上方 curl 示例),或使用官方 apify-client Python / JavaScript 包,Actor ID 为 myagizm/stackoverflow-questions-search。
为什么有些问题的 acceptedAnswerId 为空?
只有提问者采纳了某个回答时才有该字段。一个问题可能有回答但没有被采纳的答案。
得分和浏览量是实时的吗?
它们是运行时的快照。Stack Overflow 上的数值会持续变化,重新运行即可获取最新数据。
可以用这些数据训练或评测 AI 模型吗?
Stack Overflow 内容采用 CC BY-SA 许可。任何复用都必须遵守该许可(包括署名),在构建训练数据集前也应查阅 Stack Overflow 当前关于 AI 使用的条款。
支持其他 Stack Exchange 站点吗?
本 Actor 搜索的是 Stack Overflow 问题,其他 Stack Exchange 站点不在输入选项内。
包含个人数据吗?
仅包含 Stack Overflow 在每个问题旁公开显示的资料:用户 ID、显示名称、声望值和主页链接。请按照 GDPR、CCPA 及当地法规处理。
能自动把结果写入 Google Sheet 吗?
可以。使用 Apify 的 Google Sheets 集成,或在运行成功时触发 Make / Zapier / n8n 流程。
相关搜索
Stack Overflow 抓取工具 · Stack Overflow 问题搜索 · 抓取 Stack Overflow 问题 · Stack Overflow API 替代方案 · Stack Overflow 数据导出 · Stack Overflow 问题导出 CSV · Stack Overflow 问题导出 Excel · Stack Overflow 标签抓取 · 按标签搜索 Stack Overflow · Stack Overflow 高票问题 · Stack Overflow 未回答问题 · Stack Overflow 最新问题监控 · Stack Overflow 问题数据集 · Stack Overflow 浏览量数据 · Stack Overflow 得分与回答数 · Stack Exchange 问题抓取 · 开发者问题数据集 · 编程问题抓取工具 · Stack Overflow 趋势分析 · 开发者社区监控 · Stack Overflow MCP 工具 · 面向 AI 智能体的 Stack Overflow 数据 · Stack Overflow JSON 导出 · 无需 API 密钥抓取 Stack Overflow · Stack Overflow 关键词研究 · Stack Overflow 采纳答案查找 · Stack Overflow 用户声望数据 · Apify Stack Overflow Actor
免责声明
Stack Overflow Questions Search 是一个独立工具,与 Stack Overflow、Stack Exchange Inc. 及其任何产品均无关联,也未获得其认可或赞助。“Stack Overflow”和“Stack Exchange”是其各自所有者的商标。本 Actor 只收集公开可得的数据,不会访问私人账号或需要登录才能查看的内容。
Stack Overflow 的用户贡献内容采用知识共享 BY-SA 许可。如果你重新发布或复用标题、链接或其他内容,必须注明出处——例如链接到问题 url,并通过 ownerName 和 ownerUrl 注明作者——且衍生作品须以相同许可共享。结果可能包含个人数据(公开显示名称、主页链接和声望值)。你有责任确保具备合法的处理依据,并遵守 GDPR、CCPA 及其他适用的隐私法律和服务条款。