# Stack Overflow Intelligence Pro (`red.cars/stackoverflow-academic-research-exporter`) Actor

Professional Stack Overflow technical data extraction for academic research, market intelligence, and AI training. High-quality Q\&A datasets with 15+ years of historical coverage.

- **URL**: https://apify.com/red.cars/stackoverflow-academic-research-exporter.md
- **Developed by:** [AutomateLab](https://apify.com/red.cars) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 6 total users, 0 monthly users, 92.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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 Intelligence Pro

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-blue?logo=apify)](https://apify.com/red.cars/stackoverflow-academic-research-exporter)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

> Professional Stack Overflow technical data extraction for academic research, market intelligence, and AI training

### Description

Professional Stack Overflow technical data extraction for academic research, market intelligence, and AI training. High-quality Q\&A datasets with 15+ years of historical coverage.

### Features

📌 Status
🧠 Context
\[2026-03-12] — outputSchema description added (spec-005)

### How It Works

This actor uses intelligent extraction with Apify's proxy infrastructure to gather public data from Stack Overflow Intelligence Pro. It handles authentication, pagination, and error recovery automatically.

### Quick Start

```bash
## Run via Apify API
apify run -a red.cars/stackoverflow-academic-research-exporter

## Or configure input and click Run on:
## https://apify.com/red.cars/stackoverflow-academic-research-exporter
```

#### Using as an MCP Tool

#### Running on Apify Platform

Set `APIFY_API_KEY` in your Apify Console secrets, configure input via the Actor input schema UI, and click **Run**.

### Input Schema

| Parameter | Type | Description | Default |
|-----------|------|-------------|---------|
| `exportType` | string | Type of export to perform<br>Options: `research` | research |
| `tags` | array | Stack Overflow tags to export data for (e.g., 'python', 'machine-learning', 'javascript') |  |
| `queries` | array | Search terms to find relevant questions (e.g., 'neural networks', 'deep learning') |  |
| `maxQuestions` | integer | Maximum number of questions to export | 5 |
| `proxyType` | string | Choose your preferred balance of cost vs reliability. Standard (Datacenter) is faster; Premium (Residential) is most reliable for high-security targets.<br>Options: `DATACENTER`, `RESIDENTIAL` | DATACENTER |
| `debugMode` | boolean | Enable minimal extraction for health checks and testing. Guarantees success within 300s. | false |
| `includeAnswers` | boolean | Include answers for each question | true |
| `format` | string | Export format for the data<br>Options: `json`, `csv`, `markdown` | json |
| `checkOnly` | boolean | When true, returns immediately with capability metadata without scraping. Used by AI agents to verify availability before committing to a paid run. Free, <5 seconds. | false |

### Output Schema

| Field | Type | Description |
|-------|------|-------------|
| `results` | string | Stack Overflow questions, answers, and developer profiles. Each result contains: type, id, title, url, content, author (username, reputation), score, viewCount, answerCount, tags, acceptedAnswer, cleanMarkdown. Use for developer research, technology adoption analysis, technical documentation intelligence, academic citation. AI agents: search by tags array, score threshold, or keyword. |

### Example Output

```json
{
  "results": [
    {
      "url": "https://example.com/profile",
      "username": "example_user",
      "fullName": "Example User",
      "followersCount": 10000,
      "followingCount": 500,
      "postsCount": 250,
      "isVerified": false,
      "biography": "Example bio text",
      "latestPosts": [],
      "scrapedAt": "2026-03-23T13:24:24.728Z"
    }
  ]
}
```

### Pricing

### Use Cases

- **Influencer Research**: Identify and evaluate potential influencers by engagement metrics and audience quality
- **Competitor Monitoring**: Track competitor presence and activity on Target Platform
- **Lead Generation**: Build targeted lead lists from public profiles and contact information
- **Market Intelligence**: Gather market intelligence and trend data for business decisions
- **Content Aggregation**: Collect content for analysis, archiving, or republication

### FAQ

#### Do I need an API key?

No, this actor does not require an API key. It uses Apify proxy infrastructure for reliable extraction.

#### How does pricing work?

This actor uses Apify's Pay-Per-Event model. You are charged per successful result returned. No charge for queries that return zero results.

#### What are the rate limits?

Rate limits depend on your Apify plan. Higher-tier plans provide more compute units and faster extraction.

#### How do I increase success rate?

- Enable **Premium (Residential)** proxy for high-security targets
- Reduce concurrency for rate-limited profiles
- Use debug mode to test before full extraction

#### Can I run this on a schedule?

Yes, use Apify Scheduler to run this actor on a cron schedule for continuous monitoring.

#### How do I export to CRM?

Set `exportFormat` to `salesforce` or `hubspot` for direct CRM import format.

### Troubleshooting

| Error | Cause | Fix |
|-------|-------|-----|
| NETWORK_ERROR | Network connectivity issue | Check internet connection, retry with proxy |
| VALIDATION_ERROR | Invalid input parameters | Review input schema and retry |

### Known Limitations

- **Private accounts**: Cannot extract data from private accounts without following
- **Rate limiting**: Platform may temporarily block repeated requests from same IP
- **Data freshness**: Extracted data reflects moment of extraction; historical data may be limited
- **Proxy requirements**: High-security targets may require residential proxy for reliable extraction
- **Content limits**: Platform-imposed limits on historical post retrieval

### Legal

**Data Source**: the target platform (the target platform.com)

**Terms of Service**: This actor is provided for legitimate data collection purposes only. Users must comply with the target platform's Terms of Service and applicable laws. Red.cars is not responsible for misuse of this tool.

**Privacy**: All extracted data is processed in accordance with applicable privacy laws. Do not use this tool for unauthorized data collection or privacy-violating activities.

**Attribution**: When using the target platform data, comply with their attribution requirements and data policies.

***

*red.cars Intelligence Fleet • [apify.com/red.cars](https://apify.com/red.cars)*

# Actor input Schema

## `exportType` (type: `string`):

Type of data export to perform

## `tags` (type: `array`):

StackOverflow tags to analyze (e.g., 'javascript', 'python', 'react')

## `queries` (type: `array`):

Search terms for finding specific questions and discussions

## `dateRange` (type: `object`):

Filter results by date range

## `maxQuestions` (type: `integer`):

Maximum number of questions to extract

## `includeAnswers` (type: `boolean`):

Extract answers along with questions

## `includeComments` (type: `boolean`):

Extract comments on questions and answers

## `format` (type: `string`):

Data export format

## `maxResults` (type: `integer`):

Maximum total number of items to extract across all queries

## `proxyType` (type: `string`):

Choose your preferred balance of cost vs reliability. You control proxy costs from your Apify plan.

## Actor input object example

```json
{
  "exportType": "research",
  "tags": [
    "javascript",
    "python",
    "react"
  ],
  "queries": [
    "senior developer",
    "full stack engineer"
  ],
  "maxQuestions": 10,
  "includeAnswers": true,
  "includeComments": false,
  "format": "json",
  "maxResults": 50,
  "proxyType": "DATACENTER"
}
```

# Actor output Schema

## `results` (type: `string`):

Stack Overflow questions, answers, and developer profiles. Each result contains: type, id, title, url, content, author (username, reputation), score, viewCount, answerCount, tags, acceptedAnswer, cleanMarkdown. Use for developer research, technology adoption analysis, technical documentation intelligence, academic citation. AI agents: search by tags array, score threshold, or keyword.

# 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("red.cars/stackoverflow-academic-research-exporter").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("red.cars/stackoverflow-academic-research-exporter").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 red.cars/stackoverflow-academic-research-exporter --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,red.cars/stackoverflow-academic-research-exporter"
        }
    }
}
```

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/J6neHoXK8u2v9MxZB/builds/dhHfgMUx7HfkYfgFV/openapi.json
