reddit-scrape

Scrape Reddit posts and comments via the Apify connector into structured datasets.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/alectivism/organization-ai-skills --skill reddit-scrape-alectivism
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: reddit-scrape
Source: https://github.com/alectivism/organization-ai-skills/tree/main/org-research/skills/reddit-scrape
Command: npx skills add https://github.com/alectivism/organization-ai-skills --skill reddit-scrape-alectivism

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually collecting Reddit posts and comments for research is slow and unstructured. This Skill automates scraping a single post, a subreddit, a user, or keyword search results through the Apify connector, returning structured fields like title, body, author, upvotes, and comments. ## Core Features & Use Cases - Flexible scrape targets: Scrape a single post, a subreddit, a user profile, or keyword search results using the harshmaur/reddit-scraper actor. - Comment crawling with cost control: Optionally fetch comment bodies with per-post caps, since each comment is a billed result. - Fallback actor: Switch to trudax/reddit-scraper-lite when the primary actor fails, with adjusted input parameters. - Use Case: Ask for the top 25 posts in r/espresso this week and receive structured rows with titles, authors, upvotes, and comment counts for analysis. ## Quick Start Scrape the top 25 posts from r/espresso this week including titles, authors, and upvotes using the Apify connector.

Frequently Asked Questions about reddit-scrape

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape a Reddit post with comments using Apify?▼

Call the harshmaur/reddit-scraper actor with startUrls as objects like {"url": "<POST_URL>"}, set crawlCommentsPerPost to true, and cap maxCommentsPerPost. Then retrieve rows with get-dataset-items using the returned dataset id and a fields projection.

How to search Reddit by keyword with the Apify connector?▼

Replace startUrls with a searchTerms array, for example {"searchTerms": ["espresso machine reviews"]}, and set searchSort and searchTime to control ranking and time range. Results return as structured post rows with title, body, author, and upvotes.

Why does my Reddit scrape fail with startUrls errors?▼

The most common error is passing bare strings in startUrls. Each entry must be an object like {"url": "..."}. Also confirm the Apify connector is authenticated, since auth or connection errors indicate missing setup.

What is the difference between harshmaur and trudax Reddit scrapers?▼

harshmaur/reddit-scraper is faster, returns upvotes and images, and defaults comments off. trudax/reddit-scraper-lite is a slower fallback with no upvotes that includes comments by default, so set skipComments to true for post-only scrapes.

How much does scraping Reddit comments cost on Apify?▼

Cost scales per comment since each comment is a billed result. A post-only scrape costs about $0.022, 50 comments about $0.11, and 500 comments about $0.92, so keep maxCommentsPerPost modest.