Stack Overflow & Stack Exchange Questions Scraper avatar

Stack Overflow & Stack Exchange Questions Scraper

Pricing

Pay per usage

Go to Apify Store
Stack Overflow & Stack Exchange Questions Scraper

Stack Overflow & Stack Exchange Questions Scraper

Questions from Stack Overflow and the Stack Exchange network via the official API: title, tags, score, views, answers, author and link. No login, no API key.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Hussain Ali

Hussain Ali

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Features

Limited permissions

Share

Export questions from Stack Overflow and the wider Stack Exchange network to JSON, CSV, Excel or Google Sheets: title, tags, score, views, answer count, accepted-answer flag, asker and the canonical URL.

  • Uses the official Stack Exchange API 2.3. No login, no API key, no proxies, no browser.
  • Works on any site in the network: Stack Overflow, Super User, Ask Ubuntu, Server Fault, Software Engineering, Data Science, Mathematics and the rest.
  • Filter by tags, date window, minimum score, search text, and whether the question has answers.
  • Optional full question body (plain text), plus a short excerpt. Each row includes the CC BY-SA license so you can attribute correctly.

What can you use it for?

  • Developer content and SEO: find frequently asked, high-score questions in a tag to plan tutorials or docs.
  • Support and product research: see what users struggle with in your ecosystem (tagged: nextjs, fastapi, kubernetes).
  • Community and DevRel monitoring: a scheduled feed of new questions in your tags, sent to Slack or Sheets.
  • Trend research: compare volume and scores for a topic week by week.
  • Lead signals: active askers in a niche (use profile links responsibly; do not spam).

Input

FieldTypeDefaultDescription
sitestringstackoverflowSite slug, e.g. stackoverflow, askubuntu, datascience.
taggedstring list[]Keep questions that have all of these tags.
querystringOptional full-text search.
sortselectcreationcreation, activity, votes, hot, week, month.
daysBackinteger7Only questions created in the last N days. 0 means no date filter. Ignored for hot / week / month.
minScoreinteger0Skip questions below this score.
answeredselectanyany, has_answers or accepted.
includeBodybooleanfalseAlso store the full question body as plain text.
maxItemsinteger50Stop after this many questions (up to 5,000).

Example input: new Python questions this week

{ "site": "stackoverflow", "tagged": ["python"], "daysBack": 7, "sort": "creation", "maxItems": 200 }

Example input: highest-voted Rust questions with an accepted answer

{ "site": "stackoverflow", "tagged": ["rust"], "sort": "votes", "answered": "accepted", "daysBack": 365, "minScore": 5, "maxItems": 100 }

Example input: Data Science site, hot this week

{ "site": "datascience", "sort": "week", "daysBack": 0, "includeBody": true, "maxItems": 50 }

Output

FieldDescription
site, questionIdSite slug and question id
title, tagsTitle and tags
score, viewCount, answerCountVotes, views and answers
isAnswered, acceptedAnswerIdAnswered state
ownerName, ownerReputation, ownerLinkAsker, as published on the site
createdAt, lastActivityAtTimestamps (UTC)
urlCanonical question link (required for attribution)
contentLicenseUsually CC BY-SA 4.0
excerptFirst 500 characters of the body as plain text
bodyFull plain-text body, only when includeBody is true

Example output item

{
"site": "stackoverflow",
"questionId": 80003077,
"title": "What does annotating a variable actually do in Python?",
"tags": ["python", "python-typing"],
"score": 25,
"viewCount": 1400,
"answerCount": 3,
"isAnswered": true,
"acceptedAnswerId": 80003101,
"ownerName": "Ada Lovelace",
"ownerReputation": 1234,
"ownerLink": "https://stackoverflow.com/users/1/ada-lovelace",
"createdAt": "2026-11-16T12:00:00.000Z",
"url": "https://stackoverflow.com/questions/80003077/what-does-annotating-a-variable-actually-do-in-python",
"contentLicense": "CC BY-SA 4.0",
"excerpt": "I keep seeing variable annotations in Python 3..."
}

FAQ

Do I need an API key? No. The actor uses the public unauthenticated quota (300 requests per day per IP, 100 results per request). That is enough for typical runs. If you hit the cap, wait for the daily reset or reduce maxItems.

Which sites work? Any site on the Stack Exchange network. Use the slug from the site's hostname (stackoverflow, askubuntu, serverfault, math, apple, ...).

How should I credit the data? Stack Exchange content is licensed under CC BY-SA. When you republish it, attribute the author and link to the original question. Each row already has url, ownerName and contentLicense.

Can I get answers too? This actor exports questions (and the optional question body). Use acceptedAnswerId and the question URL to follow up if you need the accepted answer.

Can I schedule it? Yes. Run it daily with daysBack: 1 and send new questions to Google Sheets, Slack or a webhook.