# Monitor new Stack Overflow questions in a tag

**Use case:** 

Gets the newest Stack Overflow questions in a tag that do not have an accepted answer yet, through the official Stack Exchange API. Each question has the title, link, tags, score, views, answer count, author and reputation, creation date and the question text. Schedule it hourly and send new questions to Slack or your support queue.

## Input

```json
{
  "mode": "tags",
  "site": "stackoverflow",
  "tags": [
    "fastapi"
  ],
  "tagMatch": "any",
  "sort": "creation",
  "maxQuestionsPerQuery": 20,
  "includeAnswers": false,
  "maxAnswersPerQuestion": 1,
  "includeComments": false,
  "outputMode": "nested",
  "acceptedAnswer": "no",
  "closedStatus": "any",
  "maxQuestions": 0,
  "maxPagesPerQuery": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "siteName": {
    "label": "Site",
    "format": "text"
  },
  "questionId": {
    "label": "ID",
    "format": "number"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "link": {
    "label": "Link",
    "format": "link"
  },
  "tags": {
    "label": "Tags",
    "format": "array"
  },
  "score": {
    "label": "Score",
    "format": "number"
  },
  "viewCount": {
    "label": "Views",
    "format": "number"
  },
  "answerCount": {
    "label": "Answers",
    "format": "number"
  },
  "isAnswered": {
    "label": "Answered",
    "format": "boolean"
  },
  "acceptedAnswerId": {
    "label": "Accepted answer",
    "format": "number"
  },
  "owner.displayName": {
    "label": "Author",
    "format": "text"
  },
  "owner.reputation": {
    "label": "Reputation",
    "format": "number"
  },
  "creationDate": {
    "label": "Asked",
    "format": "date"
  },
  "lastActivityDate": {
    "label": "Last activity",
    "format": "date"
  },
  "bodyText": {
    "label": "Body (text)",
    "format": "text"
  },
  "answersIncluded": {
    "label": "Answers included",
    "format": "number"
  },
  "contentLicense": {
    "label": "License",
    "format": "text"
  },
  "query": {
    "label": "Query",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Stack Overflow Scraper: Questions, Answers and Comments Actor is ready to run with the inputs already set for "Monitor new Stack Overflow questions in a tag". [Sign up or log in](https://console.apify.com/create-task-from-example/gWTurkv3VH9BeVxju) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Monitor new Stack Overflow questions in a tag" task

The Stack Overflow Scraper: Questions, Answers and Comments Actor will start running based on the input automatically. You can also change all the input fields, like what to scrape, site, and more, to match your specific use case.

### 3. Receive the "Monitor new Stack Overflow questions in a tag" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as site, ID, title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Monitor new Stack Overflow questions in a tag" task via API](https://apify.com/zhtech/stack-overflow-scraper.md).

## FAQ

### What does the new Stack Overflow questions monitor task return?

The new Stack Overflow questions monitor task returns one row per question with title, link, tags, score, views, answer count, accepted answer flag, author name and reputation, creation date, body text and license.

### How do I watch my own library or product tag?

Replace fastapi in the Tags field of the new Stack Overflow questions monitor task with your tags, or change Site to another Stack Exchange site such as superuser or askubuntu. Add an Asked on or after date for scheduled runs.

### Can I run the new Stack Overflow questions monitor task on a schedule or through the API?

Save the new Stack Overflow questions monitor task to your Apify account, then add it to an Apify Schedule (for example daily) or start it from the Apify API, webhooks, Zapier, Make, n8n or the Apify MCP server for AI agents.

### How much does the new Stack Overflow questions monitor task cost?

The new Stack Overflow questions monitor task is pay per event: a small start fee per run plus a fee per question saved. Error rows, filtered questions and duplicates are free. Prices are on the Pricing tab.

## About this Actor

This example demonstrates how to use [Stack Overflow Scraper: Questions, Answers and Comments](https://apify.com/zhtech/stack-overflow-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhtech/stack-overflow-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zhtech/stack-overflow-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
