# Reddit Post Scraper: Scores, Subreddits & Users (`luzivanlt/reddit-posts-scraper`) Actor

Reddit posts from subreddits, users and links, each with its live score, NSFW flag, type and exact time. $1.00 per 1,000 posts. Title, author, subreddit, permalink, linked page and dates; comment threads optional. No login needed.

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

## Pricing

from $0.70 / 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 Post Scraper: Scores, Subreddits & Users

Reddit posts from subreddits, user profiles and post links, each with its live
score, whether it is marked NSFW, what type it is and the exact moment it was
posted. One row per post. No Reddit account or cookies needed.

Tested daily. Latest check 2026-11-18: 100 posts from r/news in 15 seconds,
1,000 posts in 4.5 minutes, 10 posts with their 1,000 comments in 10 seconds,
and 50 posts with their 2,693 comments in 56 seconds.

### What does this Actor do?

You give it subreddit names, user names or post links. It saves each post as one
row with the post's title, who wrote it, which subreddit it is in, its live
score, its NSFW flag, its type (link, text, image, video, gallery or poll), the
exact time it was posted and the page it links to. Posts found twice are saved
once.

Each post comes with:

- its title, its author and the link to the author's profile
- the subreddit it was posted in, with Reddit's own id for that subreddit
- its score as the site shows it at the moment the post is read, and whether it
  is marked NSFW
- what it is: a link to another site, a text post, an image, a video, a gallery
  or a poll
- when it was posted, to the second, and when it was last edited
- the post's page on Reddit, and the page it links to for a link post
- the text of a text post
- the subreddit or user whose list it came from, and the order that list was
  saved in

A subreddit list gives you up to 1,000 posts, 100 at a time. You can read hot,
top or new: hot ranks the posts the site is pushing now, top ranks the highest
score inside the time window you pick, and new gives you the newest posts. User
profiles give you the posts that user submitted. Post links give you that one
post, even one posted minutes ago.

Comment threads are optional and off by default. When you turn them on, each
saved post's comments are saved as their own rows, newest first, with the
comment's author, its text and a link to the comment.

### Why use it?

- **The live score, the NSFW flag and the exact posting time on every post.**
  Each row carries the number of upvotes minus downvotes the site is showing at
  read time, the NSFW flag, and the moment the post went up, so you can sort by
  what landed and when.
- **No Reddit account or cookie.** Nothing to sign up for, nothing to paste in,
  nothing to keep alive between runs.
- **Subreddits, users and links in one run.** Mix r/news, `spez` and three post
  links in the same input; repeats are saved once.
- **One row per post, ready to sort.** The row carries the post's own id, so you
  can match runs against each other and drop repeats across days.
- **Comment threads when you need them.** Save each post's comments as their own
  rows, each with the post it belongs to, and the run tells you how many of the
  threads it read.
- **Export as JSON, CSV or Excel**, or read it through Apify's API.

### How to use it

1. Type subreddit names in **Subreddits**, such as `news` or `r/AskReddit`.
2. Add user names in **Users** or paste links in **Post links** if you want
   those too.
3. Pick **Order** and **Time window**, then press Start.

A run with no changes reads 100 posts from r/news, in the order the site is
ranking them now.

#### Links that work

- Subreddits: `news`, `r/AskReddit`, `news+worldnews`, or a link such as
  `https://www.reddit.com/r/AskReddit/top/?t=week`
- Users: `spez`, `u/spez`, or `https://www.reddit.com/user/spez`
- Post links: `https://www.reddit.com/r/news/comments/1xwha4i/us_aviation_shutdown/`,
  the short form `https://redd.it/1xwha4i`, or the bare id `1xwha4i`

A line that is not a subreddit, user or post stops the run before anything is
read, and the message names the line.

### Input

| Title | What it does | Default |
| --- | --- | --- |
| **Subreddits** (`subreddits`) | Up to 100 subreddits, multi-subreddits like `news+worldnews`, or links to a subreddit. Each subreddit in a multi-subreddit is read as its own list. A line that is not a subreddit stops the run before anything is read. | `news` |
| **Users** (`users`) | Up to 100 user names; reads the posts that user submitted. | empty |
| **Post links** (`postUrls`) | Up to 1,000 post links or post ids. | empty |
| **Order** (`sort`) | `hot`, `new` or `top`. Ignored for post links. | `hot` |
| **Time window** (`time`) | The window Hot and Top rank over: `hour`, `day`, `week`, `month`, `year` or `all`. A window wider than the most recent 1,000 posts of a busy subreddit is ranked over those 1,000. | `day` |
| **Maximum posts per source** (`maxPostsPerRoot`) | How many posts to save from each subreddit or user, 1 to 1,000. | `100` |
| **Comment threads** (`includeComments`) | Adds each saved post's comments as their own rows, newest first. Charged separately ($0.50 per 1,000 comments) and slower, because each thread is read on its own. | off |
| **Maximum comments per post** (`maxCommentsPerPost`) | How many comments to save from each post when Comment threads is on, 1 to 100, newest first. | `100` |

Give at least one subreddit, user or post link.

```json
{
  "subreddits": ["news", "worldnews"],
  "users": ["spez"],
  "postUrls": ["https://www.reddit.com/r/news/comments/1xwha4i/"],
  "sort": "top",
  "time": "week",
  "maxPostsPerRoot": 100
}
```

### Output

One row per post, and one row per comment when Comment threads is on. A post row
looks like this:

```json
{
  "type": "post",
  "id": "1xwha4i",
  "fullname": "t3_1xwha4i",
  "title": "US aviation shutdown blamed on L3 Harris installed router",
  "author": "kidrock1",
  "author_url": "https://www.reddit.com/user/kidrock1",
  "subreddit": "news",
  "subreddit_id": "t5_2qh3l",
  "permalink": "https://www.reddit.com/r/news/comments/1xwha4i/us_aviation_shutdown_blamed_on_l3_harris/",
  "url": "https://www.reuters.com/business/aerospace-defense/us-aviation-shutdown/",
  "post_type": "link",
  "score": 5256,
  "nsfw": false,
  "created_at": "2026-11-15T00:06:34.644Z",
  "updated_at": "2026-11-15T00:06:34.644Z",
  "feed": "r/news",
  "sort": "hot"
}
```

| Field | What it holds |
| --- | --- |
| `type` | `post` for a post, `comment` for a comment. |
| `id` | Reddit's id for the post or comment, without the `t3_` or `t1_` prefix. |
| `fullname` | The same id with Reddit's prefix: `t3_` for a post, `t1_` for a comment. |
| `title` | The post's title. Empty on a comment. |
| `author` | The user who posted or wrote the comment, without `u/`. |
| `author_url` | The author's profile on Reddit. |
| `subreddit` | The subreddit the post is in, without `r/`. |
| `subreddit_id` | Reddit's own id for the subreddit, such as `t5_2qh3l`. |
| `permalink` | The post's page on Reddit. On a comment, the comment's link inside that page. |
| `url` | The page a link post points to. Empty for a text post and for a comment. |
| `post_type` | `link`, `text`, `image`, `video`, `gallery` or `poll`; `comment` on a comment. |
| `score` | The post's upvotes minus its downvotes, as the site shows it when the post is read. Empty on a comment. |
| `nsfw` | `true` when Reddit flags the post as not safe for work. Empty on a comment. |
| `created_at` | When the post or comment was created, in ISO 8601 with milliseconds. |
| `updated_at` | When Reddit last changed it, in ISO 8601. The same as `created_at` when it was never edited. |
| `body_html` | Empty today: Reddit no longer serves a comment's formatted HTML. The text is in `body_text`. |
| `body_text` | A comment's text. On a text post, the text the author wrote. Empty on a link post and on an image, video or gallery post. |
| `post_id` | On a comment, the id of the post it belongs to. Empty on a post. |
| `post_fullname` | On a comment, its post's id in the `t3_` form. Empty on a post. |
| `feed` | The subreddit or user whose list the post came from, such as `r/news`. Empty for a post you gave as a link. |
| `sort` | The order the list was saved in: `hot`, `top` or `new`. Empty for a post you gave as a link and for comments. |

Empty fields are left out of the row rather than written as an empty value, so a
CSV export has blank cells there.

### How much does it cost?

You pay for what you get:

- **Post: $1.00 per 1,000 posts** ($0.001 each). Charged once per post saved to
  your results; a post found twice in a run is charged once.
- **Comment: $0.50 per 1,000 comments** ($0.0005 each), only when you turn
  Comment threads on. A comment found twice is charged once.
- **Run: $2.00 per 1,000 runs** ($0.002 each). One charge per run that saves at
  least one post; a run that saves nothing is not charged.

A run that saves 1,000 posts costs $1.002: 1,000 posts at $1.00 per 1,000 is
$1.00, plus one run at $0.002. The same 1,000 posts with 2,000 comments costs
$2.002.

Bronze, Silver and Gold plan discounts apply automatically: 10%, 20% and 30% off
the post and comment price.

### How long does a run take?

- 100 posts: about 15 seconds.
- 1,000 posts: about 4.5 minutes.
- 10 posts with 1,000 comments: about 10 seconds.
- 50 posts with 2,700 comments: about a minute.

The wall time grows with the number of posts and comments, not with the number
of subreddits.

### Good to know

- **No keyword search.** Reddit's search is not open to this Actor, so it reads
  subreddit lists, user lists and post links. To follow a topic, use the
  subreddits it lives in.
- **Comments are newest first, up to 100 per post.** A thread's rows include
  replies, and each row names the post it belongs to; which comment answers
  which is not in the row, and neither is a comment's score.
- **A post's own text comes with a text post.** The row's `body_text` carries
  what the author wrote. A link, image, video or gallery post has no body.
- **The score is live.** It is the score the site is showing at the moment the
  post is read, so two runs an hour apart show how it moved.
- **The order is Reddit's own ranking.** Hot and top are ranked from the score
  the site recorded for each post when the list was indexed, so a post can sit a
  place or two away from the score shown in its row.
- **Posts Reddit has removed are left out.** A post a moderator removed, a post
  a moderator is still holding, and a deleted post are not saved and never
  charged.
- **A subreddit with no posts is reported.** A name that does not exist, or a
  quiet subreddit inside a short window, is named in the run summary, and the
  other sources are still read.
- **Deleted post links are reported, not saved.** A link to a post that is gone
  is listed in the run's summary as not found, and is not charged.
- **Comment pages can slow down.** A very large comment run can reach a point
  where the site asks for a slower pace for a while; the run stops there and its
  summary says how many threads it read. A run a few minutes later reads the
  rest.
- **No login, no cookies, no Reddit account.** Public data only.

### FAQ

**Can I get the comments of each post?** Yes, turn on **Comment threads**. Each
comment becomes its own row with the post it belongs to, charged at $0.50 per
1,000 comments. A post gives up to 100 comments, newest first, and you can lower
that with **Maximum comments per post**.

**Why is `url` empty on some rows?** A text post, an image, a video or a poll
lives on Reddit itself, so there is no outside page to point at. `permalink`
always has the post.

**Can I get posts from several subreddits at once?** Yes: list them one per
line, or write `news+worldnews` in one line. Each subreddit is read as its own
list, so you get up to **Maximum posts per source** from each one.

**What happens if a subreddit does not exist?** The run reports it and reads the
rest. Nothing is charged for a source that returns no posts.

**Do I get the same post twice if two subreddits share it?** No. A post found
twice in a run is saved once and charged once.

**What happened to rising and controversial?** Reddit stopped serving those two
rankings in November 2026. A run that asks for one of them stops before anything
is read and says so; `hot`, `top` and `new` still work.

**Why is `body_html` empty?** Reddit no longer serves a comment's formatted HTML,
so the comment's text is in `body_text`.

# Actor input Schema

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

Subreddit names, one per line, such as news or r/AskReddit. A multi-subreddit such as news+worldnews works too, and so does a link to a subreddit. Up to 100. A line that is not a subreddit stops the run before anything is read, naming the line.

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

Reddit user names, one per line, such as spez or u/spez. The run reads the posts that user submitted, not their comments. Up to 100 users.

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

Reddit post links or post ids, one per line, such as https://www.reddit.com/r/news/comments/1xwha4i/ or 1xwha4i. Up to 1,000. A line that is not a post stops the run before anything is read, naming the line.

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

Which posts a subreddit or user gives you: hot for the posts Reddit is ranking highest now, new for the newest, top for the highest score inside the time window below. Ignored for post links.

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

The window Hot and Top rank over: hour, day, week, month, year or all. New ignores it. A window wider than the most recent 1,000 posts of a busy subreddit is ranked over those 1,000.

## `maxPostsPerRoot` (type: `integer`):

How many posts to save from each subreddit or user, from 1 to 1,000. The default 100 is one pass over what the subreddit is showing now. A subreddit with fewer posts in the window saves what it has.

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

Add each saved post's comments as their own rows, one row per comment, newest first. Charged separately ($0.50 per 1,000 comments) and slower, because each thread is read on its own. Off by default.

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

How many comments to save from each post when Comment threads is on, 1 to 100, newest first. Comments that were deleted or removed are left out and never charged.

## Actor input object example

```json
{
  "subreddits": [
    "news"
  ],
  "sort": "hot",
  "time": "day",
  "maxPostsPerRoot": 100,
  "includeComments": false,
  "maxCommentsPerPost": 100
}
```

# Actor output Schema

## `posts` (type: `string`):

One row per post in the default dataset; open the link for the overview view.

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

Every comment saved, when Comment threads is on.

# 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": [
        "news"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("luzivanlt/reddit-posts-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": ["news"] }

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

```

## MCP server setup

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