# Reddit Scraper — Posts, Comments, Search & Brand Monitoring (`rp_openpro.ai/reddit-scraper`) Actor

Scrape Reddit posts and full comment threads by keyword, subreddit, user or URL. No login, API key or cookies. Monitor brand mentions and buying-intent posts with new-only results. Text, score, flair, author, dates. $1.50 per 1,000 results.

- **URL**: https://apify.com/rp_openpro.ai/reddit-scraper.md
- **Developed by:** [Rémi Pelloux](https://apify.com/rp_openpro.ai) (community)
- **Categories:** Social media, Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 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/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 Scraper — Posts, Comments, Search & Brand Monitoring

Scrape Reddit posts and full comment threads from **keyword searches, subreddits, users and post URLs**. Each post or comment comes back as one clean row with the full text, score, comment count, flair, author, subreddit and date. You don't need a Reddit account, an API key or cookies.

Turn on **Only new** and schedule it to get a Reddit monitoring feed. Each run returns only posts and comments you haven't seen yet, and you pay only for those.

**$1.50 per 1,000 results**, with proxies included.

### What you can do with it

| Goal | How |
|---|---|
| **Find leads and buying intent** | Search `"looking for a CRM"`, `"any tool for" invoicing`, `"recommend an agency"` with Sort = New, every hour |
| **Monitor your brand and competitors** | Search your brand and your rivals' names, Only new on, daily schedule to Slack or email |
| **Market and product research** | Top posts of the month in r/SaaS, r/smallbusiness, r/Entrepreneur, with comments |
| **AI, RAG and sentiment datasets** | Threads with up to 2,000 comments each, parent ids to rebuild the tree |
| **Content ideas** | Top posts of the week in your niche and the questions people ask in the comments |

### Quick start

1. Type a few keywords in **Search Reddit for**, or subreddit names in **Subreddits**.
2. Choose **Sort** (New for monitoring, Top + Time range for research).
3. Turn on **Include comments** if you want the discussions.
4. Click **Start**, then download the results as JSON, CSV, Excel or HTML, or read them through the API.

### Input

| Field | What it does |
|---|---|
| `searches` | Keywords searched across Reddit. Reddit's syntax works, e.g. `"exact phrase"` or `subreddit:SaaS crm` |
| `subreddits` | Names like `n8n` or `r/SaaS` |
| `startUrls` | Any subreddit, post, user or search URL (`reddit.com/r/SaaS/top/?t=week`, `redd.it/…`, `old.reddit.com/…`). Sort and time in the URL are kept |
| `users` | Usernames: their latest posts |
| `sort` | `new` (default), `hot`, `top`, `rising` for subreddits; `relevance`, `top`, `new`, `comments` for searches |
| `time` | Past hour, day, week, month, year or all time (for Top and searches) |
| `maxPostsPerSource` | Posts per search, subreddit or user (default 50, up to 10,000) |
| `includeComments` | Add each post's comments as rows |
| `maxCommentsPerPost` | Up to 2,000 per post (default 20) |
| `commentSort` | Best, top, new, controversial, old, Q\&A |
| `searchPostDetails` | Add the full text to search results (Reddit's search list doesn't show it) |
| `postedWithinDays` | Only posts from the last N days. With Sort = New the run stops as soon as it reaches older posts |
| `onlyNew` | Skip posts and comments returned by earlier runs with the same sources, and don't charge for them |

#### Example: buying-intent monitor

```json
{
    "searches": ["\"looking for a CRM\"", "\"alternative to HubSpot\"", "subreddit:smallbusiness \"accounting software\""],
    "sort": "new",
    "time": "day",
    "maxPostsPerSource": 100,
    "searchPostDetails": true,
    "postedWithinDays": 1,
    "onlyNew": true
}
```

#### Example: subreddit research with comments

```json
{
    "subreddits": ["SaaS", "Entrepreneur"],
    "sort": "top",
    "time": "month",
    "maxPostsPerSource": 200,
    "includeComments": true,
    "maxCommentsPerPost": 50,
    "commentSort": "top"
}
```

### Output

Posts and comments share one dataset; `type` tells them apart. A post:

```json
{
    "type": "post",
    "id": "1xyf17k",
    "fullId": "t3_1xyf17k",
    "url": "https://www.reddit.com/r/n8n/comments/1xyf17k/selfhosted_n8n_on_a_2gb_vps_falls_over_when_three/",
    "title": "Self-hosted n8n on a 2GB VPS falls over when three workflows run at once. Queue mode or just more RAM?",
    "body": "Running n8n in Docker with Postgres on a 2 vCPU, 2GB VPS for my small agency, about 40 active workflows…",
    "author": "Pretend-Bits",
    "authorId": "t2_2pbhhn6tsk",
    "subreddit": "n8n",
    "subredditId": "t5_36pcjp",
    "createdAt": "2026-11-17T08:21:30.674Z",
    "score": 3,
    "upvoteRatio": 1.0,
    "commentCount": 14,
    "awardCount": 0,
    "postType": "text",
    "flair": "Servers, Hosting, & Tech Stuff",
    "linkUrl": null,
    "domain": null,
    "language": "en",
    "isNsfw": false,
    "isSpoiler": false,
    "source": "r/n8n",
    "scrapedAt": "2026-11-17T09:57:08Z"
}
```

A comment:

```json
{
    "type": "comment",
    "id": "19srkzql5ctfk",
    "fullId": "t1_19srkzql5ctfk",
    "url": "https://www.reddit.com/r/n8n/comments/1xyf17k/comment/19srkzql5ctfk/",
    "postId": "1xyf17k",
    "postUrl": "https://www.reddit.com/r/n8n/comments/1xyf17k/selfhosted_n8n_on_a_2gb_vps_falls_over_when_three/",
    "postTitle": "Self-hosted n8n on a 2GB VPS falls over when three workflows run at once. Queue mode or just more RAM?",
    "parentId": "t1_19srk294k5gxu",
    "depth": 1,
    "author": "cyber5234",
    "body": "Exactly. It should have more memory if they have larger workflows.",
    "score": 1,
    "createdAt": "2026-11-17T09:27:54.660Z",
    "subreddit": "n8n",
    "source": "r/n8n",
    "scrapedAt": "2026-11-17T09:57:08Z"
}
```

- `parentId` starts with `t3_` for a top-level comment (the post) and `t1_` for a reply, so you can rebuild the whole thread.
- `linkUrl` is the link, image or video of non-text posts (`postType` = `link`, `image`, `video`, `gallery`, `multi_media`).
- `source` says which of your searches, subreddits or URLs found the row.
- Search results without **Full text for search results** have `body`, `flair` and `upvoteRatio` set to `null`.

### Use it from the API, n8n, Make or Zapier

```bash
curl -X POST "https://api.apify.com/v2/acts/rp_openpro.ai~reddit-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searches": ["n8n gmail"], "sort": "new", "maxPostsPerSource": 25}'
```

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("rp_openpro.ai/reddit-scraper").call(run_input={
    "subreddits": ["SaaS"], "sort": "top", "time": "week", "includeComments": True,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["type"], row["url"])
```

In **n8n**, use the official Apify node with **Run task and get dataset items**. **Make** and **Zapier** have an Apify app with the same steps.

#### Daily or hourly alerts

1. Set your keywords or subreddits, **Sort** = `new`, **Only posts from the last N days** = `1`, and turn on **Only new**.
2. Save the input as a task and add a **Schedule** in Apify.
3. Connect the task to Slack, email, Google Sheets or a webhook with an Apify integration. Each run sends only the new rows.

### Pricing

You pay per result (one post or one comment), plus Apify's small Actor Start fee. Proxies and platform usage are included.

| Apify plan | Per result | Per 1,000 |
|---|---|---|
| Free | $0.0015 | **$1.50** |
| Bronze | $0.0014 | **$1.40** |
| Silver | $0.0013 | **$1.30** |
| Gold and up | $0.0012 | **$1.20** |

Examples on the Free plan:

- 500 new posts a day from a few searches: about **$0.75 a day**.
- 100 top posts with 50 comments each (5,100 results): about **$7.65**.

Results skipped by **Only new** are free; a run that finds nothing new costs only the start fee. Set **Max cost per run** to cap any run: the actor stops cleanly when it reaches the cap and keeps everything it already delivered.

### FAQ

**Do I need a Reddit account, API key or cookies?** No. The actor reads the public pages anyone can open in a browser.

**Why is `commentCount` higher than the comments I get?** Reddit's count includes deleted and removed comments, which it no longer shows. You get every comment that is still visible, up to your limit.

**Why does a search return fewer posts than I asked for?** Reddit's search runs out of results after a limited number of posts per query. Split it by subreddit (`subreddit:name`) or use a shorter time range.

**Can I get NSFW or private subreddits?** No. Reddit only shows them to logged-in members.

**Why US proxies by default?** Reddit has said it will test a logged-in-only Reddit in some countries outside the US. US residential IPs keep the public pages available. You can change the proxy in the input.

**What if Reddit blocks a request?** The actor moves to a new IP and tries again, up to 8 IPs per page. If a page still fails, the run keeps going with your other sources and says which one failed in its status message.

**How fast is it?** About 25 posts per page request. With comments it needs one more request per post, plus one for every extra batch of replies.

**Is it legal?** The actor only collects what is publicly visible. You decide what you collect and how you use it: follow Reddit's terms and the privacy laws that apply to you (for example GDPR when you store usernames of people in the EU), and don't use the data to harass or profile people.

**Ready-made n8n workflow:** [reddit buying intent to slack](https://github.com/RemiPelloux/apify-n8n-workflows/blob/main/workflows/reddit-buying-intent-to-slack.json) — import it, add your Apify token, done. More in [apify-n8n-workflows](https://github.com/RemiPelloux/apify-n8n-workflows).

### Related actors

- [Telegram Channel Scraper](https://apify.com/rp_openpro.ai/telegram-channel-scraper): posts, views and media from public Telegram channels, no login
- [Google News & Trends Scraper](https://apify.com/rp_openpro.ai/google-news-trends-scraper): news on the same topics
- [YouTube Transcript Scraper](https://apify.com/rp_openpro.ai/youtube-transcript-scraper): transcripts for the same AI datasets
- [Trustpilot Reviews Scraper](https://apify.com/rp_openpro.ai/trustpilot-reviews-scraper): what customers say about a company
- [App Store & Google Play Reviews](https://apify.com/rp_openpro.ai/app-store-google-play-reviews): what users say about an app

Found a bug or need a field? Open an issue on the actor's **Issues** tab.

# Actor input Schema

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

Keywords searched across all of Reddit, one per line. Reddit's search syntax works, e.g. <code>subreddit:SaaS crm</code> or <code>"cold email" author:someone</code>.

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

Subreddit names (n8n, r/SaaS) or URLs. Posts are read in the order chosen in Sort.

## `startUrls` (type: `array`):

Any mix of subreddit (reddit.com/r/SaaS/top/?t=week), post, user (reddit.com/user/name) and search URLs. Sort and time in the URL win over the fields below.

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

Reddit usernames (or u/name): their latest posts.

## `sort` (type: `string`):

Subreddits: hot, new, top or rising. Searches: relevance, hot, top, new or comments (most commented). The closest option is used when one doesn't apply.

## `time` (type: `string`):

For Top and for searches.

## `maxPostsPerSource` (type: `integer`):

Stops each source after this many posts.

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

Open each post and add its comments as rows (type = comment) with author, text, score, depth and parent. Also fills the full post text for search results. Slower: one page per post.

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

With Include comments. Reddit shows about 20 to 50 comments per page; the actor loads more replies up to this number.

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

Order of the comments collected for each post, as on Reddit: Best, Top, New, Controversial, Old or Q\&A.

## `searchPostDetails` (type: `boolean`):

Reddit's search list has no post text. Turn on to open each result and add the text, flair, upvote ratio and link. Slower (one page per post). Already done when Include comments is on.

## `postedWithinDays` (type: `integer`):

0 = no date filter. With Sort = New the actor stops as soon as it reaches older posts.

## `onlyNew` (type: `boolean`):

For scheduled monitoring: posts and comments already delivered by an earlier run with the same sources are skipped and not charged.

## `proxyConfiguration` (type: `object`):

RESIDENTIAL proxies in the United States work best. When Reddit blocks an IP, the actor moves to a new one by itself.

## Actor input object example

```json
{
  "searches": [],
  "subreddits": [
    "n8n"
  ],
  "startUrls": [],
  "sort": "new",
  "time": "all",
  "maxPostsPerSource": 10,
  "includeComments": false,
  "maxCommentsPerPost": 20,
  "commentSort": "confidence",
  "searchPostDetails": false,
  "postedWithinDays": 0,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searches": [],
    "subreddits": [
        "n8n"
    ],
    "startUrls": [],
    "sort": "new",
    "maxPostsPerSource": 10,
    "includeComments": false,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rp_openpro.ai/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": [],
    "subreddits": ["n8n"],
    "startUrls": [],
    "sort": "new",
    "maxPostsPerSource": 10,
    "includeComments": False,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("rp_openpro.ai/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": [],
  "subreddits": [
    "n8n"
  ],
  "startUrls": [],
  "sort": "new",
  "maxPostsPerSource": 10,
  "includeComments": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call rp_openpro.ai/reddit-scraper --silent --output-dataset

```

## MCP server setup

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