# Reddit Posts V1 — Best Posts, Duplicates & Stickied (3 ops) (`red_crawler/reddit-posts`) Actor

FREE — Pull Reddit's best/front-page feed, find duplicate/crosspost listings of any post, and grab the stickied/pinned posts of any subreddit. No Reddit account or OAuth required.

- **URL**: https://apify.com/red_crawler/reddit-posts.md
- **Developed by:** [Red Crawler](https://apify.com/red_crawler) (community)
- **Categories:** Automation, Lead generation, Social media
- **Features:** Limited permissions
- **Stats:** 9 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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 Posts V1

![Endpoints](https://img.shields.io/badge/endpoints-3-blue) ![Anonymous](https://img.shields.io/badge/no_auth-required-green) ![Proxy](https://img.shields.io/badge/proxy-managed-blue) ![Price](https://img.shields.io/badge/price-FREE-brightgreen)

> **This actor is free.** There is no per-result fee. You only pay Apify's normal platform usage (the compute time of your run), and Apify's free plan gives you $5 of usage credit every month.

Three Reddit post lookups in one actor — **Reddit's front-page feed by sort**, **duplicates / crossposts of any post**, and **a subreddit's stickied / pinned posts**. All endpoints are anonymous — no Reddit account, no proxy to configure.

***

### What you can do

Post fields accept: full URL (`https://reddit.com/r/sub/comments/1sys4r2/...`), stripped ID (`1sys4r2`), or `t3_` fullname (`t3_1sys4r2`). Subreddit fields accept a bare name (`AskReddit`) — strip the leading `r/` if you pasted one.

#### All endpoints (no credentials needed)

##### 1. Best Posts — Reddit's front-page feed by sort

Pulls posts from Reddit's site-wide front page in your chosen sort order — up to 500 posts per run.

**Returns:** array of post records with `t3_*` fullnames. Each record has post-shaped columns front-loaded (id, title, author, subreddit, score, ups, downs, upvote_ratio, num_comments, created_utc, permalink, url, selftext, thumbnail, flair, etc.).

**Use it when:** sampling what's trending site-wide, training feeds, building daily Reddit digests, monitoring viral posts before they cool down.

**Optional fields:** `best_sort` (`best` / `hot` / `new` / `top` / `rising` / `controversial`), `best_time_filter` (`hour` / `day` / `week` / `month` / `year` / `all` — only for `top` / `controversial`), `best_limit` (1–500).

**Example**

**Input**

```json
{
  "endpoint": "best_posts",
  "best_sort": "best",
  "best_limit": 25
}
```

**Output** *(one record per post)*

```json
{
  "endpoint": "best_posts",
  "id": "1tclobu",
  "name": "t3_1tclobu",
  "title": "What is the worst way anyone you know has died?",
  "author": "[deleted]",
  "author_fullname": "t2_v6r2z6g4",
  "subreddit": "AskReddit",
  "subreddit_name_prefixed": "r/AskReddit",
  "score": 3253,
  "ups": 3253,
  "downs": 0,
  "upvote_ratio": 0.86,
  "num_comments": 0,
  "created_utc": 1778727951.0,
  "permalink": "/r/AskReddit/comments/1tclobu/what_is_the_worst_way_anyone_you_know_has_died/",
  "url": "https://www.reddit.com/r/AskReddit/comments/1tclobu/what_is_the_worst_way_anyone_you_know_has_died/",
  "is_self": true,
  "over_18": false,
  "spoiler": false,
  "locked": false,
  "selftext": "",
  "thumbnail": "self"
}
```

##### 2. Duplicate Posts — crossposts / duplicates of one post

Finds every duplicate or crosspost of a given post — including the same link reposted to other subreddits.

**Returns:** array of post records (same shape as Best Posts) — each row is a duplicate / crosspost of the input post.

**Use it when:** tracking how a story spreads across communities, finding the originals of trending memes, anti-repost moderation, content de-duplication.

**Optional fields:** `duplicates_limit` (1–100).

**Example**

**Input**

```json
{
  "endpoint": "duplicate_posts",
  "duplicates_post": "1s4a4j6",
  "duplicates_limit": 25
}
```

**Output** *(one record per duplicate)*

```json
{
  "endpoint": "duplicate_posts",
  "id": "1s4d8gh",
  "name": "t3_1s4d8gh",
  "title": "WordPress 6.6 migration tips — what I wish I knew",
  "author": "another_user",
  "author_fullname": "t2_a1b2c3d4",
  "subreddit": "ProWordPress",
  "subreddit_name_prefixed": "r/ProWordPress",
  "score": 87,
  "ups": 87,
  "downs": 0,
  "upvote_ratio": 0.94,
  "num_comments": 12,
  "num_crossposts": 0,
  "created_utc": 1778500120.0,
  "permalink": "/r/ProWordPress/comments/1s4d8gh/wordpress_66_migration_tips_what_i_wish_i_knew/",
  "url": "https://www.reddit.com/r/Wordpress/comments/1s4a4j6/",
  "is_self": false,
  "domain": "reddit.com",
  "thumbnail": "default"
}
```

> If the post has no duplicates, the run completes with zero rows pushed — that's normal. Reddit only surfaces duplicates for posts that have actually been reposted / crossposted.

##### 3. Stickied Post — pinned posts of a subreddit

Returns the subreddit's pinned / stickied posts (Reddit exposes at most 2 per subreddit).

**Returns:** array of up to 2 post records — the subreddit's pinned posts.

**Use it when:** scraping the rules / AMA / weekly thread of a community, building subreddit dashboards, monitoring mod announcements.

**Optional fields:** `sticky_num` — `all` (default, returns both), `1` (top sticky only), `2` (second sticky only).

**Example**

**Input**

```json
{
  "endpoint": "stickied_post",
  "sticky_subreddit": "wordpress",
  "sticky_num": "all"
}
```

**Output** *(one record per stickied post)*

```json
{
  "endpoint": "stickied_post",
  "id": "1r80vkz",
  "name": "t3_1r80vkz",
  "title": "Monthly AMA - Suggestions wanted!",
  "author": "[deleted]",
  "author_fullname": "t2_6wkumqdb",
  "subreddit": "Wordpress",
  "subreddit_name_prefixed": "r/Wordpress",
  "score": 29,
  "ups": 29,
  "downs": 0,
  "upvote_ratio": 1.0,
  "num_comments": 0,
  "created_utc": 1777140000.0,
  "permalink": "/r/Wordpress/comments/1r80vkz/monthly_ama_suggestions_wanted/",
  "url": "https://www.reddit.com/r/Wordpress/comments/1r80vkz/monthly_ama_suggestions_wanted/",
  "is_self": true,
  "stickied": true,
  "pinned": false,
  "locked": false,
  "over_18": false,
  "selftext": "We're launching a monthly AMA series featuring people from across the WordPress ecosystem..."
}
```

***

### Credentials

**None required.** All 3 endpoints are fully anonymous — no Reddit account, no proxy. Just pick the endpoint and run.

***

### How to run

1. **What to fetch** → pick `Best Posts`, `Duplicate Posts`, or `Stickied Post`.
2. Fill the matching section's fields (only the chosen endpoint's section matters — others are ignored).
3. Hit **Start**. Each post returned = one row in the dataset.

***

### Output

Records are pushed to the run's default dataset. The shape is the same across all 3 endpoints — Reddit's standard post object with post-shaped columns front-loaded.

| Front-loaded column | Meaning |
|---|---|
| `endpoint` | Which lookup produced the row (`best_posts` / `duplicate_posts` / `stickied_post`) |
| `id` / `name` | Bare post ID and `t3_` fullname |
| `title` / `author` / `author_fullname` | Post title + author handle + `t2_` ID |
| `subreddit` / `subreddit_name_prefixed` / `subreddit_id` | Subreddit name, `r/`-prefixed name, `t5_` ID |
| `score` / `ups` / `downs` / `upvote_ratio` | Vote counts |
| `num_comments` / `num_crossposts` | Engagement counters |
| `created_utc` / `created` / `edited` | Timestamps |
| `permalink` / `url` / `domain` | Links and link domain |
| `is_self` / `is_video` / `over_18` / `spoiler` / `locked` / `stickied` / `pinned` / `archived` | Status booleans |
| `link_flair_text` / `author_flair_text` | Flairs (when set) |
| `selftext` / `thumbnail` | Self-post body + thumbnail URL |
| `total_awards_received` / `all_awardings` | Award info |

***

### Common edge cases

| Edge case | Cause | How it surfaces |
|---|---|---|
| Subreddit private / banned / quarantined | Reddit returns 404 / "not found" | Stickied Post: error row with `Reddit returned 404`. Best Posts: not applicable. |
| Post has no duplicates | Original post was never reposted | Duplicate Posts: 0 rows pushed. Normal — not an error. |
| Subreddit has no stickied posts | Mods haven't pinned anything | Stickied Post: 0 rows pushed. Normal — not an error. |
| Removed / deleted post | Post target was removed by mods or deleted by author | Duplicate Posts: 0 rows. |
| Empty input | Forgot to paste the post URL / subreddit | Run `FAILED` immediately, no row pushed, no charge. |

***

### Why this actor is fast

- **Speed — 1–3 seconds per call (250 posts) — Best Posts can return 500 in one call.** Pure HTTP. No browser to boot, no Playwright / Selenium / Puppeteer overhead. Competing browser-based actors typically take 15–60 seconds per call.
- **Reliability — zero browser flakiness.** No headless-Chromium crashes. No JS-render timeouts. No captcha pages.
- **Footprint — under 100 MB RAM per run.** Most browser-based actors need 1–4 GB.
- **No proxy to configure.** Anonymous — the backend rotates infrastructure behind the scenes.

***

### Status & error reference

**Run status** *(Apify-side, shown on the run page)*

| Status | Apify message | Meaning | What to do |
|---|---|---|---|
| <img src="https://redcrawler.com/s/apify_pill_succeeded_v11.png" alt="Succeeded" height="40" style="max-width:none" /> | "Actor succeeded with N results in the dataset" | Run finished, records pushed. | Open the dataset to view the result. |
| <img src="https://redcrawler.com/s/apify_pill_failed_v11.png" alt="Failed" height="40" style="max-width:none" /> | "The Actor process failed…" | Validation error or missing required input. | Check the run log. You are NOT charged for failed runs. |
| <img src="https://redcrawler.com/s/apify_pill_timed_out_v11.png" alt="Timed out" height="40" style="max-width:none" /> | "The Actor timed out. You can resurrect it with a longer timeout to continue where you left off." | Run exceeded timeout (rare — lookups are fast). | Re-run; check Reddit is reachable. |
| <img src="https://redcrawler.com/s/apify_pill_aborted_v11.png" alt="Aborted" height="40" style="max-width:none" /> | "The Actor process was aborted. You can resurrect it to continue where you left off." | You stopped the run manually. | No charge for unpushed results. |

**Common in-run conditions** *(visible in run log and output record)*

| Condition | Cause | Result |
|---|---|---|
| 404 from Reddit | Subreddit / post not found, banned, or deleted. | Run `SUCCEEDED`, single row with `error: "Reddit returned 404 ..."`. |
| Validation error: missing post / subreddit | Required input not provided. | Run `FAILED` immediately, no charge. |

***

### Pricing

**Free. There is no per-result fee** — we don't charge anything for the results you get, however many you pull.

You only pay Apify's normal platform usage, which is the compute time your run takes. Apify's free plan includes **$5 of usage credit every month**, so you can start right away without a paid plan.

***

### Need a different shape of data?

- **[Reddit Subreddits](https://apify.com/red_crawler/reddit-subreddits)** — subreddit info, rules, browse, search, post listings (8 ops)
- **[Reddit Feeds V2](https://apify.com/red_crawler/reddit-feeds)** — popular, news, r/all, discovery and subreddit feeds
- **[Reddit Search V2](https://apify.com/red_crawler/reddit-search-v2)** — search posts / comments / subreddits / users with full filters
- **[Reddit Bulk Scrape V2](https://apify.com/red_crawler/reddit-bulk-scrape-v2)** — bulk fetch posts / comments / users by ID (up to 10000 per run)
- **[Reddit Users V1](https://apify.com/red_crawler/reddit-users)** — user profile, trophies, posts, comments, bulk lookup by ID

***

### Support and feedback

Found a bug, want a feature, or hit a Reddit error code we don't translate clearly? Open an issue via the actor's Apify Console feedback link, or reach out at the RedCrawler support channel.

***

*Reddit Posts V1 is part of the RedCrawler family of Reddit actors. RedCrawler is independent — not affiliated with, endorsed by, or sponsored by Reddit, Inc. Use it within Reddit's API terms.*

# Actor input Schema

## `endpoint` (type: `string`):

Choose which post lookup to run.

## `best_sort` (type: `string`):

Front-page sort. Used by: Best Posts.

## `best_time_filter` (type: `string`):

Time window — IGNORED unless sort is 'top' or 'controversial'. Leave as '—' for other sort orders.

## `best_limit` (type: `integer`):

Max posts (1–500). Used by: Best Posts.

## `duplicates_post` (type: `string`):

Post URL, t3\_ fullname, or bare post ID. Used by: Duplicate Posts.

## `duplicates_limit` (type: `integer`):

Max duplicates (1–100). Used by: Duplicate Posts.

## `sticky_subreddit` (type: `string`):

Subreddit name (e.g. AskReddit). Used by: Stickied Post.

## `sticky_num` (type: `string`):

Which sticky to return. 'all' returns every stickied post (Reddit exposes at most 2). '1' = top sticky, '2' = second sticky.

## Actor input object example

```json
{
  "endpoint": "best_posts",
  "best_sort": "best",
  "best_time_filter": "",
  "best_limit": 25,
  "duplicates_post": "1s4a4j6",
  "duplicates_limit": 25,
  "sticky_subreddit": "AskReddit",
  "sticky_num": "all"
}
```

# 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 = {
    "endpoint": "best_posts",
    "duplicates_post": "1s4a4j6",
    "sticky_subreddit": "AskReddit"
};

// Run the Actor and wait for it to finish
const run = await client.actor("red_crawler/reddit-posts").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 = {
    "endpoint": "best_posts",
    "duplicates_post": "1s4a4j6",
    "sticky_subreddit": "AskReddit",
}

# Run the Actor and wait for it to finish
run = client.actor("red_crawler/reddit-posts").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 '{
  "endpoint": "best_posts",
  "duplicates_post": "1s4a4j6",
  "sticky_subreddit": "AskReddit"
}' |
apify call red_crawler/reddit-posts --silent --output-dataset

```

## MCP server setup

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

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/Nl9avmSQk3lQ8LhKR/builds/kMvg5cg9oz9lRJVuz/openapi.json
