# Reddit Search Scraper: Keyword & Brand Monitor (`axlymxp/reddit-search-scraper`) Actor

Search Reddit for your keywords: every matching post with text, score, author and comments, or the subreddits where your audience is, with weekly activity and rules. Buying-intent tags and monitor mode for only-new mentions. No proxy or API key. Pay only for results.

- **URL**: https://apify.com/axlymxp/reddit-search-scraper.md
- **Developed by:** [axly](https://apify.com/axlymxp) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 85.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 dataset items

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

## Reddit Search Scraper: Keyword & Brand Monitor

Search Reddit for any keyword, brand, competitor or phrase and get every matching post as a clean row: title, full text, subreddit, author, score, comment count and links. Search all of Reddit or only the subreddits you care about, filter by date, and add the comment threads if you want the discussion too.

Two features make it a monitoring and lead tool, not just a search export:

- **Monitor mode.** Turn on *Only new since last run* and schedule it hourly or daily: each run returns only posts it has not delivered before. Brand and competitor alerts without duplicates.
- **Buying-intent tags.** Every row lists the intent phrases it contains ("looking for", "recommend", "alternative to", "too expensive", "hiring"…, editable). Switch on *Only posts with buying intent* and you get just the people asking for a solution, and you don't pay for the rest.

It also finds **subreddits**: set *Search for* to Subreddits and get the communities that match your keywords, with members, weekly active users, weekly posts, time to first comment, posting restrictions and the full rules, so you know where your audience is and what each community allows.

No Reddit account, API key or proxy needed. It reads Reddit the way the official mobile app does.

**Built for:** marketers tracking brand and competitor mentions, founders and sales teams looking for "any recommendations?" threads, agencies doing social listening for clients, researchers and AI teams collecting topic datasets.

### What you get

#### Posts (`type: post`)

| Field | Description |
| --- | --- |
| `id`, `url` | Reddit post id and permalink |
| `title`, `text` | Title and self-text (markdown as written) |
| `subreddit`, `subreddit_subscribers` | Where it was posted and the community size |
| `author`, `author_id` | Who posted it |
| `score`, `upvote_ratio`, `num_comments`, `awards` | Engagement |
| `created_at` | ISO-8601 UTC timestamp |
| `flair`, `is_self`, `is_video`, `is_nsfw`, `is_spoiler`, `is_stickied`, `is_locked` | Post attributes |
| `domain`, `external_url`, `media_urls`, `thumbnail` | Linked site and media |
| `intent_matches` | Intent phrases found in title + text |
| `query` | The keyword that found the post |
| `scraped_at` | When the row was collected |

#### Subreddits (`type: subreddit`, with *Search for* = Subreddits or Both)

| Field | Description |
| --- | --- |
| `name`, `url`, `id` | Subreddit name, link and id |
| `description` | Public description |
| `subscribers` | Members |
| `weekly_active_users`, `weekly_contributions` | Visitors and posts + comments in the past week |
| `seconds_to_first_comment` | Typical time until a new post gets its first comment |
| `is_posting_restricted`, `is_nsfw`, `is_quarantined`, `subreddit_type` | Who can post and content flags |
| `rules`, `rules_count` | The community rules (`name`, `text`) |
| `icon_url` | Community icon |
| `query` | The keyword that found it |

#### Comments (`type: comment`, with *Include comments*)

`id`, `url`, `post_id`, `post_title`, `post_url`, `parent_id`, `depth`, `text`, `author`, `is_submitter`, `score`, `created_at`, `subreddit`, `intent_matches`.

With *Enrich authors* on, rows also get `author_karma` and `author_created_at` (account creation date).

### Use cases

- **Brand monitoring:** your brand and product names, sorted by new, scheduled hourly in monitor mode, sent to Slack.
- **Competitor tracking:** "competitor name" + "alternative to competitor" to see who is unhappy and why.
- **Lead generation:** "looking for a CRM", "best tool for invoicing" in r/smallbusiness, r/SaaS, r/Entrepreneur with *Only posts with buying intent*.
- **Community discovery:** find the subreddits where your buyers hang out, rank them by weekly active users, and read their rules before posting.
- **Market research:** every discussion of a topic over the past month, with the comments, in one sheet.
- **AI datasets:** topic-specific posts and threads for RAG, classification or sentiment analysis.

### Input

| Field | Default | What it does |
| --- | --- | --- |
| `searchQueries` | – | Keywords or phrases, one search each. Reddit search syntax works: `"exact phrase"`, `title:pricing`, `author:name` |
| `searchFor` | posts | `posts`, `subreddits` (communities matching the keywords) or `both` |
| `maxSubredditsPerQuery` | 50 | Subreddits per keyword (Reddit returns about 250 at most) |
| `subreddits` | – | Optional: search posts only inside these subreddits (one search per keyword and subreddit) |
| `searchSort` | new | relevance, hot, top, new or comments |
| `timeFilter` | week | hour, day, week, month, year or all |
| `postedAfter`, `postedBefore` | – | Exact date range (YYYY-MM-DD) |
| `maxPostsPerQuery` | 100 | Posts per keyword (Reddit serves about 300 at most per query) |
| `onlyNewSinceLastRun` | false | Monitor mode: skip posts and comments returned by an earlier run with the same input |
| `intentKeywords` | built-in list | Phrases tagged in `intent_matches` |
| `onlyIntentMatches` | false | Keep only posts that contain an intent phrase (skipped posts are not charged) |
| `includeComments` | false | Add the comment thread of each post |
| `maxCommentsPerPost`, `commentSort` | 50, confidence | Comments per post and their order |
| `enrichAuthors` | false | Add author karma and account age |
| `includeNsfw` | false | Include NSFW posts |
| `maxItems` | 500 | Stop after this many rows in total |
| `proxyConfiguration` | off | Optional Apify Proxy for large runs |

#### Example input

```json
{
  "searchQueries": ["\"looking for a CRM\"", "\"hubspot alternative\""],
  "subreddits": ["smallbusiness", "SaaS"],
  "searchSort": "new",
  "timeFilter": "month",
  "onlyIntentMatches": true,
  "onlyNewSinceLastRun": true
}
```

#### Example output

```json
{
  "type": "post",
  "id": "1xxd63q",
  "url": "https://www.reddit.com/r/LabelZoom/comments/1xxd63q/what_is_labelzoom_free_zpl_viewer_and_converters/",
  "title": "What is LabelZoom? Free ZPL viewer and converters, a label conversion API, a label designer, and cloud printing for thermal printers",
  "text": "**LabelZoom** is a barcode label platform: design labels, convert them between formats, and print them to thermal label printers from anywhere. It runs on ou...",
  "subreddit": "LabelZoom",
  "subreddit_subscribers": 1,
  "author": "RobFaustLZ",
  "score": 1,
  "num_comments": 0,
  "created_at": "2026-11-16T01:56:10Z",
  "intent_matches": [
    "pricing"
  ],
  "query": "web scraping api",
  "source": "search"
}
```

### How many rows and how fast

One search request returns up to 100 posts, so a keyword takes seconds. Reddit's search serves about 300 posts per query at most: for more, narrow the time window, add subreddits or split the keyword. Comments cost one request per post plus one per expanded "load more" link. Reddit answers about 500 requests per 10 minutes per IP; without a proxy the actor waits when that limit is reached, with Apify Proxy it switches to a fresh IP.

### Scheduling and integrations

Create a schedule in Apify Console (e.g. every hour) with *Only new since last run* on, then connect Slack, email, Google Sheets, a webhook, Make or Zapier with Apify integrations so new mentions reach you automatically. Results are also available through the Apify API as JSON, CSV or Excel.

### Use with AI assistants

AI agents can call the actor through the Apify MCP server (`mcp.apify.com`): ask "find Reddit posts asking for an alternative to X this week" and the assistant runs the search and reads the rows.

### FAQ

**Do I need a Reddit account or API key?** No.

**Why so many unrelated posts?** Without quotes Reddit matches the words loosely, and common words like "for" or "a" match almost everything. Put phrases in double quotes: `"looking for a CRM"`.

**Why fewer posts than I asked for?** Reddit's search returns at most about 300 posts per query, and filters (date, NSFW, intent) remove more. Split the search into narrower keywords or subreddits.

**How does monitor mode know what is new?** It stores the ids it returned for this exact input in a key-value store on your account (`reddit-search-monitor`) and skips them next time. Change the input and it starts fresh.

**How do I find subreddits for a niche?** Set *Search for* to Subreddits and enter the niche's words ("dropshipping", "home espresso"). Sort the result by `weekly_active_users`: it tells you more about real activity than the member count.

**Are posts I filter out charged?** No. Only rows that land in the dataset are charged.

**Is scraping Reddit legal?** The actor reads publicly visible content without logging in. You are responsible for how you use the data, including Reddit's terms and privacy laws such as the GDPR.

# Actor input Schema

## `searchQueries` (type: `array`):

One Reddit search per entry: brand names, product names, competitors, topics. Reddit search syntax works, e.g. "exact phrase", title:pricing, author:name.

## `searchFor` (type: `string`):

Posts: posts that mention your keywords. Subreddits: communities matching your keywords, with members, weekly active users, weekly posts and rules, to find where your audience is. Both: one run, two kinds of rows.

## `maxSubredditsPerQuery` (type: `integer`):

Only used when searching for subreddits. Reddit returns at most about 250 communities per keyword.

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

Search inside these subreddits only (one search per keyword and subreddit), e.g. 'SaaS' or 'r/startups'. Leave empty to search all of Reddit. Applies to post search only.

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

Order of search results.

## `timeFilter` (type: `string`):

Time window for search and for `top` / `controversial` feeds.

## `postedAfter` (type: `string`):

Keep only posts created on or after this UTC date, e.g. `2026-09-01`. Comments are not date-filtered.

## `postedBefore` (type: `string`):

Keep only posts created on or before this UTC date, e.g. `2026-09-30`.

## `maxPostsPerQuery` (type: `integer`):

Per keyword (and per subreddit when subreddits are set). Reddit's search serves at most about 300 posts per query; narrow the time window or add subreddits to go further.

## `onlyNewSinceLastRun` (type: `boolean`):

Monitor mode: skip posts and comments that an earlier run with the same input already returned. Schedule the actor (e.g. hourly) to get only new mentions each time.

## `intentKeywords` (type: `array`):

Phrases that mark a buyer, seeker or complaint. Every post and comment gets an `intent_matches` list of the phrases it contains (case-insensitive, whole words). Clear the list to disable.

## `onlyIntentMatches` (type: `boolean`):

Keep only posts whose title or text contains one of the intent keywords (e.g. 'looking for', 'alternative to'). Skipped posts are not charged.

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

Fetch the comment tree of every post. Each comment is its own row (`type: comment`) with `post_id`, `parent_id` and `depth`.

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

Cap on comments stored per post (all depths, flattened). Larger values expand collapsed threads with extra API calls.

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

Which comments come first when a post has more than the cap.

## `enrichAuthors` (type: `boolean`):

Add `author_karma`, `author_created_at` and `author_is_verified` to every post and comment (one extra API call per distinct author, up to 300 per run). Useful for ranking leads by account age and activity.

## `includeNsfw` (type: `boolean`):

Keep posts marked over-18.

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

Hard cap on dataset rows for the run: posts, comments, users and subreddits together. You pay per row stored.

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

Optional. Without a proxy the actor runs at Reddit's limit of about 500 API calls per 10 minutes per IP and waits when it is reached. Enable Apify Proxy for large runs: the actor switches to a fresh IP instead of waiting.

## Actor input object example

```json
{
  "searchQueries": [
    "web scraping api"
  ],
  "searchFor": "posts",
  "maxSubredditsPerQuery": 50,
  "subreddits": [],
  "searchSort": "new",
  "timeFilter": "week",
  "maxPostsPerQuery": 100,
  "onlyNewSinceLastRun": false,
  "intentKeywords": [
    "looking for",
    "recommend",
    "recommendation",
    "alternative to",
    "alternatives to",
    "best tool",
    "best way to",
    "any suggestions",
    "suggestions?",
    "how do i",
    "how do you",
    "what do you use",
    "is there a",
    "is there any",
    "worth it",
    "pricing",
    "too expensive",
    "switch from",
    "switching from",
    "need help",
    "anyone know",
    "does anyone",
    "hire",
    "hiring",
    "freelancer",
    "for hire",
    "frustrated",
    "hate that",
    "wish there was"
  ],
  "onlyIntentMatches": false,
  "includeComments": false,
  "maxCommentsPerPost": 50,
  "commentSort": "confidence",
  "enrichAuthors": false,
  "includeNsfw": false,
  "maxItems": 500,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "searchQueries": [
        "web scraping api"
    ],
    "subreddits": [],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("axlymxp/reddit-search-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 = {
    "searchQueries": ["web scraping api"],
    "subreddits": [],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("axlymxp/reddit-search-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 '{
  "searchQueries": [
    "web scraping api"
  ],
  "subreddits": [],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call axlymxp/reddit-search-scraper --silent --output-dataset

```

## MCP server setup

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