# Reddit User Scraper (`scrapingdino/reddit-user-scraper`) Actor

All-in-one Reddit user export — profile, overview, posts, and optional comments in one run. Built for complete user dossiers in your database. $0.50 per 1,000 rows.

- **URL**: https://apify.com/scrapingdino/reddit-user-scraper.md
- **Developed by:** [Scraping Dino](https://apify.com/scrapingdino) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Reddit User Scraper - Profile, Stats, Overview, Posts & Comments

### Overview

The **Reddit User Scraper** is an all-in-one Reddit user intelligence tool. For each username it can collect profile metadata, engagement stats, overview activity, submitted posts, and comments — then emit type-tagged JSON rows for flexible downstream filtering.

Built for OSINT workflows, growth and research teams, and developers who want one actor instead of wiring profile + posts + comments scrapers separately. Toggle each section on or off to control cost and runtime while still receiving **clean, structured JSON**.

Accepts plain names, `u/` / `@` prefixes, and profile URLs. Concurrent workers process multiple users efficiently.

### Features

- Multi-username runs with concurrent workers
- Optional modules: profile, stats, overview, posts, comments
- Overview sort: `new`, `hot`, `top`, `controversial`
- Configurable activity `maxResults` (1–100, default 25)
- Type-tagged rows: `profile`, `overview`, `post`, `comment`, `error`
- Profile fields: karma, bio, avatar, verification, mod/gold/employee flags
- Absolute permalinks for posts and comments
- Resilient per-user error rows

### Use Cases

- **Sales intelligence** — Enrich accounts with Reddit reputation and topics
- **Recruitment** — Review public writing across posts and comments
- **Competitor analysis** — Full dossiers on rival founders or employees
- **Brand monitoring** — Watchlist key voices with posts + comments
- **Lead generation** — Qualify social proof before outreach
- **AI training datasets** — Author-linked multimodal Reddit activity
- **Academic research** — Holistic user-level datasets
- **Business intelligence** — Maintain living profiles of industry voices

### Input

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `usernames` | array of strings | **Yes** | — | Usernames, `u/` handles, or profile URLs. |
| `includeProfile` | boolean | No | `true` | Karma, avatar, bio, account flags. |
| `includeStats` | boolean | No | `true` | Aggregated activity/engagement stats. |
| `includeOverview` | boolean | No | `true` | Mixed recent posts and comments. |
| `overviewSort` | string | No | `"new"` | Overview sort: `new`, `hot`, `top`, `controversial`. |
| `includePosts` | boolean | No | `true` | Submitted posts. |
| `includeComments` | boolean | No | `false` | User comments. |
| `maxResults` | integer | No | `25` | Max overview/posts/comments items (1–100). |

**How parameters affect the run:** Each enabled module adds API calls. `includeComments` is off by default to keep runs cheaper. `maxResults` caps activity listings (hard max 100).

#### Example input

```json
{
  "usernames": ["spez"],
  "includeProfile": true,
  "includeStats": true,
  "includeOverview": true,
  "overviewSort": "new",
  "includePosts": true,
  "includeComments": true,
  "maxResults": 25
}
```

### Output

#### Profile rows (`type: "profile"`)

| Field | Type | Description |
|---|---|---|
| `type` | string | `"profile"` |
| `username` | string | Username |
| `id` | string | null | User ID |
| `createdUtc` | number | string | null | Created |
| `title` | string | null | Profile title |
| `bio` | string | null | Bio |
| `avatar` | string | null | Avatar URL |
| `totalKarma` | number | null | Total karma |
| `linkKarma` | number | null | Link karma |
| `commentKarma` | number | null | Comment karma |
| `verified` | boolean | null | Verified / email verified signal |
| `isGold` | boolean | null | Premium/gold |
| `isMod` | boolean | null | Moderator |
| `isEmployee` | boolean | null | Employee |
| `nsfw` | boolean | null | NSFW profile |
| `url` | string | null | Profile URL |
| `stats` | object | Optional stats payload when `includeStats` succeeds |
| `statsError` | string | Present if stats fetch failed |

#### Activity rows (`overview` / `post` / `comment`)

| Field | Type | Description |
|---|---|---|
| `type` | string | `"overview"`, `"post"`, or `"comment"` |
| `username` | string | Username |
| `id` | string | null | Item ID |
| `title` | string | null | Title |
| `author` | string | null | Author |
| `subreddit` | string | null | Subreddit |
| `score` | number | null | Score |
| `numComments` | number | null | Comments (posts) |
| `createdUtc` | number | string | null | Created |
| `permalink` | string | null | Absolute permalink |
| `postUrl` | string | null | Absolute post URL when resolvable |
| `url` | string | null | URL |
| `body` | string | null | Text excerpt |
| `raw` | object | Optional raw item |

### Example Output

```json
[
  {
    "type": "profile",
    "username": "spez",
    "id": "1w72",
    "createdUtc": 1118030400,
    "title": "u/spez",
    "bio": "CEO @ Reddit",
    "avatar": "https://styles.redditmedia.com/.../profileIcon.png",
    "totalKarma": 1852341,
    "linkKarma": 412890,
    "commentKarma": 1381200,
    "verified": true,
    "isGold": true,
    "isMod": true,
    "isEmployee": true,
    "nsfw": false,
    "url": "https://www.reddit.com/user/spez/",
    "stats": {
      "total_posts": 420,
      "total_comments": 12800
    }
  },
  {
    "type": "post",
    "username": "spez",
    "id": "1ab9999",
    "title": "Updates on site reliability this quarter",
    "author": "spez",
    "subreddit": "announcements",
    "score": 22100,
    "numComments": 4300,
    "createdUtc": 1712000000,
    "permalink": "https://www.reddit.com/r/announcements/comments/1ab9999/updates_on_site_reliability_this_quarter/",
    "postUrl": "https://www.reddit.com/r/announcements/comments/1ab9999/updates_on_site_reliability_this_quarter/",
    "body": null
  }
]
```

### Related Scrapers

- **Reddit Profile Scraper** — Lightweight profile-only enrichment
- **Reddit User Posts Scraper** — Posts-only with top/time controls
- **Reddit User Comments Scraper** — Comments-only listings
- **Reddit User Post Rank Scraper** — Rank posts inside one subreddit
- **Reddit Search Scraper** — Discover users by keyword first

# Actor input Schema

## `usernames` (type: `array`):

One username per line. Accepts plain names, u/name, @name, or profile URLs.

## `includeProfile` (type: `boolean`):

Karma, avatar, bio, and account status.

## `includeStats` (type: `boolean`):

Aggregated activity and engagement stats.

## `includeOverview` (type: `boolean`):

Mixed recent posts and comments from the user's overview.

## `overviewSort` (type: `string`):

Sort order for overview activity.

## `includePosts` (type: `boolean`):

Submitted posts by the user.

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

Comments written by the user.

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

Maximum posts/comments to fetch.

## Actor input object example

```json
{
  "usernames": [
    "spez",
    "GoldenChrysus"
  ],
  "includeProfile": true,
  "includeStats": true,
  "includeOverview": true,
  "overviewSort": "new",
  "includePosts": true,
  "includeComments": false,
  "maxResults": 25
}
```

# Actor output Schema

## `profiles` (type: `string`):

One row per user — profile metadata and stats.

## `posts` (type: `string`):

One row per submitted post.

## `comments` (type: `string`):

One row per comment. Empty when Comments is disabled.

## `overview` (type: `string`):

One row per overview activity item (mixed posts and comments).

## `all` (type: `string`):

Combined dataset with every record from Profiles, Posts, Comments, and Overview.

# 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 = {
    "usernames": [
        "spez",
        "GoldenChrysus"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapingdino/reddit-user-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 = { "usernames": [
        "spez",
        "GoldenChrysus",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrapingdino/reddit-user-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 '{
  "usernames": [
    "spez",
    "GoldenChrysus"
  ]
}' |
apify call scrapingdino/reddit-user-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapingdino/reddit-user-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/n2qrOQLbAHkJ7lXnS/builds/kuHvQSfpGTctoxdzS/openapi.json
