# Stack Overflow Questions API – Tags & Scores (`fluyeporlaweb/stack-exchange-questions-scraper`) Actor

Search Stack Exchange / Stack Overflow questions via API: title, tags, score, answers, link. No owner names. Attribution required.

- **URL**: https://apify.com/fluyeporlaweb/stack-exchange-questions-scraper.md
- **Developed by:** [Pablo Navarro](https://apify.com/fluyeporlaweb) (community)
- **Categories:** Developer tools, AI, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 questions

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Stack Overflow Questions API – Tags & Scores

**Stack Exchange questions scraper** that uses the **official Stack Exchange API** to return **question title, tags, score, answer/view counts and link** for Stack Overflow (or another SE site). Owner/user profiles are omitted.

### What does it do?

- Question ID, title and tags.
- Score, answer count, view count, is_answered.
- Creation date (UTC) and link.
- No owner display names or user IDs.

### Use cases

- **Developer trend research**: what tags are hot.
- **AI agents**: find canonical Q\&A links for a topic.
- **Content / SEO**: discover questions to answer on your blog.
- **Support ops**: monitor tags related to your product.

### Input

| Field | Description |
|---|---|
| `site` | API site parameter. Example: stackoverflow, askubuntu |
| `tagged` | Semicolon-separated tags. Example: python;asyncio |
| `query` | Optional intitle filter. Example: rate limit |
| `maxItems` | Example: 50 |

Example input:

```json
{
  "site": "stackoverflow",
  "tagged": "python;asyncio",
  "query": "",
  "maxItems": 25
}
```

### Output

Real output (first items of a run on 26 Oct 2026):

```json
[
  {
    "questionId": 80010603,
    "title": "Nested asyncio.timeout(): both expired() return True, how to tell which one raised?",
    "tags": [
      "python",
      "python-asyncio"
    ],
    "score": 2,
    "answerCount": 1,
    "viewCount": 380,
    "isAnswered": true,
    "creationDate": "2026-10-16T17:28:31+00:00",
    "link": "https://stackoverflow.com/questions/80010603/nested-asyncio-timeout-both-expired-return-true-how-to-tell-which-one-rais",
    "source": "Stack Exchange / stackoverflow"
  },
  {
    "questionId": 76328904,
    "title": "Is there a difference between Starlette/FastAPI Background Tasks and simply using multiprocessing in Python?",
    "tags": [
      "python",
      "multiprocessing",
      "python-asyncio",
      "fastapi"
    ],
    "score": 10,
    "answerCount": 2,
    "viewCount": 9394,
    "isAnswered": true,
    "creationDate": "2023-05-25T04:17:53+00:00",
    "link": "https://stackoverflow.com/questions/76328904/is-there-a-difference-between-starlette-fastapi-background-tasks-and-simply-usin",
    "source": "Stack Exchange / stackoverflow"
  }
]
```

Export the results as JSON, CSV or Excel, read them through the API, or send them to Google Sheets, Make, Zapier, n8n or webhooks. You can also run this Actor from AI agents through the Apify MCP server.

### Pricing

Pay per event: **$3.00 per 1,000 questions** plus $0.00005 per run start. There is no extra platform usage charge.

### FAQ

**Attribution?** Required by Stack Exchange API terms and CC BY-SA. Keep the link and credit Stack Exchange / the site.

**API key?** Not required for modest quotas; the Actor uses the public filter without a key.

**Why no usernames?** Avoid personal data in the dataset.

**Do I need a login or API key?** No. It uses the source's public API; you only need an Apify account.

**Can AI agents use it?** Yes. Call it through the Apify API, or from Claude, Cursor or any MCP client via the Apify MCP server.

### Data source and license

Source: [Stack Exchange API](https://api.stackexchange.com/). Content is [CC BY-SA](https://stackoverflow.com/help/licensing). [API Terms](https://stackoverflow.com/legal/api-terms-of-use): applications "must ensure they visually indicate that the Stack Exchange Network is the source of the content". Not affiliated with Stack Exchange Inc.

This Actor is not affiliated with or endorsed by the data source. You are responsible for using the data in line with the source's license and terms.

# Actor input Schema

## `site` (type: `string`):

API site parameter. Example: stackoverflow, askubuntu

## `tagged` (type: `string`):

Semicolon-separated tags. Example: python;asyncio

## `query` (type: `string`):

Optional intitle filter. Example: rate limit

## `maxItems` (type: `integer`):

Example: 50

## Actor input object example

```json
{
  "site": "stackoverflow",
  "maxItems": 50
}
```

# Actor output Schema

## `items` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("fluyeporlaweb/stack-exchange-questions-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("fluyeporlaweb/stack-exchange-questions-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call fluyeporlaweb/stack-exchange-questions-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fluyeporlaweb/stack-exchange-questions-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dTg0bUV09j48a3MNa/builds/Jws0mjWa0mSA5QKWc/openapi.json
