# Reddit Trends Scraper - Cheapest (`socialdataapi/reddit-trends-scraper`) Actor

Reddit Trends Scraper — Extract trending Reddit posts, topics, keywords, subreddit data, scores, comments, and engagement metrics. Useful for trend discovery, audience research, content planning, competitor analysis, and social listening.

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

## Pricing

from $1.04 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Trends Scraper — Trending Posts, Upvotes and Comments

Reddit Trends Scraper pulls trending posts straight from Reddit's own r/popular (hot) feed and returns each one as a typed JSON row: title, post URL, upvotes, comment count, subreddit, author and post time. Every response is **structured JSON** — ready to pass directly to an LLM, index into a vector store, or feed a social-listening pipeline. No Reddit account or cookies needed — every value comes from a feed any anonymous visitor can already see. Schedule the same run daily to watch what's breaking out site-wide.

![Reddit Trends Scraper: trending r/popular posts, upvotes and comments as JSON](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/d-reddit-trends-hero.webp)

***

### What data can I extract with Reddit Trends Scraper?

Using this Reddit Trending Posts API, you will be able to extract the following Reddit post data:

| 📝 Title | 🔗 Post link | ⬆️ Upvote count | 💬 Comment count |
|---|---|---|---|
| 📂 Subreddit | 🌐 Subreddit link | 🏷️ Subreddit type (not exposed on this feed) | 👤 Author username |
| 🙋 Author profile link | 🕒 Post time (UTC) | | |

***

### How to use Reddit Trends Scraper

Reddit Trends Scraper is a reddit hot posts scraper built for anyone who wants a live read of r/popular, in Reddit's own hot ranking, without opening a browser.

**Copy to your AI assistant:**

```text
Reddit Trends Scraper (Apify Actor ID: socialdataapi/reddit-trends-scraper, https://apify.com/socialdataapi/reddit-trends-scraper) is an Apify Actor that returns trending posts from Reddit's own r/popular (hot) feed as structured JSON. Use it whenever someone needs a live read of what's trending on Reddit right now without cookies, a login, or a browser - social listening, site-wide trend tracking, or feeding a scheduled run into a vector store. Inputs: maxPosts (integer, how many r/popular (hot) posts to collect in this run, minimum 1, no maximum, default 10), proxyConfiguration (object, proxy used for the requests, prefilled to Apify Residential; your choice, including "no proxy," is honored exactly as supplied).
```

#### Reddit Trends Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at the Apify MCP server with this Actor (`socialdataapi/reddit-trends-scraper`) preloaded as a tool, and it can call it on its own. No glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/reddit-trends-scraper"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [Reddit Trends Scraper](https://apify.com/socialdataapi/reddit-trends-scraper) in the Apify Store.
3. Set **Maximum Posts** to how many trending posts you want (optional — defaults to 10 if left blank).
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to scale Reddit Trends Scraper to bulk

There's one feed to read here — Reddit's own r/popular (hot) — so there's no list of targets to batch in a single call; `maxPosts` is how far one run goes into that feed (no upper limit in the schema, though a very large request can take a little longer as the Actor works through more pages). To build a reddit trends dataset over time, schedule the same run with Apify Schedules daily or hourly, and diff each run's rows on `postUrl`, which is stable and canonical across runs. Looping the API call on your own schedule works the same way if you'd rather drive it from your own code.

***

### ✨ Features

Reddit Trends Scraper fetches clean, structured posts from Reddit's r/popular feed ⚡. It's ideal for trend tracking, social listening, feeding an AI agent's context window, and any trending reddit topics scraper workflow where you need a live read of what's breaking out site-wide.

It extracts, per post:

- **Title** – the post's headline exactly as Reddit shows it
- **Upvotes** – Reddit's own score for the post, or null when Reddit hides it (never a fabricated zero)
- **Comments** – Reddit's own comment count for the post
- **Subreddit** – which community the post is in
- **Post URL** – the canonical link to the post on reddit.com
- **Author** – the username who posted it
- **Post time** – when it was posted, normalized to UTC

⚡ Rows land in the dataset as soon as each feed page is read, so the output table fills while the run is still going.

***

### Use cases 💡

- **Marketer** — run it as a reddit trend tracker, watching upvotes and comment counts daily.
- **AI agent builder** — feed live trending posts into a RAG pipeline or an agent's context window.
- **Researcher** — study site-wide discourse using upvotes against comment count as a disagreement signal.
- **Developer** — diff scheduled runs on post link to build a historical trend dataset.

Building an AI agent? [Connect Reddit Trends Scraper over MCP](#mcp-integration-for-ai-agents) and let it call the actor on its own.

***

### Why choose this actor?

- **Live r/popular, fast.** A recorded run collected 25 trending posts across 2 feed pages in 2.0 seconds, direct from Reddit's own hot ranking.
- **Real engagement numbers, not estimates.** A recorded post came back with 13,505 upvotes and 846 comments, both read straight from Reddit's own counters — never a fabricated zero when a score is hidden.
- **Ten fields, one input.** Every post comes back with the same ten fields — title, post link, upvotes, comments, subreddit, subreddit link, subreddit type, author, author profile link and post time — controlled by a single `maxPosts` count.

***

### ⬇️ Input

![Reddit Trends Scraper input: maxPosts and proxy configuration](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/d-reddit-trends-input.webp)

It accepts one optional number and an optional proxy setting — there is no required field. Leave everything blank and a run collects 10 posts using Apify's residential proxy.

| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
| `maxPosts` | No | integer | Maximum number of r/popular (hot) posts to collect in this run. Minimum 1, no maximum. Default `10`. Free plan: up to 20 posts per run and 200 per month; paid plans have no limit. | `25` |
| `proxyConfiguration` | No | object | Proxy used for the Reddit requests. Your selection is honored exactly as supplied (no proxy, Apify datacenter, Apify residential, or custom). Prefilled to Apify Residential, which is recommended because Reddit rate-limits datacenter IPs. | `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}` |

#### Free plan limits

Users on the Apify free plan can fetch up to 20 posts per run and 200 posts per month. When the limit is reached, the run finishes successfully with a status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
  "maxPosts": 25,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

***

### ⬆️ Output

![Reddit Trends Scraper output: upvotes, comments, subreddit and post time](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/d-reddit-trends-output.webp)

Every post from r/popular is one typed, normalized JSON item with the same ten fields on every run. Export your results as JSON, CSV or Excel, or read the dataset straight through the Apify API.

#### Example output

```json
{
  "title": "What's this third whisker for?",
  "postUrl": "https://www.reddit.com/r/cats/comments/1x0jzwu/whats_this_third_whisker_for/",
  "upvotes": 13505,
  "comments": 846,
  "subreddit": "r/cats",
  "subredditUrl": "https://www.reddit.com/r/cats/",
  "subredditType": null,
  "author": "ThorusBorus",
  "authorProfile": "https://www.reddit.com/user/ThorusBorus",
  "postTime": "2026-10-08 06:48:27"
}
```

***

### How does it work?

Think of it as a Reddit popular posts scraper that reads Reddit's own public r/popular (hot) feed the same way any anonymous visitor's browser does, pulling values straight out of the structured attributes Reddit renders on every post — so what comes back is Reddit's own numbers, not text scraped off a rendered page. No Reddit account, login or cookie is ever used; everything returned is already visible to a logged-out visitor. Requests use realistic browser-style connections, with a fresh connection tried automatically if Reddit briefly blocks one, and your own proxy choice (or none) is honored exactly as selected, with Apify Residential recommended because Reddit rate-limits datacenter IPs. The ten-field schema stays the same even as Reddit's page layout changes, since the Actor reads structured values rather than rendered HTML.

***

### How do you integrate Reddit Trends Scraper into your stack?

Whether you scrape r/popular Reddit data through MCP or a no-code tool, the ten-field schema stays the same — it works with what you already use.

#### MCP integration for AI agents

Point your AI assistant at the Apify MCP server with this Actor (`socialdataapi/reddit-trends-scraper`) preloaded as a tool, and it can call it directly — no actor-specific glue code required, and no scraping logic to write in your prompts. This registers Reddit Trends Scraper as a tool your agent can call directly, in Claude Code, Cursor or Windsurf, so the agent can pull a fresh batch of trending Reddit posts whenever it needs one.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/reddit-trends-scraper"
```

#### No-code tools (n8n, Make, LangChain)

In n8n, use the **Apify node**'s "Run an Actor" action and pick this Actor from your own Actors list — a Filter node on `upvotes` then routes only high-signal posts onward. In Make, the **Apify app**'s "Run an Actor" module, followed by "Get Dataset Items," wires each run's results into a Google Sheets, Airtable or Slack step. For LangChain, `langchain-apify`'s `ApifyActorsTool` wraps any Actor by its ID, so the ten-field response needs no output parser.

***

### Is it legal to scrape Reddit data?

To scrape Reddit trending topics from publicly visible posts is broadly treated as permissible where no authentication is bypassed, and it collects only what an anonymous visitor already sees on the r/popular feed — no account, no cookie, no session, no private or restricted community content. That said, this output is personal data: posts carry usernames and author profile links, so GDPR, CCPA and equivalent regimes attach to it — a lawful basis is needed to store and use these records, and the data-subject rights that come with it apply. Reddit's own terms of service are a separate, contractual consideration from the data-protection question. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does Reddit Trends Scraper return?

As a reddit viral posts scraper, it returns title, post link, upvotes, comment count and subreddit among its ten fields. See [the data fields section](#what-data-can-i-extract-with-reddit-trends-scraper) for the complete list.

#### Does Reddit Trends Scraper require a Reddit account or login?

No. Only public r/popular feed data is extracted. No Reddit account, login or cookie is used anywhere in the Actor.

#### How fast does Reddit Trends Scraper run?

A recorded run collected 25 trending posts across 2 feed pages in 2.0 seconds. Every run reads the feed live — nothing is cached between runs.

#### What happens if r/popular comes back blocked or empty?

You get zero rows for that run, or a partial dataset if some feed pages were fetched before a block. The run finishes with whatever was already collected instead of failing outright, and the log and final status distinguish a genuine block from a feed page that simply ran out of new posts.

#### Can I scrape multiple Reddit posts at once?

There is one feed to read — r/popular (hot) — so `maxPosts` is how you scale within a single run (no upper limit in the schema); run it on a schedule to collect a fresh batch of trending posts regularly.

#### Does Reddit Trends Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — Reddit Trends Scraper is available through the Apify MCP server. Register it in Claude Code, Cursor or Windsurf with `claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/reddit-trends-scraper"`. Any agent that can call an HTTP endpoint can use the REST API directly.

#### Does Reddit Trends Scraper return data in a format LLMs can use directly?

Yes. Every response is typed, normalized JSON with consistent field names. No HTML parsing, no selectors. Pass it straight to an LLM, index it into a vector store, or route it through an agent tool — no transformation step.

#### What happens when Reddit changes its layout or updates its anti-bot system?

This Actor is maintained. Because it reads values straight out of Reddit's own structured post attributes rather than page text, a purely visual change to Reddit's front end generally doesn't affect it; when Reddit's blocking gets stronger, the Actor is updated to keep working the same way. Your field names and types don't change on your end.

#### Can I use Reddit Trends Scraper without managing proxies or browser infrastructure?

Yes. Proxy rotation and retrying around a block run on the Actor's side — select Apify Proxy in `proxyConfiguration` (Residential is prefilled and recommended, since Reddit rate-limits datacenter IPs) and the Actor requests a fresh URL on every attempt. You never create a proxy account; your choice, including "no proxy," is honored exactly as supplied.

#### Which Reddit post fields work best for AI training data and RAG indexing?

For RAG indexing: the title and subreddit give rich retrieval context. For training data: upvote count and comment count are the most structurally consistent numeric fields across posts — both are whole numbers or null, never a numeric string. All fields are typed primitives — strings, integers or null — no normalization required.

***

### Your feedback

Found a bug, or need a Reddit field that is in the page but not in the output? Open an issue on the Actor's Issues tab. Reports that include your exact input JSON are the fastest to reproduce and fix.

# Actor input Schema

## `maxPosts` (type: `integer`):

Maximum number of r/popular (hot) posts to collect in this run. Free plan: up to 20 posts per run and 200 per month; paid plans have no limit.

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

Proxy used for the Reddit requests. Your selection is honored exactly as supplied (no proxy, Apify datacenter, Apify residential, or custom). Residential is recommended because Reddit rate-limits datacenter IPs.

## Actor input object example

```json
{
  "maxPosts": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Posts collected from r/popular (hot), one row per post.

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialdataapi/reddit-trends-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 = { "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    } }

# Run the Actor and wait for it to finish
run = client.actor("socialdataapi/reddit-trends-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 '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call socialdataapi/reddit-trends-scraper --silent --output-dataset

```

## MCP server setup

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