# Reddit Posts Scraper: Full Text, Scores & Awards (`scrapers_lat/reddit-posts-scraper`) Actor

Scrape Reddit posts from any subreddit, search query or post URL. Extract title, selftext, author, score, upvote ratio, comment count, awards, flair and gallery images. Export to JSON, CSV or Excel. No login or API key.

- **URL**: https://apify.com/scrapers\_lat/reddit-posts-scraper.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** Social media, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 96.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.23 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![Reddit Posts Scraper: Full Text, Scores & Awards](https://scrapers.lat/banners/reddit-posts-scraper.png)](https://console.apify.com/actors/fvfaOyCg3k25lYCvD/input)

## Reddit Posts Scraper: Full Text, Scores & Awards

> Extract Reddit posts with full text, scores, awards, author flair and gallery images from any subreddit, search query or post URL.

**📥 [Input](https://apify.com/scrapers_lat/reddit-posts-scraper/input-schema) · 📤 [Output](https://apify.com/scrapers_lat/reddit-posts-scraper/output-schema) · 💰 [Pricing](https://apify.com/scrapers_lat/reddit-posts-scraper/pricing) · ▶️ [Examples](https://apify.com/scrapers_lat/reddit-posts-scraper/examples)**

![Apify](https://img.shields.io/badge/Platform-Apify-1CE1CE?logo=apify\&logoColor=white)
![Coverage](https://img.shields.io/badge/Coverage-All%20Reddit-blue)
![Maintained](https://img.shields.io/badge/Maintained-Yes-brightgreen)
![Output](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-orange)

<table><tr>
<td align="center"><strong>26 fields</strong><br>per post</td>
<td align="center"><strong>All Reddit</strong><br>coverage</td>
<td align="center"><strong>JSON / CSV / Excel</strong><br>output formats</td>
</tr></table>

<br>

### Three ways to scrape

| Mode | Input | Use it for |
|---|---|---|
| Subreddit feeds | `subreddits` | Pull hot/new/top/rising/controversial posts from communities |
| Search | `searchQuery` | Find posts by keyword across Reddit or inside one subreddit |
| Post URLs | `postUrls` | Fetch exact posts you already have links to |

Combine them in one run. `maxItems` caps the total; `sort` and `timeFilter` control ordering and the time window.

### Who is it for

| Use case | Who benefits |
|---|---|
| Brand and product monitoring | Marketing and PR teams |
| Trend and topic tracking | Researchers and analysts |
| Sentiment and discourse analysis | Data scientists |
| Community and competitor research | Growth and social teams |
| Training and evaluation datasets | ML and NLP engineers |

### Frequently Asked Questions

**Which subreddits and posts can it scrape?**
Any public subreddit, any public search, and any public post URL. Enter subreddit names without the `r/` prefix (for example `technology`, `worldnews`). Private and quarantined communities are not accessible.

**Does it return the full post text?**
Yes. With Fetch Full Post Text enabled, every self/text post carries its complete `selftext` body. Link posts have no body text, so `selftext` is empty for them and the external `url` is populated instead.

**How many posts can I collect?**
Set `maxItems` to whatever you need. Each subreddit feed and search returns up to 100 posts per page, and the total is capped by `maxItems` across all your sources.

**Can I filter by time and sort order?**
Yes. Choose `sort` (hot, new, top, rising, controversial) and a `timeFilter` (past hour, day, week, month, year, all). The time window applies to the top and controversial sorts and to search.

**What happens with gallery and image posts?**
Multi-image gallery posts return every image in `galleryImageUrls`. Single-image and link posts expose their image through `thumbnail` and `url`. A post that fails to load is written as a record with an `error` field instead of being silently dropped.

### Example use cases

Ready-to-run example tasks, each preconfigured for a common scenario. Open one and press run, or use it as a template:

- [ChatGPT Reddit Search](https://apify.com/scrapers_lat/reddit-posts-scraper/examples/chatgpt-reddit-search): Search r/OpenAI for ChatGPT posts and discussions with scores, authors and comments for AI monitoring.
- [CryptoCurrency New Posts](https://apify.com/scrapers_lat/reddit-posts-scraper/examples/cryptocurrency-new-posts): Scrape the newest posts from r/CryptoCurrency with titles, authors, scores and comments in real time.
- [DataScience Hot Posts](https://apify.com/scrapers_lat/reddit-posts-scraper/examples/datascience-hot-posts): Scrape hot posts from r/datascience with titles, authors, scores and comments for community insights.
- [Gaming Top Posts This Month](https://apify.com/scrapers_lat/reddit-posts-scraper/examples/gaming-top-posts-month): Collect the top monthly posts from r/gaming with scores, authors and media links for trend analysis.
- [NBA Hot Posts](https://apify.com/scrapers_lat/reddit-posts-scraper/examples/nba-hot-posts): Scrape hot posts from r/nba with titles, authors, scores and comment counts for sports monitoring.
- [PersonalFinance Top Posts This Month](https://apify.com/scrapers_lat/reddit-posts-scraper/examples/personalfinance-top-posts-month): Collect the top monthly posts from r/personalfinance with scores, authors and full text for research.
- [Stocks Hot Posts](https://apify.com/scrapers_lat/reddit-posts-scraper/examples/stocks-hot-posts): Collect hot posts from r/stocks with titles, scores, authors and comments for market sentiment tracking.
- [Technology Top Posts This Week](https://apify.com/scrapers_lat/reddit-posts-scraper/examples/technology-top-posts-week): Collect the top weekly posts from r/technology with scores, authors and links for trend tracking.
- [WallStreetBets Hot Posts](https://apify.com/scrapers_lat/reddit-posts-scraper/examples/wallstreetbets-hot-posts): Scrape hot posts from r/wallstreetbets with titles, scores, authors and comments for stock sentiment.
- [WorldNews Hot Posts](https://apify.com/scrapers_lat/reddit-posts-scraper/examples/worldnews-hot-posts): Scrape hot posts from r/worldnews with titles, sources, scores and comment counts for news monitoring.

### Export, API and AI agents (x402 + MCP)

Export the scraped data to **JSON, CSV or Excel**, pull it as a **dataset** through the Apify **API**, or wire it into your app with **no code**. This web scraper and data extractor also works for bulk data extraction and scheduled runs.

For AI agents: this Actor is available on **x402**, Apify's agentic payment standard built with Coinbase. An AI agent can discover, pay for and run it on its own with a funded wallet and a single HTTP request: no account, no subscription, no API key and no human in the loop. It also runs as an **MCP** tool inside Claude, Cursor and other AI clients out of the box. Learn more about [x402 agentic payments on Apify](https://docs.apify.com/platform/integrations/x402).

### Related scrapers

Need data from the same space? Here are other scrapers we build and maintain:

- [Reddit Posts & Comments Scraper](https://apify.com/scrapers_lat/reddit-scraper): Extract Reddit posts and comments from subreddits and search results using the public Reddit feeds.
- [X (Twitter) Profiles & Tweets Scraper](https://apify.com/scrapers_lat/x-twitter-scraper): Extract public X (Twitter) tweets by tweet ID: text, author, likes, replies, media and timestamps.
- [Instagram Profile & Posts Scraper](https://apify.com/scrapers_lat/instagram-scraper): Extract public Instagram profiles and recent posts by username without login.
- [YouTube Scraper](https://apify.com/scrapers_lat/youtube-scraper): Scrape YouTube videos and channels by search query, video URL or channel URL.
- [TikTok Creative Center Top Ads Scraper](https://apify.com/scrapers_lat/tiktok-creative-center-scraper): Scrape top-performing TikTok ads from the public Creative Center by country and time period.
- [App Store Reviews Scraper](https://apify.com/scrapers_lat/app-store-reviews-scraper): Extract Apple App Store reviews and ratings for any app by id, URL or search term.

### More scrapers at scrapers.lat

This actor is built and maintained by [scrapers.lat](https://scrapers.lat), where we publish scrapers for Latin American and US public platforms: real estate, jobs, e-commerce, company registries and government data. Browse the full catalog, see live sample output for each one, or ask us for a custom scraper at [scrapers.lat](https://scrapers.lat).

***

> This actor is an independent tool and has no affiliation with Reddit, Inc. It only accesses data that is publicly available on Reddit. Use it in accordance with Reddit's terms of service.

# Actor input Schema

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

Maximum number of posts to collect across all sources. Optional.

## `withDetails` (type: `boolean`):

When enabled, the scraper opens each post page to capture the full self text, gallery images and poll data. Disable for a faster, listing-only run.

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

Subreddit names to scrape. Enter names without the r/ prefix, for example: technology, worldnews.

## `searchQuery` (type: `string`):

Optional. Search terms to query instead of (or in addition to) the subreddit feeds. For example: artificial intelligence. When a single subreddit is provided, the search is restricted to it.

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

Optional. Exact Reddit post URLs to fetch directly (https://www.reddit.com/r/.../comments/...).

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

Sort order for subreddit feeds and search.

## `timeFilter` (type: `string`):

Time window for the 'top' and 'controversial' sorts (and search). Ignored for hot, new and rising.

## Actor input object example

```json
{
  "maxPosts": 10,
  "withDetails": true,
  "subreddits": [
    "technology"
  ],
  "postUrls": [],
  "sort": "hot",
  "timeFilter": "day"
}
```

# 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 = {
    "maxPosts": 10,
    "subreddits": [
        "technology"
    ],
    "postUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/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 = {
    "maxPosts": 10,
    "subreddits": ["technology"],
    "postUrls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/reddit-posts-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxPosts": 10,
  "subreddits": [
    "technology"
  ],
  "postUrls": []
}' |
apify call scrapers_lat/reddit-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapers_lat/reddit-posts-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/fvfaOyCg3k25lYCvD/builds/1qM4PfdMPPdcVAeQH/openapi.json
