Stack Overflow Scraper - Questions, Tags & Scores
Pricing
$1.00 / 1,000 question record produceds
Stack Overflow Scraper - Questions, Tags & Scores
Scrape Stack Overflow and other Stack Exchange sites by keyword or tag: question titles, links, tags, scores, views, answer counts, answered status and dates. Export to CSV, JSON or Excel, schedule runs or use the API.
Pricing
$1.00 / 1,000 question record produceds
Rating
0.0
(0)
Developer
Automly
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
What is Stack Overflow Scraper?
Stack Overflow Scraper is a tool that lets you scrape questions from Stack Overflow and other Stack Exchange sites: title, tags, link, score, answer count, answered status, view count, creation, activity, edit and closed dates, and the asker's name and reputation. Add a site such as stackoverflow, a keyword or tags, click Start, and download the questions as Excel, CSV or JSON.
- ๐ Many sites in one run: Stack Overflow, Server Fault, Super User and any other Stack Exchange site
- ๐ท๏ธ Filters: keyword, tags, date range, sort mode and order
- ๐ No login: no Stack Exchange account or API key needed
- ๐ธ Free to try: the $5 of free usage every Apify account gets each month covers about 5,000 questions
What can Stack Overflow Scraper do?
- Scrape Stack Overflow questions by keyword
- Scrape Stack Overflow questions by tag, such as
pythonordocker - Get the most voted Stack Overflow questions on a topic
- Get Stack Overflow questions asked between two dates
- Search Server Fault, Super User and other Stack Exchange sites in the same run
- Track new and active questions about your product or library
- Export Stack Overflow questions to Excel, CSV, JSON, HTML or XML
What data can you extract from Stack Overflow questions?
| โ Question title | ๐ท๏ธ Tags | ๐ Question link |
| โฌ๏ธ Score | ๐ฌ Answer count | โ Answered or not |
| ๐๏ธ View count | ๐ Creation date | ๐ Last activity date |
| โ๏ธ Last edit date | ๐ Closed date | ๐ค Asker name and reputation |
How to scrape Stack Overflow questions
- Create a free Apify account (no credit card needed).
- Open Stack Overflow Scraper.
- Type the Sites to search (
stackoverflow, or several separated by commas) and a Query or Tags. - Choose Sort, Order and an optional From date and To date, set Max results, and click Start.
- When the run finishes, download your questions as Excel, CSV, JSON, HTML or XML.
How much does it cost to scrape Stack Overflow questions?
You pay $1.00 per 1,000 questions. Apify platform usage is included in this price, so there is nothing else to pay for the run.
For example, 1,000 questions cost $1.00 on the Free plan, and a run that returns 200 questions costs $0.20.
Every Apify account gets $5 of free usage each month. See the Pricing tab for details.
โฌ๏ธ Input
| Setting | What it does |
|---|---|
| Sites | Stack Exchange sites to search, separated by commas, such as stackoverflow,serverfault,superuser (required) |
| Query | Free-text search for questions |
| Tags | Tags to filter by, separated by commas, such as python,api |
| Sort | activity, votes, creation, relevance, hot, week or month (default relevance) |
| Order | desc or asc |
| From date | Only questions created on or after this date, e.g. 2026-01-01 |
| To date | Only questions created on or before this date |
| Page size | Leave it at the default |
| Max results | How many questions to return (default 200, up to 1,000) |
Example: Stack Overflow questions about APIs in Python.
{"sites": "stackoverflow","query": "apify api","tags": "python,api","sort": "relevance","order": "desc","maxResults": 100}
Example: the most active Docker timeout questions on three sites.
{"sites": "stackoverflow,superuser,serverfault","query": "docker timeout","sort": "activity","order": "desc","maxResults": 75}
โฌ๏ธ Output
You get one row per question. You can view the rows as a table in Apify Console or download them as Excel, CSV, JSON, HTML or XML. Each row also repeats the query, sort and order that found it.
{"site": "stackoverflow","questionId": 2081586,"title": "Web scraping with Python","tags": ["python", "web-scraping"],"link": "https://stackoverflow.com/questions/2081586/web-scraping-with-python","score": 197,"answerCount": 10,"isAnswered": true,"viewCount": 226874,"creationDate": "2010-01-17T16:06:53Z","lastActivityDate": "2024-08-19T15:11:42Z","lastEditDate": "2024-08-19T15:11:42Z","closedDate": "2019-09-25T13:51:53Z","ownerDisplayName": "eozzy","ownerReputation": 69660,"query": "web scraping","sort": "relevance","order": "desc","recordType": "question"}
How can I use Stack Overflow data?
- Developer research: see which problems people hit with a language, library or tool
- Product feedback: find questions about your product, SDK or API and the bugs and integration issues behind them
- Support intelligence: spot recurring support themes and write docs for the most-viewed questions
- Content ideas: find popular, unanswered questions to write tutorials and blog posts about
- Trend monitoring: track how many questions a tag gets per week or month
How to monitor new Stack Overflow questions
- Set Sort to
creationand Order todesc. - Add your Query or Tags, and set From date to the date of your last run.
- Schedule the actor to run every day, and send new questions to Slack, email or a spreadsheet with an integration.
Scrape more developer and community data
| Actor | What it gets |
|---|---|
| GitHub Issues Scraper - Issues & Pull Requests Monitor | New, updated, closed and merged GitHub issues and pull requests |
| GitHub Repository Scraper - Repos, Issues & Pull Requests | GitHub repository details, open issues, pull requests and contributors |
| GitHub Code Search API | Public code files on GitHub that match your search |
| Hacker News Scraper - Stories, Comments & Trends | Hacker News stories and discussions by keyword, points and date |
| Reddit Scraper - Posts, Comments, Users, Subreddits & Search | Reddit posts, comments, subreddits and search results |
โFAQ
How much does Stack Overflow Scraper cost?
$1.00 per 1,000 questions, platform usage included. See the cost section above and the Pricing tab.
Do I need a Stack Exchange account or API key?
No. You don't need a Stack Exchange account, login or API key.
How many questions can I get per run?
Up to 1,000 per run. For more, split the search by date range or tags. The tool is made for search and monitoring, not for copying a whole site.
Can I search more than one site at a time?
Yes. Put several site names in Sites, separated by commas.
Does it return the answers or the question text?
No. Each row is one question with its title, tags, link, counts and dates. Open the link to read the full question and its answers.
Why are some fields empty?
Some questions have no owner reputation, edit date or closed date. Those fields are empty or null for them.
What happens if no questions match?
The run returns no rows for that site and query.
Can I connect Stack Overflow Scraper to other tools or AI agents?
Yes. Start runs and download results with the Apify API or the Python and JavaScript clients, send results to Make, Zapier, n8n, Google Sheets or Slack with Apify integrations and webhooks, or let AI assistants and agents run it through the Apify MCP server at mcp.apify.com.
Is it legal to scrape Stack Overflow?
This actor only collects public question details that anyone can see on Stack Exchange sites. Display names and reputation are still personal data, which may be protected by laws such as GDPR, so only scrape it for a legitimate reason and ask a lawyer if you are unsure. Stack Exchange content is shared under a Creative Commons license that asks for attribution. You can read more in Is web scraping legal?
Stack Overflow Scraper is an independent tool. It is not affiliated with, endorsed by or sponsored by Stack Overflow or Stack Exchange.
Something isn't working?
Open the Issues tab and tell us your input and what you expected.
โญ Your feedback
Have an idea or found a problem? Tell us on the Issues tab. If Stack Overflow Scraper saved you time, a short review on the Reviews tab helps other people find it.