StackOverflow Scraper β Q&A & Dev Trends
Pricing
from $20.00 / 1,000 question records
StackOverflow Scraper β Q&A & Dev Trends
Extract Stack Overflow questions, answers, votes, tags and user data. Stack Exchange API & GitHub Trending alternative for LLM training datasets, dev sentiment analysis and tech trend dashboards. Pay per question, no rate limits.
Pricing
from $20.00 / 1,000 question records
Rating
0.0
(0)
Developer
NexGenData
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
a month ago
Last modified
Categories
Share
StackOverflow Scraper
Q&A & Dev Trends
Public Stack Overflow Q&A and developer trends.
π Sample Output

title | viewCount | tags | authorName | authorProfileUrl | creationDate |
|---|---|---|---|---|---|
| What does the "yield" keyword do in Python? | 3499695 | ['python', 'iterator', 'generator', 'yield'] | Alex. S. | https://stackoverflow.com/users/18300/alex-s | 1224800471 |
| Does Python have a ternary conditional operator? | 3142862 | ['python', 'operators', 'conditional-operator'] | Devoted | https://stackoverflow.com/users/51518/devoted | 1230366738 |
| What does if name == "main": do? | 5042727 | ['python', 'namespaces', 'program-entry-point', 'python-module', 'idi⦠| Devoted | https://stackoverflow.com/users/51518/devoted | 1231301460 |
| How do I check whether a file exists without exceptions? | 6109497 | ['python', 'file', 'file-exists'] | spence91 | https://stackoverflow.com/users/15616/spence91 | 1221656100 |
| How do I merge two dictionaries in a single expression in Python? | 3686576 | ['python', 'dictionary', 'merge'] | Carl Meyer | https://stackoverflow.com/users/3207/carl-meyer | 1220341470 |
| What are metaclasses in Python? | 1266074 | ['python', 'oop', 'metaclass', 'python-class', 'python-datamodel'] | Bite code | https://stackoverflow.com/users/9951/bite-code | 1221804646 |
Real rows from run Ur3rmcoyjEXNhfE4E on build 1.0.28 (2026-09-25), unedited apart from masked emails/phones and shortened long text; fields the source does not publish are empty.
βοΈ Sample inputs
This is the Store example input β the same input Apify's automated check runs β so it is proven to return rows on the current build. Paste it into the input form, or send it through the API, CLI or a schedule:
{"query": "python web scraping","sort": "relevance","maxResults": 50}
π§ Input reference
| Field | Type | Default | What it does |
|---|---|---|---|
query (required) | string | "python web scraping" | Search terms matched in Stack Overflow question titles. Required β with no query the run returns 0 rows and charges nothing. |
tag | string | "python" | Filter by tag (e.g., python, javascript) |
sort | string (relevance, votes, creation, activity) | "relevance" | Sort by: relevance, votes, creation, activity |
maxResults | integer | 25 | Maximum number of questions to return |
π§Ύ JSON sample record
One real record from run Ur3rmcoyjEXNhfE4E (emails/phones masked, long text shortened):
{"questionId": 231767,"title": "What does the "yield" keyword do in Python?","url": "https://stackoverflow.com/questions/231767/what-does-the-yield-keyword-do-in-python","score": 13135,"viewCount": 3499695,"answerCount": 51,"isAnswered": true,"acceptedAnswerId": 231855,"tags": ["python","iterator","generator","yield"],"authorName": "Alex. S.","authorReputation": 148444,"authorProfileUrl": "https://stackoverflow.com/users/18300/alex-s","creationDate": 1224800471,"lastActivityDate": 1777574627,"bountyAmount": null,"body": "<p>What functionality does the <a href=\"https://docs.python.org/3/reference/simple_stmts.html#yield\" rel=\"noreferrer\"><code>yield</code></a> keyword in Python provide?</p>\n<p>For example, I'm trying to understand this code<sup><strong>1</strong></sup>:</p>\n<pre><code>def _get_child_candidates(self, distance, min_dist, max_dist):\n if self._leftchild and distance - max_dist < self._median:\n yield self._leftchild\n if self._rightchild and distance + max_dist >= self._median:\n yield self._rightchild \n</code></pre>\n<p>And this is the caller:</p>\n<pre><code>result, candidates = [], [self]\nwhile candidates:\n node = candidates.pop()\n distance = node._get_dist(obj)\n if distance <= max_dist and distance >= min_dist:\n result.extend(node._values)\n candidates.extend(node._get_child_candidates(distance, min_dist, max_dist))\nreturn result\n</code></pre>\n<p>What happens when the method <code>_get_child_candidates</code> is called?\nIs a list returned? A single element? Is it called again? When will subsequent calls stop?</p>\n\n<hr />\n<sub>\n1. This piece of code was written by Jochen Schulz (jrschulz), who made a great Python library for metric spaces. This is the link to the complete source: <a href=\"https://well-adjusted.de/~jrspieker/mspace/\" rel=\"noreferrer\">Module mspace</a>.</sub> \n"}
π° Pricing
| Event | Price (USD) | When it is charged |
|---|---|---|
Actor Start (apify-actor-start) | $5e-05 | Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). |
Question record (apify-default-dataset-item) | $0.02 | Single result in the default dataset. |
Pay-per-event: you pay only for what the run delivers. A run that delivers nothing bills no result events (only the actor-start event, when the actor defines one). Example: a run that delivers 100 results costs 100 Γ $0.02 = $2.00 plus the start fee.
π Related Actors
More from the NexGenData Social, video & reviews family:
- Podcast Episodes Scraper β Episode Metadata API
- RAG Web Browser β Web Content for AI & LLMs
- Review Intelligence to Notion β Cross-Platform Review Feed API
- Universal Video Extractor β Any URL to Downloadable Video
- WCAG 2.2 Accessibility Auditor β Bulk axe-core
- YouTube Comments Scraper β Video Comment API
6 more in this family on the NexGenData Store page.
π What you get
Clean JSON output (16 fields):
questionIdβ Question Idtitleβ Titleurlβ Urlscoreβ ScoreviewCountβ View CountanswerCountβ Answer CountisAnsweredβ Is AnsweredacceptedAnswerIdβ Accepted Answer Id
Pricing: $0.020 per question (Pay-Per-Event) β about 50 questions per $1.
π€ Use with AI agents
Point Claude, the OpenAI Agents SDK, an n8n flow or any MCP-aware client at it.
Sample agent prompt:
Run StackOverflow Scraper on my input and return the structured results.
Agentic payments (x402): Supports agentic payment via x402 β call this actor with USDC, no API key required.
A NexGenData utility actor.