# Reddit Scraper: Posts, Comments & Subreddits $0.64/1K (`vant47/reddit-scraper-cheap`) Actor

Scrape Reddit posts, comments, subreddits, users and search, e.g. coffee or Python discussions. Get text, scores, dates, flair, media and reply parents. $0.64/1K posts, $0.16/1K comments, $0.013/successful run plus $0.042 if a new visitor is needed. No login.

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

## Pricing

from $0.51 / 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 Scraper: Posts, Comments & Subreddits $0.64/1K

For researchers, product teams and developers collecting public Reddit discussions for analysis or recurring monitoring. Collect posts from communities, search terms, user submissions and known discussion links. Add available comments with their reply relationships and observation dates. No Reddit login or API key is needed.

Posts cost **$0.00064 each**, comments **$0.00016 each**, plus **$0.013 for each successful data session**, plus $0.042 if a new anonymous visitor is needed and the platform start charge of $0.00005 per GB, minimum one unit. A normal 25-post run at 1 GB costs **$0.0291 before discounts** ($0.0711 when a new visitor is needed). A job returning 1,000 posts costs **$0.65305** ($0.69505 with a new visitor). Duplicate IDs, unavailable rows, notes and summaries have no post or comment charge. The successful-session fee applies only when at least one post or comment is delivered.

### What you get

Collect structured public Reddit data with consistent identifiers. Community listings expose rich post fields; search snippets are marked. Known discussion links provide available post text. Optional comments preserve source reply relationships.

| Field | What it means |
| --- | --- |
| `verdict` | A readable record label, first in each row. |
| `type` | `post`, `comment`, `NOTE` or `SUMMARY`. |
| `id` | Bare source identifier for a post or comment. Use `type` with it. |
| `postId` | Bare Reddit post ID, also present on comment rows. |
| `commentId` | Bare comment ID on comment records. |
| `subreddit` | Public community name. |
| `title` | Post title exactly as exposed by the source. |
| `text`, `body` | Available post or comment text. `body` is an alias for `text`. |
| `author` | Public username supplied by Reddit. No identity enrichment. |
| `createdAt` | Source creation timestamp in UTC. |
| `scrapedAt` | Time this source snapshot was collected. |
| `score` | Source vote score, or null when unavailable or hidden. |
| `upvoteRatio` | Ratio supplied for a post, when available. |
| `numComments` | Source post comment total, including inaccessible branches. |
| `flair` | Available post flair text. |
| `permalink` | Canonical Reddit discussion or comment link. |
| `url`, `linkUrl` | Post destination link. On comments, `url` is the comment permalink. |
| `media`, `mediaUrl` | Available image/video links and the first available media link. |
| `domain`, `isSelf` | Destination domain and source text-post flag. |
| `textIsSnippet` | True when the source exposes a search or preview snippet. |
| `parentId`, `depth` | Source reply parent and nesting depth on comments. |
| `matchedTerms`, `matchSnippet` | Literal input terms found in available text and nearby text. |
| `intent` | A simple text-rule label: question, recommendation request, complaint or other. |
| `source` | Public source surface used for the record. |

Missing fields remain null. ## Start in three steps

1. Supply `searches`, `subreddits` or `startUrls`. For example, enter `coffee grinder`, select the Coffee community, or paste a known discussion link.
2. Set a modest global `maxItems`, select a sort and leave comments off for a posts-only run. Enable `includeComments` when replies are part of the job.
3. Start the Actor and export the default dataset as JSON, CSV or Excel. The Overview, Mentions and Comments views help inspect the same underlying records.

Cloud verification also delivered 1,200 community posts, 1,200 search posts and 1,000 comments in separate bulk runs. A real reboot preserved 1,200 distinct posts and exactly matching charges. Ten live page checks matched stable fields and body excerpts.

The exact 25-post Python community prefill completed successfully in a real 17 November 2026 cloud run, delivering 25 distinct post IDs in **36.1 seconds**. It included source post text, scores, ratios, available flair and comment counts. Performance and source availability vary; limits are ceilings, not guaranteed counts.

```json
{
  "startUrls": [{"url": "https://www.reddit.com/r/Python/"}],
  "sort": "new",
  "time": "all",
  "maxItems": 25,
  "includeComments": false,
  "proxyConfiguration": {"useApifyProxy": true}
}
```

### Input reference

| Input | Behavior |
| --- | --- |
| `startUrls` | Optional Reddit subreddit, post, user or search links. URL strings and objects containing `url` are accepted. Up to 100 links. |
| `searches` | Up to 50 search terms or Reddit search expressions, each at most 500 characters. |
| `subreddits` | Up to 50 public community names. With searches, restrict every search to these communities; without searches, collect their posts. |
| `sort` | `new`, `hot`, `top`, `relevance`, `rising` or `comments`. Default new. Community relevance/comments use new. |
| `time` | `hour`, `day`, `week`, `month`, `year` or `all`. Default all. Primarily affects search/top ranking. |
| `maxItems` | Global maximum distinct posts plus comments. Runtime default 25; maximum 10,000. |
| `maxItemsPerSearch` | Maximum delivered rows from each search, community or user feed, within the global cap. Runtime default 1,000. |
| `includeComments` | Also retrieve accessible comments on discovered or supplied posts. Default false. |
| `maxComments` | Maximum delivered comments per post, within maxItems. Runtime default 100; maximum 10,000. |
| `proxyConfiguration` | Automatic default datacenter access with residential fallback when needed, or the buyer's explicit proxy selection. |

Inputs combine in order and the Actor removes duplicates across the run. A global cap can be filled before later sources are visited. Use the per-source cap to balance several communities or searches. Invalid supported input returns a free note and summary. Apify may reject an incorrectly typed field before a run starts.

#### Compatibility with the Reddit keyword family

`searchTerms`, `keywords` and `queries` are search aliases. Their terms combine with `searches` and duplicate terms are removed. `timeRange` is the family alias for `time` and takes precedence if both exist. `maxCommentsPerPost` aliases `maxComments`; the smaller supplied cap wins. `maxResults` aliases `maxItems`; again, the smaller supplied cap wins. `urls` is used when `startUrls` is absent.

For example, `maxItems: 25` with `maxResults: 3` delivers at most three data rows. An alias-only `maxResults: 1000` allows up to 1,000 because the schema does not insert a canonical default for maxItems. The familiar `postId`, `commentId`, `text`, `permalink`, matching fields and dataset views remain available to existing integrations.

### Search topics across communities

```json
{
  "searches": ["coffee grinder", "espresso machine"],
  "subreddits": ["Coffee", "espresso"],
  "sort": "new",
  "time": "month",
  "maxItems": 200,
  "maxItemsPerSearch": 50
}
```

Search follows Reddit's ranking and the window it exposes. Literal match labels are conveniences for downstream filtering, not a replacement for reading the records. ## Collect a discussion and its replies

Supply a public post URL and enable comments. Choose maxItems large enough to include both the post and its requested comments. For 100 comments plus their post, set maxItems 101 and maxComments 100.

Comment rows retain `t3_` post or `t1_` comment prefixes in parentId. Top-level replies normally have depth zero. A parent absent from the delivered window can still have its real identifier; it does not imply that the parent was delivered. Missing source relationships remain null rather than being guessed.

The summary describes comment coverage per post: Reddit's reported total, delivered count, configured cap and unavailable branches. Counts can differ because of removed content, source pagination, ranking, caps or inaccessible replies. Read that coverage before treating a dataset as an entire discussion.

### Follow public user activity

A public `/user/USERNAME/` link collects submissions; `/user/USERNAME/comments/` targets public comments. Use the root or activity URL; about-page metadata is outside this dataset. This uses only material visible to a signed-out visitor. Hidden activity, suspended profiles, private communities and private messages are outside the collection scope.

Community root URLs collect posts; about-page links return a free note.

### Pricing and charge limits

| Job | Base price at 1 GB, including successful session and platform start |
| --- | --- |
| 25 posts | $0.02905 |
| 1,000 posts | $0.65305 |
| 100 posts and 500 comments | $0.15705 |
| 1 post | $0.01369 |

Post and comment prices are discounted by 5% on Bronze, 10% on Silver and 20% on Gold and higher tiers. The session, optional new-visitor fee and platform start remain fixed. Add $0.042 to the table if a browser is used to establish a new anonymous visitor. This additional fee applies at most once and only when data is delivered. Larger memory allocations can increase the platform start units. The normal memory setting is 1 GB because a cold anonymous visitor needs a browser before lightweight HTTP requests can take over.

A buyer's maximum total charge is checked before saving another paid row. When the remaining amount cannot cover it, the run stops cleanly, keeps its delivered dataset and marks the spending limit in SUMMARY. No missing row is charged. A run delivering no post or comment has no successful-session fee; the platform's start charge can still apply.

### Monitor discussions every day

Save the input as an Apify task and schedule it in Console. Use `sort: "new"` for recurring discovery and a source window that overlaps consecutive runs. Merge downstream by type plus postId/commentId when building a history.

Each run refreshes content and deduplicates its own dataset. Merge recurring snapshots by stable IDs; this Actor does not keep a cross-run watch history.

### Run through the API

Keep your Apify token in an environment variable or secret manager. Start a run, wait for completion and fetch its dataset:

```bash
curl -X POST \
  'https://api.apify.com/v2/acts/vant47~reddit-scraper-cheap/runs' \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"searches":["coffee grinder"],"sort":"new","maxItems":25}'
```

The response gives the run ID and default dataset ID. Poll `GET /v2/actor-runs/RUN_ID`, then request `GET /v2/datasets/DATASET_ID/items?clean=true`. Free notes and SUMMARY share the dataset, so filter by type for data rows. The key-value store also contains a SUMMARY record linked from the Output tab.

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('vant47/reddit-scraper-cheap').call({
  searches: ['coffee grinder'], sort: 'new', maxItems: 25
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const posts = items.filter(item => item.type === 'post');
```

### Use with AI agents (MCP)

Connect your compatible agent to `https://mcp.apify.com`. Ask it to collect public Reddit discussions from a named community, topic or URL and specify the global row cap. Have it fetch this Actor's input schema, run it and inspect SUMMARY before summarizing the data. For example: collect 100 recent public posts about coffee grinders, keep IDs, source URLs, dates and scores, and say whether any requested sources were unavailable.

### Limits

Use full public post URLs including the community and title path. Abbreviated share links and post-ID-only paths are unsupported. Only public, signed-out content is read. No Reddit account, imported account cookies, private messages, CAPTCHA solving or paid data provider is used. An anonymous visitor can be established in a browser and reused for HTTP requests. Your explicit disabled proxy, country, group or custom proxy remains in force; automatic country fallback applies only to the documented automatic default.

Reddit can refuse requests or change its pages. Refusals are free notes rather than fabricated results. Search text may be a snippet, and some source fields stay null. Search and listing windows are finite. Comment pagination may expose only part of a tree; at most 100 source pages per post are examined. Deleted and removed comment bodies are skipped. Media links are references, not downloads or permission to reuse media. User and community inputs collect public posts/comments; profile statistics are outside this dataset.

### FAQ

**Why are there fewer rows than my cap?** The cap is a ceiling. The source window, no matches, unavailable branches, duplicates or your charge limit can stop collection earlier. Inspect SUMMARY.

**Will every comment be returned?** Only the comments and branches Reddit exposes, within both caps. A post's numComments can include inaccessible material. Inspect commentCoverage.

**Will a retry or reboot charge the same row again?** Saved dataset records form the delivery ledger. The Actor reconciles its saved rows with authoritative charge counts on resume, and completed IDs are deduplicated.

# Actor input Schema

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

Public subreddit, post, user or search HTTPS URLs. Strings and objects with url are accepted. Sources combine with searches. User URLs collect public submissions; /comments collects public comments. About-page links return a free note; use root links for public activity. Post URLs must contain the community and full title path; abbreviated share links are unsupported.

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

Search Reddit for keywords such as coffee grinder or Python. Combine with subreddits to restrict each search. Maximum 50 terms.

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

new, hot, top, relevance, rising or comments. Community relevance/comments use new. URL-specific sorts are honored where supported.

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

Time window for search/top results; does not filter every comment by creation time. Model alias timeRange takes precedence when supplied.

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

Global limit for distinct posts plus comments across all inputs. Runtime default 25. If maxResults is also supplied, the smaller cap applies, including explicit conflicts.

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

Collect available comments on discovered or supplied posts. Comment branches can be unavailable. Direct user comment URLs collect comments regardless of this option.

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

Maximum distinct comments per post, still within maxItems. Runtime default 100. The smaller of maxComments and model alias maxCommentsPerPost applies.

## `proxyConfiguration` (type: `object`):

Automatic: default datacenter first, then US/GB residential anonymous visitors if needed. Explicit disable, groups, country and custom proxies are respected.

## `searchTerms` (type: `array`):

Same as searches. Terms in both fields are combined and deduplicated.

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

Optional public names, such as Coffee and Python. With searches, restrict each search to these communities; otherwise collect their public feeds.

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

Same values as time. If both fields are present, timeRange takes precedence.

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

Smaller supplied comment cap wins if both maxComments and maxCommentsPerPost are supplied.

## `maxResults` (type: `integer`):

Smaller supplied global cap wins if both maxItems and maxResults are supplied. No canonical default is inserted for maxItems.

## `keywords` (type: `array`):

Additional search-term alias; terms combine with searches and searchTerms.

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

Additional search-term alias; terms combine with searches and searchTerms.

## `urls` (type: `array`):

Same as startUrls when startUrls is absent.

## `maxItemsPerSearch` (type: `integer`):

Per-search, community or user-feed limit, within the global maxItems cap. Runtime default 1,000. Enables balanced collection across several inputs.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.reddit.com/r/Python/"
    }
  ],
  "sort": "new",
  "time": "all",
  "maxItems": 25,
  "includeComments": false,
  "maxComments": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `comments` (type: `string`):

No description

## `summary` (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/Python/"
        }
    ],
    "maxItems": 25,
    "maxComments": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("vant47/reddit-scraper-cheap").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/Python/" }],
    "maxItems": 25,
    "maxComments": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("vant47/reddit-scraper-cheap").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/Python/"
    }
  ],
  "maxItems": 25,
  "maxComments": 100
}' |
apify call vant47/reddit-scraper-cheap --silent --output-dataset

```

## MCP server setup

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

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/gaJv5lC5QmftfgvJK/builds/vrICnpMLrccETohO3/openapi.json
