Stack Overflow Scraper - Questions & Users avatar

Stack Overflow Scraper - Questions & Users

Pricing

from $2.00 / 1,000 question scrapeds

Go to Apify Store
Stack Overflow Scraper - Questions & Users

Stack Overflow Scraper - Questions & Users

Scrape Stack Overflow questions and users via the official Stack Exchange API. Get titles, scores, answers, views, tags, bodies, and user profiles. Works across all Stack Exchange sites.

Pricing

from $2.00 / 1,000 question scrapeds

Rating

0.0

(0)

Developer

Md Jakaria Mirza

Md Jakaria Mirza

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

2 days ago

Last modified

Share

Scrape Stack Overflow questions and users via the official Stack Exchange API - no login required. Get titles, scores, answer/view counts, tags, question bodies, and user profiles (reputation, badges, location). Search by keyword, filter by tag, fetch by ID, and works across all Stack Exchange sites. Export to JSON, CSV, Excel, or HTML, or pull via the Apify API.

Perfect for developer research, sentiment/trend analysis, tech support tooling, and recruiting.

Features

  • Official Stack Exchange API - accurate, structured data
  • Questions and users in one actor
  • Search, tag filter, or ID lookup
  • Any Stack Exchange site - Stack Overflow, Super User, Server Fault, Ask Ubuntu, etc.
  • Optional question bodies and user profiles (nested in a separate dataset)
  • Optional API key - 10,000 requests/day vs 300 without

Input

ParameterTypeDescriptionDefault
searchQueriesstring[]Keyword searches["async await"]
tagsstring[]Tag filters (e.g. "javascript")[]
questionIdsstring[]Specific question IDs[]
userIdsstring[]Specific user IDs (separate users dataset)[]
sortstringvotes, activity, creation, hotvotes
includeBodybooleanInclude full question bodyfalse
maxResultsintegerMax questions100
sitestringStack Exchange sitestackoverflow
apiKeystring (secret)Optional Stack Apps key
proxyConfigurationobjectProxy settingsApify Proxy

Example input

{
"searchQueries": ["memory leak"],
"tags": ["python"],
"sort": "votes",
"includeBody": true,
"maxResults": 200
}

Sample output

{
"questionId": 37576685,
"title": "Using async/await with a forEach loop",
"score": 3351,
"answerCount": 35,
"viewCount": 2476784,
"isAnswered": true,
"acceptedAnswerId": 37576787,
"tags": ["javascript", "node.js", "promise", "async-await"],
"ownerName": "Saad",
"ownerReputation": 54989,
"createdAt": "2016-06-01T18:55:58.000Z",
"lastActivityAt": "2025-01-28T01:27:13.000Z",
"link": "https://stackoverflow.com/questions/37576685/...",
"site": "stackoverflow",
"scrapedAt": "2026-06-11T10:00:00.000Z"
}

Pricing

This Actor uses pay-per-result pricing:

EventPrice
Per question scraped$0.002 ($2 / 1,000 questions)
Per user scraped$0.002 ($2 / 1,000 users)

You are only charged for items actually returned. Apify platform usage is billed separately by Apify.

How to Scrape Stack Overflow (Step by Step)

  1. Click Try for free / Run.
  2. Enter what you want: add searchQueries keywords, tags, questionIds, or userIds.
  3. Choose a sort order and set maxResults (start small to test), and optionally set site for another Stack Exchange community.
  4. Run the Actor (toggle includeBody if you need full question text).
  5. Export the results as JSON, CSV, Excel, or HTML, or pull them via the Apify API.

Use cases

  • Developer research - track popular questions, tags, and trends
  • Sentiment & topic analysis - feed titles/bodies into NLP pipelines
  • Support tooling - surface top Q&A for a technology
  • Recruiting - find high-reputation users in a domain

Tips

  • Questions and users are kept in separate datasets so each stays clean.
  • Add a free Stack Apps API key to lift the daily quota from 300 to 10,000 requests.
  • Set site to scrape other Stack Exchange communities (e.g. superuser, askubuntu).

License

Apache-2.0