# Reddit Scraper: From $1.10 per 1,000 Results (`rowfinch/reddit-scraper`) Actor

Scrape Reddit posts, comments, subreddits and users from links or searches: text, votes, comment counts, flair, images, videos, karma and members. Same input and output fields as the most used Reddit scraper. No login, no proxy. From $1.10 per 1,000 results.

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

## Pricing

from $1.10 / 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 Scraper

Get Reddit posts, comments, subreddits and users from links or searches: title and text, votes, comment counts, flair, images and videos, whole comment threads, members and karma. No login, no proxy, no browser.

**$1.30 per 1,000 results on Apify's Starter plan, less on bigger plans.**

### What it's for

- **Market and product research**: what people ask, recommend and complain about in your niche's subreddits.
- **Brand and competitor monitoring**: every new post and comment that names you, on a schedule with `sort: new`.
- **Lead finding**: people asking for a tool like yours ("best app for…", "alternative to…"), with the link to answer them.
- **Sentiment analysis and AI training data**: post and comment text with votes, thread depth and dates, ready for a model.

### Input

| Field | What it does |
|---|---|
| `startUrls` | Subreddit, post, user and search links (`/r/drones/`, `/r/drones/top/?t=month`, `/comments/…`, `/user/…`, `/search/?q=…`) |
| `searches` | Search terms; Reddit's syntax works (`"exact phrase"`, `AND`, `OR`, `NOT`) |
| `searchCommunityName` | Searches inside one subreddit; on its own, reads that subreddit's posts |
| `searchPosts`, `searchComments`, `searchCommunities`, `searchUsers` | What the search terms look for (posts by default) |
| `sort` | `relevance`, `hot`, `top`, `new` (default) or `comments` |
| `time` | `all`, `hour`, `day`, `week`, `month` or `year` |
| `maxItems` | Most results in the run, every kind together (default 10; 0 means no limit) |
| `maxPostCount` | Posts per subreddit, user or search (default 10) |
| `maxComments` | Comments per post, and per user or comment search (default 10) |
| `maxCommunitiesCount`, `maxUserCount` | Subreddits and users per search (default 2) |
| `postDateLimit`, `commentDateLimit` | Leaves out older posts or comments (`2026-10-01` or `7 days`) |
| `skipComments`, `skipUserPosts`, `skipCommunity` | Posts without comments, users without posts, subreddits without their details row |
| `includeNSFW` | Posts marked 18+ (default on) |

Coming from another Reddit scraper? These are the input fields of the most used Reddit scraper on Apify, and the output keeps its field names (`parsedId`, `communityName`, `numberOfComments`, `upVotes`, `dataType`…). Saved inputs and API calls keep working; its `proxy`, timeout and debug settings are accepted and have nothing to do here.

### Output

One dataset; `dataType` tells posts, comments, subreddits and users apart. Each post is followed by its comments, in thread order.

A post:

```json
{
  "id": "t3_1x3h0y0",
  "parsedId": "1x3h0y0",
  "url": "https://www.reddit.com/r/drones/comments/1x3h0y0/railroad_drone_shot_with_fall_colors_near/",
  "username": "example_pilot",
  "userId": "t2_1yq430qas6",
  "title": "Railroad drone shot with fall colors near Philadelphia",
  "communityName": "r/drones",
  "parsedCommunityName": "drones",
  "body": "",
  "html": null,
  "link": "https://i.redd.it/tf4xz4qs2wuh1.jpeg",
  "numberOfComments": 39,
  "upVotes": 558,
  "upVoteRatio": 0.99,
  "flair": "Photo & Video",
  "isVideo": false,
  "isAd": false,
  "over18": false,
  "isLocked": false,
  "isStickied": false,
  "imageUrls": ["https://i.redd.it/tf4xz4qs2wuh1.jpeg"],
  "videoUrls": [],
  "thumbnailUrl": "https://preview.redd.it/tf4xz4qs2wuh1.jpeg?width=140&height=140&crop=1%3A1%2Csmart&auto=webp&s=...",
  "createdAt": "2026-10-11T19:24:46.366Z",
  "scrapedAt": "2026-11-01T15:37:37.981Z",
  "input": "https://www.reddit.com/r/drones/top/?t=month",
  "dataType": "post"
}
```

A comment:

```json
{
  "id": "t1_pfddpz8",
  "parsedId": "pfddpz8",
  "url": "https://www.reddit.com/r/drones/comments/1x3h0y0/railroad_drone_shot_with_fall_colors_near/pfddpz8/",
  "postId": "t3_1x3h0y0",
  "parentId": "t3_1x3h0y0",
  "username": "example_user",
  "userId": "t2_5smzh",
  "category": "drones",
  "communityName": "r/drones",
  "body": "This year? Yesterday I was in the Poconos and they weren't anywhere near this kind of peak color.",
  "isBodyPreview": false,
  "createdAt": "2026-10-12T02:36:43.153Z",
  "scrapedAt": "2026-11-01T15:37:38.716Z",
  "upVotes": 3,
  "numberOfReplies": 0,
  "depth": 0,
  "isOP": false,
  "html": null,
  "input": "https://www.reddit.com/r/drones/top/?t=month",
  "dataType": "comment"
}
```

`parentId` is the post (`t3_…`) for a top-level comment and the comment it answers (`t1_…`) for a reply; `depth` is 0 for top-level comments.

A subreddit:

```json
{
  "id": "2rudk",
  "name": "t5_2rudk",
  "title": "r/drones",
  "communityName": "r/drones",
  "headerImage": "https://styles.redditmedia.com/t5_2rudk/styles/bannerBackgroundImage_9149nodp5sag1.jpg?...",
  "iconUrl": "https://b.thumbs.redditmedia.com/vk9jAtTHndECXAurSCrKqsih3lPKNMar8x_2CAyk1ZU.png",
  "description": "/r/drones is a subreddit for aerial drone enthusiasts, focusing on consumer, commercial, and FPV drones...",
  "rules": "/r/drones: for news, information, photography, and videography involving drones and UAVs...",
  "over18": false,
  "createdAt": "2010-06-15T03:05:29.559Z",
  "numberOfMembers": 294995,
  "weeklyVisitors": 55494,
  "weeklyContributions": 785,
  "url": "https://www.reddit.com/r/drones/",
  "dataType": "community"
}
```

A user:

```json
{
  "id": "1w72",
  "url": "https://www.reddit.com/user/spez/",
  "username": "spez",
  "userIcon": "https://styles.redditmedia.com/t5_3k30p/styles/profileIcon_uj015iwx9s7g1.png?...",
  "postKarma": 184764,
  "commentKarma": 756623,
  "totalKarma": 941387,
  "numberOfPosts": 851,
  "numberOfComments": 3228,
  "description": "Reddit CEO",
  "isVerified": true,
  "over18": false,
  "createdAt": "2005-06-06T04:00:00.000Z",
  "dataType": "user"
}
```

Links and searches that can't be read get a row with the reason, free of charge:

```json
{ "input": "https://www.reddit.com/r/dji/comments/zzzzzzz/", "error": "Not found" }
```

### What each link returns

| Link | Rows |
|---|---|
| Subreddit (`/r/drones/`, `/r/drones/top/?t=week`) | The subreddit, then its posts in that order, each with its comments |
| Post (`/r/…/comments/…`, `redd.it/…`) | The post and its comments |
| User (`/user/…`) | The profile, their latest posts with comments, and their latest comments |
| Search (`/search/?q=…&type=…`) | The results of that type, posts with their comments |

### Price

Per 1,000, by your Apify plan:

| | Free | Starter | Scale | Business |
|---|---|---|---|---|
| Results: posts, comments, subreddits and users alike | $1.50 | $1.30 | $1.20 | $1.10 |

- **$0.002 per link or search** that returns results
- Links and searches with no results, deleted or invalid: free

| Run, on Starter | Cost |
|---|---|
| 5 subreddits, 200 newest posts each, no comments | $1.31 |
| 100 post links, 50 comments each | $6.83 |
| 10 searches, 100 posts each, no comments | $1.32 |

A run stops at the maximum cost you set for it. On Apify's free plan, a run returns up to 25 results. The free plan includes 5 runs of this actor a month.

### FAQ

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

**Why does a post have fewer comments than `numberOfComments`?**
Reddit counts removed and filtered comments too, and doesn't show them.

**Why do a user's comments have `isBodyPreview: true`?**
Reddit lists a user's comments with their first ~300 characters only. Comments read from a post, or found by comment search, come whole.

**Why does a search bring posts that don't have all my words?**
Reddit's own search matches some of the words. Put the phrase in quotes for an exact match, or use `AND`.

**How many posts can I get from one subreddit?**
About 250 per order: that's as deep as Reddit lists them. For more, run the subreddit with several orders and periods (`new`, `hot`, and `top` with `time` set to `week`, `month`, `year` and `all`); a post found twice in a run is saved once.

**Is it legal?**
It reads only public posts and comments. Usernames and what people write are personal data under the GDPR, the CCPA and similar laws: use them for a legitimate purpose and honor deletion requests.

# Actor input Schema

## `startUrls` (type: `array`):

Subreddits (also their /hot, /new and /top tabs), posts, users and search pages.

## `searches` (type: `array`):

Reddit's search syntax works: quotes, AND, OR, NOT.

## `searchCommunityName` (type: `string`):

Searches only this subreddit. With no search terms, reads its posts.

## `searchPosts` (type: `boolean`):

Search posts.

## `searchComments` (type: `boolean`):

Search comments.

## `searchCommunities` (type: `boolean`):

Search subreddits.

## `searchUsers` (type: `boolean`):

Search users.

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

For searches and subreddits. A link's own sort wins.

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

For post searches and top posts.

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

Posts, comments, subreddits and users together. 0 means no limit.

## `maxPostCount` (type: `integer`):

0 means no limit.

## `maxComments` (type: `integer`):

Also per user and per comment search. 0 means no limit.

## `maxCommunitiesCount` (type: `integer`):

For subreddit searches.

## `maxUserCount` (type: `integer`):

For user searches.

## `postDateLimit` (type: `string`):

Older posts are left out.

## `commentDateLimit` (type: `string`):

Older comments are left out.

## `skipComments` (type: `boolean`):

Posts without their comments.

## `skipUserPosts` (type: `boolean`):

A user link returns the profile and comments only.

## `skipCommunity` (type: `boolean`):

A subreddit link returns its posts only.

## `includeNSFW` (type: `boolean`):

Posts marked 18+.

## `ignoreStartUrls` (type: `boolean`):

Runs the searches only.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.reddit.com/r/drones/"
    }
  ],
  "searchPosts": true,
  "searchComments": false,
  "searchCommunities": false,
  "searchUsers": false,
  "sort": "new",
  "time": "all",
  "maxItems": 50,
  "maxPostCount": 10,
  "maxComments": 10,
  "maxCommunitiesCount": 2,
  "maxUserCount": 2,
  "skipComments": false,
  "skipUserPosts": false,
  "skipCommunity": false,
  "includeNSFW": true,
  "ignoreStartUrls": 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 = {
    "startUrls": [
        {
            "url": "https://www.reddit.com/r/drones/"
        }
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("rowfinch/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 = {
    "startUrls": [{ "url": "https://www.reddit.com/r/drones/" }],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("rowfinch/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 '{
  "startUrls": [
    {
      "url": "https://www.reddit.com/r/drones/"
    }
  ],
  "maxItems": 50
}' |
apify call rowfinch/reddit-scraper --silent --output-dataset

```

## MCP server setup

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