# Reddit Search Scraper: Posts and Comments, Last 30 Days (`charles_thedev/reddit-search`) Actor

Search every public Reddit post and comment from the last 30 days by keyword. AND, OR, NOT, quoted phrases, subreddit: and author: filters. Newest first, export JSON or CSV for brand monitoring, lead finding and research.

- **URL**: https://apify.com/charles_thedev/reddit-search.md
- **Developed by:** [Redlisten](https://apify.com/charles_thedev) (community)
- **Categories:** Social media, Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 7 total users, 6 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.70 / 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 Search Scraper: search every post and comment on Reddit

Search every public Reddit post **and every comment** from the last 30 days by keyword, across all of Reddit at once. Use boolean operators, exact phrases and subreddit or author filters, and get the newest matches first as clean JSON or CSV. Built for brand monitoring, lead finding, competitor research, market research and AI datasets.

### Why this Reddit scraper

- **Searches comments, not just posts.** Most of what people say on Reddit is in the comments. This actor searches comment text across every subreddit, so you find the reply that names your brand, not only the threads that put it in a title.
- **Real search operators.** `AND`, `OR`, `NOT`, `"exact phrases"`, `subreddit:name` and `author:name`, combined however you like: `"customer support" AND (slow OR expensive) NOT hiring`.
- **Results in seconds.** Runs read from the Redlisten index of public Reddit posts and comments, so a 1,000 result run finishes in seconds instead of minutes, and there is no page loading to time out or get blocked.
- **$1.00 per 1,000 results, cheaper on higher Apify plans.** You pay for rows in your dataset plus $0.00005 per run, so a run that finds nothing costs next to nothing.
- **No login, no cookies, no proxies to set up.** Paste your input and run. Nothing to configure, nothing to maintain.
- **Clean, flat rows.** One row per post or comment, the same fields every time, ready for CSV, Excel, JSON, Google Sheets or a database.
- **Works with your stack.** Call it from the Apify API, schedule it, or plug it into Make, Zapier, n8n, LangChain or any MCP client.

### What people use it for

- Brand monitoring: every mention of your product, your founders or your domain, with a link to each one.
- Lead finding: people asking "is there a tool that...", "alternative to..." or "recommend a..." in your category.
- Competitor research: what users praise and complain about in your competitors' products.
- Market and product research: real language your customers use, for positioning and copy.
- AI and RAG: fresh, relevant Reddit discussion as grounding data for a model or an agent.

### How to use it

1. Click **Try for free** and fill in the input.
2. Click **Start**. Most runs finish in seconds.
3. Download the dataset as JSON, CSV, Excel or HTML, or read it from the Apify API.

#### Input example

```json
{
  "queries": [
    "\"customer support\" AND slow",
    "notion OR obsidian"
  ],
  "searchType": "both",
  "timeframe": "month",
  "maxItems": 500
}
```

#### Output example

```json
[
  {
    "type": "post",
    "id": "t3_1xq7lh6",
    "url": "https://www.reddit.com/r/startups/comments/1xq7lh6/...",
    "subreddit": "startups",
    "author": "example_user",
    "created_utc": "2026-11-07T14:25:45Z",
    "score": 12,
    "title": "Which tool do you use for customer support?",
    "body": "We are a team of five and our inbox is getting out of hand...",
    "num_comments": 23,
    "link_url": null,
    "domain": "self.startups",
    "flair": "Question",
    "nsfw": false,
    "upvote_ratio": 0.93
  },
  {
    "type": "comment",
    "id": "t1_ok2x9qa",
    "url": "https://www.reddit.com/r/startups/comments/1xq7lh6/.../ok2x9qa/",
    "subreddit": "startups",
    "author": "another_user",
    "created_utc": "2026-11-07T14:40:02Z",
    "score": 5,
    "body": "We moved to a shared inbox last year and it fixed most of this.",
    "post_id": "t3_1xq7lh6",
    "post_title": "Which tool do you use for customer support?",
    "parent_id": "t3_1xq7lh6",
    "depth": 0
  }
]
```

Every row has `type` (post or comment), `id`, `url`, `subreddit`, `author`, `created_utc` (ISO 8601, UTC) and `score`. Posts add `title`, `body`, `num_comments`, `link_url`, `domain`, `flair`, `nsfw` and `upvote_ratio`. Comments add `body`, `post_id`, `post_title`, `parent_id` and `depth`.

### Pricing

**$1.00 per 1,000 results** on the Apify Free plan, $0.90 on Bronze, $0.80 on Silver and $0.70 on Gold and above. Each run adds $0.00005, five cents per thousand runs. No monthly rent. Set a maximum cost per run in Apify and the actor stops cleanly at it.

Need more than a few million results a month, live delivery, or the full stream of every new post and comment? The [Redlisten API](https://redlisten.com/?utm_source=apify\&utm_medium=actor\&utm_campaign=reddit-search) has plans from free, with keyword streams to Slack, Discord, webhooks and email, full text search, mention trends and an MCP server for AI agents. Paste your own key into **Redlisten API key** to run this actor on your plan.

### FAQ

**Can it search Reddit comments?**

Yes. Set **What to search** to comments, or both. Comment search covers every subreddit.

**How far back can I search?**

The last 30 days. Choose 24 hours, 7 days or 30 days in **How far back**.

**What search syntax is supported?**

AND, OR, NOT, brackets, "exact phrases", `subreddit:name` and `author:name`.

**Does it need a Reddit account?**

No. No login, no cookies and no app registration.

**Can I get alerts instead of running it on a schedule?**

Yes. A free [Redlisten key](https://app.redlisten.com/?signup=1\&utm_source=apify\&utm_medium=actor\&utm_campaign=search) adds keyword streams that send each new match to Slack, Discord, a webhook or your inbox within seconds.

**Is it legal to scrape Reddit?**

This actor returns publicly available posts and comments. You are responsible for how you use the data, including privacy law and Reddit's terms where they apply to you.

### More Reddit actors

- Subreddit Scraper
- Reddit Comments Scraper
- Reddit User Scraper

### About

Built on [Redlisten](https://redlisten.com/?utm_source=apify\&utm_medium=actor\&utm_campaign=reddit-search), an API for public Reddit posts and comments. Docs: [redlisten.com/docs](https://redlisten.com/docs?utm_source=apify\&utm_medium=actor\&utm_campaign=reddit-search). Support: support@redlisten.com.

Redlisten is not affiliated with Reddit, Inc.

# Actor input Schema

## `queries` (type: `array`):

One search per line. Supports AND, OR, NOT, "exact phrases", subreddit:name and author:name.

## `searchType` (type: `string`):

Search posts, comments or both. Comment search covers every subreddit.

## `timeframe` (type: `string`):

Only return items posted inside this window.

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

Stop after this many posts or comments for each search term.

## `apiKey` (type: `string`):

Leave empty: the actor runs on its own key and you pay per result on Apify. Paste your own key from https://app.redlisten.com to use your Redlisten plan instead.

## Actor input object example

```json
{
  "queries": [
    "notion"
  ],
  "searchType": "both",
  "timeframe": "month",
  "maxItems": 100
}
```

# Actor output Schema

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

Every post and comment from the run, one row each.

## `overview` (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 = {
    "queries": [
        "notion"
    ]
};

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

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

```

## MCP server setup

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