# Reddit Search Scraper: Posts by Keyword, No API Key (`apimy/reddit-search-scraper`) Actor

Search Reddit by keyword without an account or API key and export every matching post: title, full text, subreddit, author, score, upvote ratio, comment count, flair, date and link. Sort by relevance, hot, top, new or most comments, filter by time. JSON, CSV, Excel, API.

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

## Pricing

from $0.79 / 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/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** finds Reddit posts by keyword **without a Reddit account, API key or proxy settings**. Type the words you would type into Reddit's search box and get every matching post from all of Reddit with its title, full text, subreddit, author, score, upvote ratio, comment count, flair, date and link. **$0.79 per 1,000 posts, plus $0.003 per run start.**

### What does Reddit Search Scraper do?

- 🔍 **Keyword search across all of Reddit** — plain keywords, `"exact phrase"`, `AND` / `OR` expressions. Several queries in one run.
- ↕️ **Reddit's own sort orders** — relevance, hot, top, new or most comments.
- 📅 **Time filter** — past hour, 24 hours, week, month, year or all time.
- 📝 **Full post text**, not a preview, plus score, upvote ratio and comment count.
- 🔔 **Monitoring mode** — schedule the Actor and each run returns only posts it has not delivered before.
- 🔞 NSFW posts are left out unless you switch them on.

Use it for brand and competitor monitoring, market research, finding leads who ask for a product like yours, content ideas, sentiment analysis and collecting text for AI.

### How to scrape Reddit search results

1. Open the Actor and type one or more **Search queries**.
2. Pick the **Search order** and **Search time range** if you need them.
3. Set **Results per input** — how many posts you want for each query.
4. Press **Start**. Download the posts as JSON, CSV or Excel, or read them by API.

### How much does it cost to scrape Reddit search?

| Row | Price |
|---|---|
| **Post** | $0.00079 — $0.79 per 1,000 |
| **Archived post or comment** (optional, from 5 December 2026) | $0.00001 — $0.01 per 1,000 |

**Run start**: $0.003 once per run, charged together with the first row — the first request to the source is paid before any row exists. A run that returns no rows (only free error rows) pays no start fee. No proxy or compute charge on top. Error rows are never billed. **Maximum rows per run** is a hard ceiling on the bill.

100 posts cost about $0.08. On the Apify Free plan the first 20 posts of a run come from the live source; queries that name a subreddit (`subreddit:bali visa`) get the rest from the free archive. Any paid Apify plan removes the limit on live rows.

### ⬇️ Input

```json
{
    "searchQueries": ["best travel credit card", "\"standing desk\" recommendation"],
    "sort": "TOP",
    "timeRange": "month",
    "maxResultsPerInput": 100
}
```

| Field | What it does |
|---|---|
| `searchQueries` | Keywords or search expressions, one query per line. |
| `sort` | `RELEVANCE` (default), `HOT`, `TOP`, `NEW`, `COMMENTS`. |
| `timeRange` | `all` (default), `year`, `month`, `week`, `day`, `hour`. |
| `includeNsfw` | Include posts marked NSFW. Off by default. |
| `maxResultsPerInput` | Posts per query. Default 50. |
| `maxItems` | Hard ceiling on rows in the whole run. |
| `useArchive` | Add rows from a free public Reddit archive after the live rows (see Archive rows below). Off by default. |
| `monitoringStoreName` | A name for monitoring: later runs with the same name return only new posts. |

### ⬆️ Output

One row per post:

```json
{
    "type": "post",
    "id": "t3_1w5kfi7",
    "title": "What is the BEST travel credit card?",
    "text": "I want to Travel more frequently with my family (4). Right now, we strictly use Delta Amex(reserve) but I feel like I've been spending a ton of money and have been getting nothing much in return travel wise…",
    "url": "https://www.reddit.com/r/CreditCards/comments/1w5kfi7/what_is_the_best_travel_credit_card/",
    "subreddit": "CreditCards",
    "subredditSubscribers": 1564874,
    "author": "Hopeful-Horse3672",
    "authorId": "t2_1t2q5yjox8",
    "score": 0,
    "upvoteRatio": 0.33,
    "comments": 15,
    "flair": "Card Recommendation Request (Template NOT Used)",
    "isNsfw": false,
    "isStickied": false,
    "isLocked": false,
    "isArchived": false,
    "isPromoted": false,
    "isRemoved": false,
    "languageCode": "en",
    "domain": "self.CreditCards",
    "externalUrl": null,
    "createdAt": "2026-09-02T19:28:17.185Z",
    "editedAt": null,
    "query": "best travel credit card",
    "source": "search",
    "sourceInput": "best travel credit card",
    "scrapedAt": "2026-11-14T02:43:25.766Z",
    "page": 1,
    "position": 2
}
```

`query` tells you which search query found the post, `position` is its place in the results.

### 🗄️ Archive rows (optional, cheaper, older)

Switch on **Add archive rows** (`useArchive: true`) and after the live rows the Actor also reads a free public Reddit archive ([Arctic Shift](https://arctic-shift.photon-reddit.com)): up to **Results per input** more rows for each query, older ones included, with full fields (upvote ratio, flags). Rows the live source already gave are skipped.

- Each archive row has `source: "archive"`, `archivedAt` and a `note`. **Score, comment count and upvote ratio are as of `archivedAt`, not live**: a post archived minutes after it was posted can show score 1 until the archive reads it again (about 36 hours later).
- The archive is about 2 hours behind Reddit and has **no search across all of Reddit**: a query reads it only when it names a community — `subreddit:bali visa` — or an author — `author:spez`. Other queries get live rows only, and a free notice row says so.
- Price: **Archived post or comment** — $0.00001 ($0.01 per 1,000) from 5 December 2026; until then archive rows are free.
- On the Apify Free plan archive rows are added automatically after the first 20 live rows.

### 🤖 For AI Agents & LLM Apps

Compact reference for agents calling this Actor through the [Apify MCP server](https://mcp.apify.com) or the Apify API (`apimy/reddit-search-scraper`).

**Purpose:** Reddit posts matching a keyword across all of Reddit: title, full text, subreddit, author, score, upvote ratio, comment count, flair and date. No Reddit account, API key or proxy settings.

**Timing:** the input below usually finishes in about 20 seconds, so `run-sync-get-dataset-items` works. Bigger lists take proportionally longer — past a few minutes start an asynchronous run and read the dataset when it finishes (the sync endpoint stops at 5 minutes).

**Minimal input:**

```json
{"searchQueries": ["best travel credit card"], "maxResultsPerInput": 50}
```

**Output:** one dataset row per post. Main fields: `id`, `title`, `text`, `subreddit`, `subredditSubscribers`, `author`, `score`, `upvoteRatio`, `comments`, `flair`, `isNsfw`, `createdAt`, `domain`, `query`, `url`, `position`.

### FAQ

#### Do I need a Reddit account or API key?

No. Type your keywords and run. No OAuth app and no rate limits to manage.

#### How many posts can one query return?

As many as Reddit's search gives for the query — usually a few hundred for a broad keyword. The Actor reads page after page until **Results per input** is reached or Reddit has no more results. If a query has fewer posts than you asked for, you get what exists and pay only for those rows.

#### Why do some posts not contain all my keywords?

Reddit's search is not strict: with the **New** order or a short time range it also returns posts that match only part of the query. Put the phrase in quotes — `"standing desk"` — to ask Reddit for the exact phrase, or filter the export by the `title` and `text` columns.

#### Can I search inside one subreddit?

The Actor searches all of Reddit. Every row has the `subreddit` column, so you can filter the export by community.

#### How do I get the comments of the posts I found?

Use the `url` column as input for a Reddit comments scraper.

#### What if a query finds nothing?

You get a free error row that says so. Rows with errors and notices are never billed.

#### Is it legal to scrape Reddit?

The Actor reads only public posts. Usernames and post text can be personal data under the GDPR and similar laws — have a lawful reason to process them.

# Actor input Schema

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

Keywords or a search expression, as in Reddit's search box: <code>iphone 17 battery</code>, <code>"exact phrase"</code>, <code>visa AND bali</code>. Each query returns posts from all of Reddit.

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

Search: Reddit's own orders.

## `timeRange` (type: `string`):

Search: only posts from this period.

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

Search: include posts marked NSFW.

## `maxResultsPerInput` (type: `integer`):

How many posts to return for each search query.

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

Stop after this many rows in the whole run — a hard ceiling on cost.

## `useArchive` (type: `boolean`):

After the live rows, also return rows from a free public Reddit archive (Arctic Shift): up to <b>Results per input</b> more rows for each query, older ones included; rows the live source already gave are skipped. Charged as <b>Archived post or comment</b> — $0.01 per 1,000 from 5 December 2026, free before that. Score, comments and upvote ratio in these rows are as of the archiving time (column <code>archivedAt</code>), not live. The archive has no search across all of Reddit: a query reads it only when it names a community (<code>subreddit:bali visa</code>) or an author (<code>author:spez</code>). On the Apify Free plan archive rows are added after the live rows automatically.

## `monitoringStoreName` (type: `string`):

Give the run a name (e.g. <code>brand-mentions</code>) and every later run with the same name returns <b>only rows it has not delivered before</b>. Empty = normal run.

## Actor input object example

```json
{
  "searchQueries": [
    "best travel credit card"
  ],
  "sort": "RELEVANCE",
  "timeRange": "all",
  "includeNsfw": false,
  "maxResultsPerInput": 50,
  "maxItems": 10000,
  "useArchive": false
}
```

# Actor output Schema

## `rows` (type: `string`):

One row per result; error rows explain inputs that could not be read.

# 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": [
        "best travel credit card"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apimy/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": ["best travel credit card"] }

# Run the Actor and wait for it to finish
run = client.actor("apimy/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": [
    "best travel credit card"
  ]
}' |
apify call apimy/reddit-search-scraper --silent --output-dataset

```

## MCP server setup

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