# 🚀 Reddit Scraper · 5,000 Free Posts/Month (`omkar-cloud/reddit-scraper`) Actor

Reddit Scraper gets you Reddit data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — posts from any subreddit, search, user or link, with top comments. 💰 $1 per 1,000 posts, no start fee. Scrape your first 5,000 posts free every month 🚀

- **URL**: https://apify.com/omkar-cloud/reddit-scraper.md
- **Developed by:** [Omkar Cloud](https://apify.com/omkar-cloud) (community)
- **Categories:** Social media, Lead generation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.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.

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 Scraper

Reddit Scraper by Omkar Cloud gets you 🎯 accurate, 🔍 detailed Reddit data.

Reddit walls off its data with its own network-security block plus Google reCAPTCHA to stop you from getting it. Reddit Scraper beats it — no account, no login, no API key — and reads Reddit live on every run, so you get the posts of any subreddit, search, user or link, with their top comments, and can successfully complete your project.

**$1 per 1,000 posts.** And with Apify's free plan you get $5 of credit every month, so your first **~5,000 posts each month are free**.

This is an excellent Actor made by Omkar Cloud, which is Rated Excellent — [4.7 based on 30 reviews on Trustpilot](https://www.trustpilot.com/review/omkar.cloud).

👉 [**Try Reddit Scraper free**](https://apify.com/omkar-cloud/reddit-scraper) — your first ~5,000 posts are Free.

### What can I get

- 🏘️ **Posts from any of Reddit's 100K+ active communities** — hot, new, top, rising or controversial, by time range
- 🔍 **Search all of Reddit** — Reddit's own search syntax works (`author:`, `flair:`, `subreddit:`)
- 👤 **Any user's posts** — everything they submitted, sorted how you like
- 🎥 **Full media** — original images, gallery items in order, videos, polls and link embeds
- 💬 **Top comments** — each post's best comments with nested replies, authors and scores

### Why Reddit Scraper

Most other Reddit scrapers fail you in one of four ways:

- 🧩 **Low-detail data** — a title and a score, never the media, flair or comments
- 🗄️ **Inaccurate, cached, stale data** — yesterday's scores are useless
- 💸 **Pay more to get the same data** — $1.50–$4 per 1,000 posts elsewhere, often plus a start fee
- 🪦 **Works today, breaks next month** — nobody maintains it

Reddit Scraper reads Reddit live, is priced honestly, and actively maintained.

### Example: Barack Obama's AMA

```json
{
  "source": "https://www.reddit.com/r/IAmA/comments/z1c9z/…",
  "source_type": "post",
  "id": "z1c9z",
  "title": "I am Barack Obama, President of the United States -- AMA",
  "link": "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/",
  "type": "text",
  "created_at": "2012-08-29T20:01:36Z",
  "subreddit": { "name": "IAmA", "subscriber_count": 22477892 },
  "author": { "username": "PresidentObama" },
  "stats": { "score": 216191, "upvote_ratio": 0.68, "comment_count": 22719 },
  "comments": [
    {
      "id": "c60o0iw",
      "author": { "username": "Biinaryy" },
      "stats": { "score": 5400 },
      "text": "Here is a collection of all the questions and answers:\n\nQuestion:…",
      "replies": []
    }
  ]
}
```

*Trimmed for readability.* Every row also carries `text`, `flair`, `flags` (NSFW, spoiler, stickied, locked), `media` and `thumbnail`.

### Get Started with 5,000 Free Posts

1. [Hit **Try for Free Button**](https://apify.com/omkar-cloud/reddit-scraper) — the input is pre-filled with r/technology, a "raspberry pi" search and Obama's AMA.
2. Enjoy your data 😎.

### Pricing

High value, Low price.

| What | Price | What you get |
|---|---|---|
| **Posts** | **$1 per 1,000** | A post — title, text, author, score, upvote ratio, comment count, flair, media, subreddit |
| **Posts with top comments** | **$3 per 1,000** | The post plus its top comments with nested replies. Added with **Include top comments** |

No start fee, one flat price on every plan — you pay only for the rows you get. Control your spend with **Max Posts per Source**.

💡 Apify's free plan includes $5 of credit every month — about **5,000 free posts, every month**.

👉 [**Scrape your first 5,000 posts free**](https://apify.com/omkar-cloud/reddit-scraper)

### Run It from Code

Grab your API token from [Integrations Settings here](https://console.apify.com/settings/integrations) and replace `<YOUR_API_TOKEN>` below.

**Python** (`pip install apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("omkar-cloud/reddit-scraper").call(run_input={
    "subreddits": ["technology"],
    "searchQueries": ["raspberry pi"],
    "sort": "top",
    "time": "week",
    "maxPostsPerSource": 50,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["subreddit"]["name"], row["stats"]["score"], row["title"])
```

**Node.js** (`npm install apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('omkar-cloud/reddit-scraper').call({
    postUrls: ['https://www.reddit.com/r/IAmA/comments/z1c9z/'],
    includeComments: true,
    maxCommentsPerPost: 50,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### FAQ

#### What can I put in the input?

Any mix of **Subreddits** (`technology`, `r/python` or a reddit.com/r/ link), **Search Queries** (`raspberry pi`), **Users** (`GovSchwarzenegger`, `u/spez` or a profile link) and **Post Links** (any post link, `redd.it` short link or post ID).

#### How many posts can I get per subreddit, search or user?

As many as Reddit serves — the Actor pages until **Max Posts per Source** is reached. Reddit itself stops a listing at about 1,000 posts, so use Top with different time ranges, or searches, to go deeper.

#### What does it cost?

$0.001 per post — $1 per 1,000 — and $0.003 per post with top comments, flat on every plan, with no start fee. Apify's free plan gives you $5 of credit every month, which is about 5,000 posts free every month.

#### Is it legal to scrape Reddit?

The Actor collects the public posts and comments Reddit shows any logged-out visitor. Please review Reddit's terms of use and make sure your use complies with the law of your jurisdiction, including data-protection law.

#### I need every comment of a thread, not just the top ones.

Use [Reddit Comments Scraper](https://apify.com/omkar-cloud/reddit-comments-scraper) — it expands every folded branch of a thread and returns one row per comment, at $0.50 per 1,000 comments.

### 💬 Have Questions? We Have Answers.

You're a business owner — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

[![Message Us on WhatsApp](https://raw.githubusercontent.com/omkarcloud/assets/master/images/whatsapp-us.png)](https://api.whatsapp.com/send?phone=918178804274\&text=I%20need%20help%20with%20using%20the%20Reddit%20Scraper%20Actor.)

[![Ask Us on Email](https://raw.githubusercontent.com/omkarcloud/assets/master/images/ask-on-email.png)](mailto:happy.to.help@omkar.cloud?subject=Help%20with%20Reddit%20Scraper%20Actor\&body=I%20need%20help%20with%20using%20the%20Reddit%20Scraper%20Actor.)

You are important to us — just message us and we will solve your problem ✅ within 1 working day. 🩷 Pinky Promise 🤙!

### Popular Actors by Omkar Cloud

- [**Reddit Comments Scraper**](https://apify.com/omkar-cloud/reddit-comments-scraper) — every comment of any Reddit thread, user or keyword, $0.50 per 1,000 comments
- [**Threads Scraper**](https://apify.com/omkar-cloud/threads-scraper) — Threads posts, replies, reposts and profiles
- [**Kick Scraper**](https://apify.com/omkar-cloud/kick-scraper) — Kick channels, followers, socials & live streams
- [**IMDb Scraper**](https://apify.com/omkar-cloud/imdb-scraper) — IMDb titles, charts, cast, ratings & box office
- [**Website Email Contact Scraper**](https://apify.com/omkar-cloud/website-email-contact-scraper) — emails, phones & socials from any website

👉 [**Scrape your first 5,000 posts free now**](https://apify.com/omkar-cloud/reddit-scraper)

# Actor input Schema

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

Subreddit names (`technology`, `r/python`) or any reddit.com/r/ link (`https://www.reddit.com/r/python/`).

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

Keywords to search across all of Reddit (`raspberry pi`). Reddit's search syntax works: `author:spez`, `flair:Showcase`, `subreddit:python asyncio`.

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

Usernames (`GovSchwarzenegger`, `u/spez`) or any reddit.com/user/ link — scrapes the posts they submitted.

## `postUrls` (type: `array`):

Any reddit.com post link, `redd.it` short link or post ID (`z1c9z`).

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

Order of posts. Searches use Relevance unless you pick Hot, Top or New; users' posts use New unless you pick Hot, Top or Controversial.

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

Time window for Top and Controversial (and for searches).

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

Attach each post's top comments (with nested replies, authors and scores). Billed as a detailed row.

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

How many top comments to attach to each post when Include top comments is on.

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

Cap on posts per subreddit, search or user. Keeps your cost predictable.

## Actor input object example

```json
{
  "subreddits": [
    "technology"
  ],
  "searchQueries": [
    "raspberry pi"
  ],
  "postUrls": [
    "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/"
  ],
  "sort": "hot",
  "time": "week",
  "includeComments": false,
  "maxCommentsPerPost": 20,
  "maxPostsPerSource": 25
}
```

# 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 = {
    "subreddits": [
        "technology"
    ],
    "searchQueries": [
        "raspberry pi"
    ],
    "postUrls": [
        "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("omkar-cloud/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 = {
    "subreddits": ["technology"],
    "searchQueries": ["raspberry pi"],
    "postUrls": ["https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/"],
}

# Run the Actor and wait for it to finish
run = client.actor("omkar-cloud/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 '{
  "subreddits": [
    "technology"
  ],
  "searchQueries": [
    "raspberry pi"
  ],
  "postUrls": [
    "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/"
  ]
}' |
apify call omkar-cloud/reddit-scraper --silent --output-dataset

```

## MCP server setup

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