Stack Exchange Questions Scraper avatar

Stack Exchange Questions Scraper

Pricing

from $2.99 / 1,000 results

Go to Apify Store
Stack Exchange Questions Scraper

Stack Exchange Questions Scraper

Collect questions from any Stack Exchange site with customizable tags and sort orders, exporting clean JSON, CSV, or Excel datasets.

Pricing

from $2.99 / 1,000 results

Rating

0.0

(0)

Developer

B2B Lead Generation

B2B Lead Generation

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Stack Exchange Questions Scraper cover

Collect questions from Stack Overflow and other Stack Exchange communities with Stack Exchange Questions Scraper. Choose a site, add optional tags, and select a sorting order to retrieve structured question data, including titles, links, scores, views, answer counts, and owner information. Export your results as JSON, CSV, or Excel.

What This Actor Does

This actor collects questions from your selected Stack Exchange site and returns structured records containing question details and metadata.

You can filter questions by tags and sort them by supported criteria. Duplicate question IDs are skipped, and unsuccessful requests are recorded as error rows so the run can continue.

Questions Mode

Questions: Collect questions from a selected Stack Exchange community, such as stackoverflow, with optional tag filters and sorting preferences.

Input Example

{
"mode": "questions",
"site": "stackoverflow",
"sort": "activity",
"maxItems": 50,
"requestDelayMs": 1000
}

Input Parameters

ParameterDescription
modeCollection mode. Use questions.
siteStack Exchange site to collect questions from, such as stackoverflow.
sortSorting order for questions. The example uses activity.
maxItemsMaximum number of question records to collect.
requestDelayMsDelay between requests, in milliseconds.

Optional tag filtering is supported. Tags can be supplied as a semicolon-separated list.

Output Example

{
"question_id": 80009365,
"questionTitle": "Do you think that creating a Java Compiler Plugin and using AntLR to handle operations on values having units of measure could be a correct choice?",
"link": "https://stackoverflow.com/questions/80009365/do-you-think-that-creating-a-java-compiler-plugin-and-using-antlr-to-handle-oper",
"tags": [
"advice",
"java",
"compilation"
],
"score": 0,
"view_count": 23,
"answer_count": 1,
"is_answered": true,
"creation_date": 1791777684,
"owner": "Marc Le Bihan",
"site": "stackoverflow",
"scrapedAt": "2026-10-26T00:00:00+00:00"
}

Output Fields

FieldDescription
question_idUnique identifier of the question.
questionTitleTitle of the question.
linkURL of the question page.
tagsTags associated with the question.
scoreQuestion score.
view_countNumber of question views.
answer_countNumber of answers.
is_answeredIndicates whether the question has an accepted answer.
creation_dateQuestion creation timestamp.
ownerQuestion owner's display name when available.
siteStack Exchange site where the question was posted.
scrapedAtTimestamp when the record was collected.

Use Cases

  • Community Research: Collect questions from Stack Overflow and other Stack Exchange communities for research and analysis.
  • Tag Monitoring: Track questions associated with specific technologies, programming languages, or topics.
  • Trend Analysis: Compare question activity, scores, views, and answer counts over time.
  • Developer Dashboards: Use question links and metadata in monitoring dashboards and reporting tools.
  • Dataset Creation: Build structured question datasets for analysis, categorization, and other workflows.

FAQ

Which Stack Exchange sites can I collect questions from?

You can specify a Stack Exchange site using the site parameter, such as stackoverflow.

Can I filter questions by tags?

Yes. You can provide optional tags to collect questions related to selected topics.

What information is included in each result?

Each record can include the question title, URL, tags, score, view count, answer count, creation date, owner, and site name.

Can I export the collected questions?

Yes. Apify supports exporting dataset records as JSON, CSV, Excel, and other available formats.

Can I schedule automatic collections?

Yes. Configure an Apify schedule to run the actor automatically at your preferred intervals.

Trademark Notice

Stack Exchange, Stack Overflow, and their related names and trademarks belong to their respective owners. This actor is an independent tool and does not imply affiliation, sponsorship, or endorsement.

This actor collects publicly accessible Stack Exchange question information without bypassing login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and the source website's policies.

  • Personal Data: Question records may include contributor display names and other information that could identify individuals. Follow applicable privacy laws, including GDPR and CCPA where relevant.
  • Copyright and Licensing: Stack Exchange contributions are commonly distributed under Creative Commons licensing, including CC BY-SA. Check the licence applicable to the content and provide required attribution when reusing it.
  • Platform Terms and Rate Limits: Respect Stack Exchange's usage policies, licensing conditions, attribution requirements, and request restrictions.
  • Disclaimer: This information is general guidance, not legal advice. Consult a qualified professional about your intended use.

For more information, read Apify's guide: Is web scraping legal?