# Reddit Scraper: Posts, Comments, Users, Search & Monitor (`alexmorain/reddit-scraper`) Actor

Reddit posts, comments and user profiles without an account or cookies. Search, subreddit feeds, full comment trees, user history, new-only monitoring and webhook. From $0.40 per 1,000 rows.

- **URL**: https://apify.com/alexmorain/reddit-scraper.md
- **Developed by:** [Alexis Morain](https://apify.com/alexmorain) (community)
- **Categories:** Social media, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 reddit posts

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

### What does Reddit Scraper do?

**Reddit Scraper** collects public Reddit data and returns it as clean rows: **posts from a search**, **subreddit feeds** (hot, new or top), **posts with their full comment tree**, and **user profiles with their posts and comments**. You need **no Reddit account, no cookies and no API key**: paste search terms, subreddits, post links or usernames and click Start.

Reddit now blocks most automated access: logged-out pages show a "Prove your humanity" check, old.reddit asks for an account, and the `.json` and RSS endpoints are blocked for automated clients. This actor keeps working because it does not depend on those pages. It also goes further than one Reddit search: a single search stops at a few hundred posts, and the **Go past the ~500 results per search** option reads each term over several time windows and sorts and merges them without duplicates. On `coffee maker`, one search returned 278 posts; with the option on, the same term returned 998 distinct posts before reaching a $1 cost limit.

What it does not do: it does not log in, does not read private or quarantined communities, does not read direct messages or chat, and does not download images or videos (you get the links).

### Why use Reddit Scraper?

Reddit is where people ask for product recommendations, compare tools, complain about vendors and describe their problems in their own words. That makes it one of the best sources for:

- **Brand and competitor monitoring**: search your brand, a competitor or a product category, and get every new mention on a schedule with the watch mode and a webhook.
- **Lead and intent signals**: find posts where people ask "what tool should I use for...", with the subreddit, score and comment count to judge reach.
- **Market and product research**: read the top posts of a subreddit for the month or the year, then pull their comments to see objections, feature requests and wording.
- **Content ideas and SEO**: collect the questions a community keeps asking.
- **Sentiment and academic research**: build datasets of posts and comments by keyword, community, author or period.
- **User research**: read a user's profile (karma, account age) and history of posts and comments.

On Apify you also get scheduling, an API, integrations (Make, Zapier, n8n, Slack, Google Sheets), run history and monitoring, with no server to maintain.

### What data can Reddit Scraper extract?

Every row has a `type`: `post`, `comment` or `profile`.

| Field | Rows | Description |
|---|---|---|
| `type`, `id`, `url` | all | Row kind, Reddit id (no `t3_` prefix) and link on reddit.com |
| `title`, `text` | post, comment | Post title, post body or comment text (Markdown as written) |
| `subreddit`, `author` | post, comment | Community without `r/`, author username |
| `score`, `upvoteRatio`, `numComments` | post | Net score, share of upvotes, comment count announced by Reddit |
| `createdAt` | all | Creation date, UTC ISO 8601 |
| `linkUrl` | post | External or media link the post points to |
| `isNsfw`, `isVideo`, `isSpoiler` | post | Flags |
| `query` | post | The search term that found the post |
| `postId`, `postUrl`, `postTitle` | comment | The post a comment belongs to |
| `parentId`, `depth` | comment | Parent comment (null for a top-level comment) and level in the tree (0 = top level) |
| `username`, `bio`, `avatarUrl` | profile | Account name, bio and picture |
| `karma`, `postKarma`, `commentKarma` | profile | Karma totals |
| `totalPosts`, `totalComments`, `followers`, `trophies` | profile | Account counters |
| `isEmployee`, `isVerified` | profile | Reddit staff and verified flags |

A run also writes a `SUMMARY` record: rows by kind, sources that were empty or could not be read, rows skipped as already seen, and why the run stopped.

### How to scrape Reddit

1. Pick a mode in **What to scrape**: *Search posts*, *Subreddit feeds*, *Posts with comments* or *Users*.
2. Fill the matching list: search terms (`coffee maker`, `title:espresso`, `"exact phrase"`), subreddits (`coffee`, `r/espresso` or a URL), post links (`https://www.reddit.com/r/.../comments/abc123/...` or `https://redd.it/abc123`) or usernames (`spez`, `u/spez`).
3. Choose the sort and time window, and tick **Also read the comments of the posts found** if you want the discussions too.
4. Set **Max rows per run** and **Max rows per search, subreddit or user**.
5. Click **Start**, then download the dataset as JSON, CSV or Excel, or read it by API.

A quick first run: leave the prefilled input (search `coffee maker`, 100 rows) and click Start. It returns 100 posts in about 25 seconds.

### How much will it cost to scrape Reddit?

You pay per row delivered, plus a small start fee. No monthly rental.

| Event | Free plan | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Actor start | $0.002 per GB of memory (default 256 MB runs pay one event) | | | |
| Post | $1.20 / 1,000 | $1.00 / 1,000 | $0.80 / 1,000 | $0.60 / 1,000 |
| Comment | $0.90 / 1,000 | $0.75 / 1,000 | $0.60 / 1,000 | $0.40 / 1,000 |
| Profile | $3.00 / 1,000 | $3.00 / 1,000 | $2.40 / 1,000 | $1.60 / 1,000 |

Never charged: sources that return nothing, a username that does not exist, comments Reddit no longer serves (deleted or removed), rows already delivered by an earlier run of the same watch, and rows already delivered before a platform restart. For example, 1,000 posts with 10,000 of their comments cost about $8.50 on the Bronze plan.

Set **Max rows per run** and the maximum cost per run before a large job: the actor stops cleanly at the limit and keeps what it delivered.

### Input

| Field | What it does |
|---|---|
| `mode` | `search`, `subreddits`, `posts` or `users` |
| `searches` | Search terms, one per line. Reddit operators work (`title:`, `author:`, `"exact phrase"`, `NOT`) |
| `searchSort`, `searchTime` | `relevance`, `new`, `top` or `comments`, over `all`, `year`, `month`, `week`, `day` or `hour` |
| `searchSubreddit` | Limit a search to one subreddit |
| `splitSearch` | Read each term over several windows and sorts to go past one search's limit |
| `subreddits`, `feedSort`, `feedTime` | Subreddit feeds, `hot`, `new` or `top` (with a time window) |
| `postUrls` | Posts to read with their comments |
| `users`, `userContent`, `includeProfile` | Users, `posts`, `comments` or `both`, and the profile row |
| `includeComments` | Also read the comments of the posts found by a search or a feed |
| `maxCommentsPerPost`, `maxCommentDepth`, `commentSort` | Comment limit per post, depth (1 = top level only), order (`best`, `top`, `new`, `old`) |
| `maxItems`, `maxItemsPerSource` | Limits for the whole run and for each search, subreddit or user |
| `newOnly`, `monitorName` | Deliver only rows never delivered before by this watch |
| `webhookUrl` | Receives a JSON summary of the run by `POST` |

### Output

A post:

```json
{
  "type": "post",
  "id": "1ssonek",
  "url": "https://www.reddit.com/r/espresso/comments/1ssonek/in_todays_market_what_espresso_grinder_would_you/",
  "linkUrl": null,
  "subreddit": "espresso",
  "title": "In today's market what espresso grinder would you buy ?",
  "author": "ObjectiveOpposite568",
  "text": "The market is rapidly changing and there's so many new grinders on the market...",
  "score": 21,
  "upvoteRatio": null,
  "numComments": 129,
  "createdAt": "2026-04-22T15:22:24Z",
  "isNsfw": false,
  "query": "espresso grinder"
}
```

A comment:

```json
{
  "type": "comment",
  "id": "ohp3k2a",
  "url": "https://www.reddit.com/r/espresso/comments/1ssonek/in_todays_market_what_espresso_grinder_would_you/ohp3k2a/",
  "postId": "1ssonek",
  "postUrl": "https://www.reddit.com/r/espresso/comments/1ssonek/in_todays_market_what_espresso_grinder_would_you/",
  "subreddit": "espresso",
  "parentId": null,
  "depth": 0,
  "author": "...",
  "text": "...",
  "score": 34,
  "createdAt": "2026-04-22T16:01:10Z"
}
```

#### Run it from code

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("alexmorain/reddit-scraper").call(run_input={
    "mode": "search",
    "searches": ["best crm for startups"],
    "searchSort": "new",
    "searchTime": "month",
    "includeComments": True,
    "maxCommentsPerPost": 50,
    "maxItems": 2000,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["type"], row.get("subreddit"), row.get("title") or row.get("text", "")[:80])
```

JavaScript:

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

const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('alexmorain/reddit-scraper').call({
    mode: 'subreddits',
    subreddits: ['coffee', 'espresso'],
    feedSort: 'top',
    feedTime: 'month',
    maxItemsPerSource: 200,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length);
```

cURL:

```bash
curl -X POST "https://api.apify.com/v2/acts/alexmorain~reddit-scraper/run-sync-get-dataset-items?token=<APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"mode": "posts", "postUrls": ["https://redd.it/1xqqaws"], "maxCommentsPerPost": 500}'
```

### Tips and advanced options

- **Monitoring**: tick **Only rows not seen in earlier runs**, give the watch a name (`brand-mentions`), schedule the run (hourly, daily) and add a webhook. The actor remembers, in a key-value store of your account, every post and comment it delivered for that watch, and never charges them again. For a post you follow, the comments are read again each run and only the new ones are delivered.
- **Search inside one community**: fill **Only in this subreddit**, or write `subreddit:coffee grinder` in the term.
- **Top of a subreddit for a period**: feed sort *Top* with a time window (day to all time).
- **Exact comment cuts**: with comment order *top*, *new* or *old*, the actor reads every comment it can reach before cutting to your limit, so you get the real top 100, not the first 100 served.
- **Shallow threads**: **Max comment depth** `1` keeps top-level comments only, `2` adds direct replies.
- **Many sources in one run**: put several searches, subreddits or users in the list; each has its own limit.

### Limits you should know

- **One search stops at a few hundred posts.** That is Reddit's own limit. Tick **Go past the ~500 results per search** to read the term over several windows and sorts (on `coffee maker`: 998 distinct posts against 278, and the run stopped only at its $1 cost limit). Very short or generic terms in `new` order can return loosely related posts, as on Reddit.
- **A subreddit feed lists about 1,000 posts at most**, as on Reddit. For older posts of a community, search inside it with a time window.
- **Comment trees are not always complete.** Reddit does not send deleted or removed comments, and a very large thread is served up to about 2,000 comments. On a normal thread you get about 80% of the count Reddit announces; the run status tells you when a post returned noticeably fewer comments than announced.
- **`upvoteRatio`, `isVideo` and `isSpoiler` are not available for every source** and may be `null`.
- **Public data only.** Private, quarantined or banned communities and suspended accounts return nothing, free of charge.
- **Free Apify plan**: runs on the free plan have a daily limit on this data source. Rows delivered before the limit are kept and charged; any paid Apify plan removes it.

### FAQ, disclaimers and support

#### Is it legal to scrape Reddit?

The actor reads only content Reddit shows publicly, without logging in. You remain responsible for how you use the data: respect privacy law (GDPR and others), Reddit's terms, and the rights of the authors, and avoid collecting personal data you do not need. Usernames are personal data in many jurisdictions.

#### Do I need a Reddit account, cookies or an API key?

No. No account, no cookies, no key, no proxy to configure.

#### Can I get all the comments of a post?

Yes: use *Posts with comments* mode, paste the post links and raise **Max comments per post**. Each comment has its `depth` and `parentId`, so you can rebuild the tree.

#### Can I monitor a keyword or a subreddit every day?

Yes. Turn on **Only rows not seen in earlier runs**, schedule the actor, and add a webhook to be notified with the counts when a run ends.

#### What happens if a run is interrupted or the platform restarts it?

Rows already delivered are not delivered or charged again after a restart, and the watch memory only records rows that were actually delivered.

#### How do I get help or ask for a feature?

Use the **Issues** tab of this Actor. For programmatic access, see the **API** tab.

### Guide and use cases

Use cases for outbound and automation, the output fields, pricing and common questions are on the [Reddit Scraper page](https://alexis.morain.fr/en/scrapers/reddit-scraper/) of my site. The [Social media and content family page](https://alexis.morain.fr/en/scrapers/families/social-content/) puts it side by side with the other scrapers of the same family.

# Actor input Schema

## `mode` (type: `string`):

<b>Search posts</b>: keywords across Reddit or inside one subreddit. <b>Subreddit feeds</b>: hot, new or top posts of one or more subreddits. <b>Posts with comments</b>: the post and its comment tree from post URLs. <b>Users</b>: profiles with their posts and comments. Fill the matching list below; the others are ignored.

## `searches` (type: `array`):

One search per line. Reddit search operators work inside a term (<code>title:espresso</code>, <code>author:spez</code>, <code>"exact phrase"</code>, <code>NOT</code>). Used in <b>Search posts</b> mode.

## `searchSort` (type: `string`):

Order of the results. <code>new</code> returns the newest posts that match, which may be loosely related for short terms.

## `searchTime` (type: `string`):

Only posts from this period.

## `searchSubreddit` (type: `string`):

A subreddit name such as <code>coffee</code> or <code>r/coffee</code>. Leave empty to search all of Reddit.

## `splitSearch` (type: `boolean`):

Reddit stops a single search at about 250 to 500 posts. When ticked, each term is also read over several time windows and sorts and the results are merged without duplicates (about 3 times more distinct posts on a broad term). Reading costs a few more requests, you only pay for the posts delivered.

## `subreddits` (type: `array`):

One per line: <code>coffee</code>, <code>r/coffee</code> or a subreddit URL. Used in <b>Subreddit feeds</b> mode.

## `feedSort` (type: `string`):

A feed lists about 1,000 posts at most (Reddit's own limit).

## `feedTime` (type: `string`):

Time window, used only when the feed sort is <b>Top</b>.

## `postUrls` (type: `array`):

One Reddit post URL per line (<code>https://www.reddit.com/r/.../comments/abc123/...</code> or <code>https://redd.it/abc123</code>). Used in <b>Posts with comments</b> mode.

## `users` (type: `array`):

One per line: <code>spez</code>, <code>u/spez</code> or a profile URL. Used in <b>Users</b> mode.

## `userContent` (type: `string`):

What to read for each user, besides the profile.

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

One profile row per user: karma, account age, bio, counts. Charged as a profile.

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

For <b>Search posts</b> and <b>Subreddit feeds</b>: read the comments of every post delivered, up to the limit below. Comments are charged as comments. <b>Posts with comments</b> mode always reads them.

## `maxCommentsPerPost` (type: `integer`):

Reddit serves roughly 2,000 comments of a very large thread (about 80% of the announced count on a normal thread: deleted and removed comments are not sent).

## `maxCommentDepth` (type: `integer`):

<code>1</code> keeps top-level comments only, <code>2</code> adds their replies, and so on. Empty keeps every level.

## `commentSort` (type: `string`):

With <b>top</b>, <b>new</b> or <b>old</b> the actor reads every comment it can reach before cutting to the limit, so the cut is exact.

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

Posts, comments and profiles together. The run stops there. Set it, and the maximum cost per run, before a large job.

## `maxItemsPerSource` (type: `integer`):

Limit for each search term, each subreddit, and each kind of user content.

## `newOnly` (type: `boolean`):

Skips every post and comment this watch already delivered, and does not charge them. The first run delivers everything. In <b>Posts with comments</b> mode the comments are read again each run and only the new ones are delivered.

## `monitorName` (type: `string`):

Lowercase letters, digits and dashes. One memory per name, kept in your account: use a name per watch (<code>brand-mentions</code>, <code>competitor-subs</code>).

## `webhookUrl` (type: `string`):

Optional. The run summary is sent there by POST when the run ends (Slack, Discord, Zapier...). The URL is never written to a log.

## Actor input object example

```json
{
  "mode": "search",
  "searches": [
    "coffee maker"
  ],
  "searchSort": "relevance",
  "searchTime": "all",
  "splitSearch": false,
  "feedSort": "hot",
  "feedTime": "week",
  "userContent": "both",
  "includeProfile": true,
  "includeComments": false,
  "maxCommentsPerPost": 100,
  "commentSort": "best",
  "maxItems": 100,
  "maxItemsPerSource": 100,
  "newOnly": false,
  "monitorName": "default"
}
```

# Actor output Schema

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

All rows in the default dataset.

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

Rows by kind, sources that were empty or could not be read, rows skipped as already seen, stop reason.

# 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 = {
    "searches": [
        "coffee maker"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("alexmorain/reddit-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 = { "searches": ["coffee maker"] }

# Run the Actor and wait for it to finish
run = client.actor("alexmorain/reddit-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 '{
  "searches": [
    "coffee maker"
  ]
}' |
apify call alexmorain/reddit-scraper --silent --output-dataset

```

## MCP server setup

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