# Reddit Search — all of Reddit, by keyword (`clearcaption/reddit-search`) Actor

Search all of Reddit by keyword — no account, no API key, no cookies. Fresh posts every minute, no duplicates across queries, subreddit search up to 30 days. For monitoring, lead finding and LLM pipelines (API, MCP).

- **URL**: https://apify.com/clearcaption/reddit-search.md
- **Developed by:** [Paul Gallicin](https://apify.com/clearcaption) (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.00 / 1,000 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/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 — all of Reddit, by keyword

Search **every public Reddit post** by keyword — no Reddit account, no API key, no cookies, no proxies to set up.

Reddit closed RSS on 13 Nov 2026 and is shutting down its public API by March 2027. Most Reddit scrapers now need your Reddit session cookie or get blocked. This Actor answers from its own continuously updated copy of Reddit, so a search does not depend on Reddit letting a cloud IP in.

### What you get

- **Global keyword search** across all subreddits — every post since 29 Nov 2026, growing every minute.
- **Subreddit search up to 30 days back** when you list subreddits.
- **Fresh data**: new posts are added every minute, about an hour after they are posted.
- **No duplicates**: a post that matches several of your queries is returned once, with `matchedQueries` listing all of them — you pay for it once.
- Sort by **newest**, **most upvoted** or **most comments**.

### Input

| field | what it does |
|---|---|
| `searchQueries` | Keywords or phrases. By default all words must appear in the title or text. |
| `subreddits` | Optional. Limit to these subreddits (e.g. `n8n`, `webscraping`). |
| `days` | How far back, 1–30 days (global search currently covers posts since 29 Nov 2026; with `subreddits` set — full 30 days). |
| `sort` | `new`, `top` or `comments`. |
| `maxItems` | Max posts per query. |
| `match` | `all` (all words) or `phrase` (exact phrase). |
| `includeNsfw` | Include 18+ posts. |

### Compared with typical Reddit scrapers

- **No Reddit login.** No session cookie, account or API key to paste — nothing to get banned.
- **Reliability is visible.** On 29 Nov 2026 popular Reddit scrapers in the Store ranged from 9% to 100% successful runs over 30 days. Ours answers from its own copy, so Reddit blocking a cloud IP does not fail your run.
- **You pay for a post once.** A post that matches several of your queries is saved once; repeats are free.
- **Price is in the middle, not the lowest.** Store prices for 1,000 Reddit posts ranged from about $0.28 to $4 (29 Nov 2026); ours is $1.00–1.50.

### Use it from AI agents (MCP): Claude, ChatGPT, Cursor, n8n

Add the Apify MCP server with this Actor as a tool:

```
https://mcp.apify.com?tools=clearcaption/reddit-search
```

Then ask your agent, for example: *"Find Reddit posts from the last 7 days where people look for a CRM, and summarize the top 10."*

Ask an assistant how to use it:
[ChatGPT](https://chatgpt.com/?q=How%20do%20I%20use%20the%20ClearCaption%20Reddit%20Search%20on%20Apify%20%28https%3A%2F%2Fapify.com%2Fclearcaption%2Freddit-search%29%3F) ·
[Claude](https://claude.ai/new?q=How%20do%20I%20use%20the%20ClearCaption%20Reddit%20Search%20on%20Apify%20%28https%3A%2F%2Fapify.com%2Fclearcaption%2Freddit-search%29%3F) ·
[Perplexity](https://www.perplexity.ai/search?q=How%20do%20I%20use%20the%20ClearCaption%20Reddit%20Search%20on%20Apify%20%28https%3A%2F%2Fapify.com%2Fclearcaption%2Freddit-search%29%3F)

### Price

Pay per event: **$1.50 per 1,000 posts** on the Free plan, $1.25 on Bronze, $1.10 on Silver, $1.00 on Gold and higher, plus $0.002 per run start. Duplicates across your queries and empty searches cost nothing beyond the start.

### Input example

```json
{"searchQueries": ["looking for a crm"], "days": 7, "sort": "new", "maxItems": 200, "match": "phrase"}
```

Ready-made examples: see the **Tasks** tab (brand mentions, leads, competitor alternatives, \[Hiring] posts, pain points and more).

### Output (one item per post)

```json
{
  "id": "1y8983d",
  "title": "…",
  "body": "…",
  "author": "…",
  "subreddit": "webscraping",
  "createdAt": "2026-11-29T07:56:41+00:00",
  "score": 12,
  "numComments": 4,
  "url": "…",
  "permalink": "https://www.reddit.com/r/webscraping/comments/1y8983d/",
  "flair": "…",
  "nsfw": false,
  "matchedQueries": ["web scraping"],
  "scoreUpdatedAt": 1795900000
}
```

### Good to know

- **Scores and comment counts** are captured about an hour after the post appears and are not refreshed later. `scoreUpdatedAt` tells you when. For "what is trending right now" use `sort: new` and rank yourself.
- A search over several days reads many files and can take a few minutes.
- Posts only (comments search is planned).
- Private and quarantined subreddits are not included.

### Use cases

- Brand and competitor monitoring on a schedule.
- Finding people asking for a product like yours ("looking for a tool that…").
- Feeding fresh Reddit discussions into an LLM / RAG pipeline via API or MCP.

# Actor input Schema

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

Keywords or phrases. All words of a query must appear in the post title or text.

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

Leave empty to search all of Reddit.

## `days` (type: `integer`):

Posts from the last N days (max 30).

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

Order of results.

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

Upper limit per query.

## `match` (type: `string`):

How a query matches the text.

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

Include posts marked 18+.

## Actor input object example

```json
{
  "searchQueries": [
    "web scraping"
  ],
  "days": 7,
  "sort": "new",
  "maxItems": 100,
  "match": "all",
  "includeNsfw": false
}
```

# Actor output Schema

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

One row per unique Reddit post: title, text, author, subreddit, date, score, comments, permalink, matched queries.

## `stats` (type: `string`):

Queries, posts found, data window covered.

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("clearcaption/reddit-search").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"] }

# Run the Actor and wait for it to finish
run = client.actor("clearcaption/reddit-search").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"
  ]
}' |
apify call clearcaption/reddit-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,clearcaption/reddit-search"
        }
    }
}
```

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/ts0KwIMzbha8Mj8dG/builds/e5bZ69gC4Pe8qPzdH/openapi.json
