Reddit Subreddit Scraper avatar

Reddit Subreddit Scraper

Under maintenance

Pricing

from $3.99 / 1,000 results

Go to Apify Store
Reddit Subreddit Scraper

Reddit Subreddit Scraper

Under maintenance

Scrape the newest, hottest, top, or rising posts from any Reddit subreddit with full metadata, images, videos, awards, and optional comments.

Pricing

from $3.99 / 1,000 results

Rating

0.0

(0)

Developer

Coding Frontned

Coding Frontned

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

October3 reconstruction: this candidate is locally repaired and live-unverified. Historical HTTP429 source denial remains unresolved. Tests use fictional fixtures and explicit runtime mocks.

What does Reddit Subreddit Scraper do?

Reddit Subreddit Scraper collects public posts from one subreddit’s Atom listing feed. It supports new, hot, top, rising, and controversial ordering, a bounded number of feed pages, an optional Apify proxy route, and strict post-level provenance.

This is a browserless feed Actor. It does not launch a browser, open individual post pages, spoof fingerprints, or extract comment trees. A local Atom fixture uses the same parser and validator without a live request or proxy. Its rows are labelled fixture-atom-feed, with httpStatus 0 and requestAttempts 0; OUTPUT declares fixtureMode true and sourceAvailable false. These rows are not real extraction evidence.

Why use Reddit Subreddit Scraper?

Use it for a lightweight, reproducible dataset from one public subreddit when Atom fields are sufficient. Each stored row is a validated public feed entry, duplicate post IDs are removed, and blocked or malformed responses are represented in OUTPUT rather than as synthetic dataset items.

The source is Reddit. This Actor is not affiliated with Reddit.

What data can Reddit Subreddit Scraper extract?

Each row represents one public Atom post and can contain:

  • Identity and content: recordType, status, resultPosition, postId, postTitle, permalink, contentUrl, author, subreddit, and selfText.
  • Feed values: createdAt and updatedAt when present. score and numComments remain supported optional fields, but the current Atom parser does not infer them from prose or emit them without source evidence.
  • Requested context: requestedSubreddit, sortBy, topTime, and the exact sourceListingUrl.
  • Provenance and truth: sourceDomain, extractionMethod, httpStatus, requestAttempts, browserUsed, fingerprintApplied, proxyConfigured, found, dataAvailable, success, and scrapedAt.

Atom does not expose every field available on a modern post page. Optional values are omitted when unavailable, and no comments, full media objects, or diagnostic rows are claimed.

How to scrape a subreddit

  1. Open the Actor’s Input tab or API tab and provide the required subreddit.
  2. Choose sortBy and topTime where relevant, then set maxItems and maxPages.
  3. Review the dataset and OUTPUT. Use Schedules for recurring collection and Monitoring/Logs to follow status, request failures, and resource use.
  4. For support, use Issues or the API support path with the run ID and a sanitized OUTPUT record. Do not share credentials or private proxy URLs.

On live runs, the Actor follows the public Atom link with rel=next until maxPages, maxItems, or the feed ends. A valid feed with no entries is reported as NO_RESULTS. An unavailable, blocked, or malformed feed is reported as FAILED.

How much does Reddit Subreddit Scraper cost?

The current Actor metadata charges $0.003 per post added to the dataset. Compute, network, and proxy usage may also contribute according to your Apify plan. Check the current Pricing tab before a large run; it is authoritative if pricing metadata changes.

The main cost controls are maxItems, maxPages, requestTimeoutSecs, maxRequestRetries, and requestDelayMs.

Input

All inputs are strict JSON. subreddit is required and must contain 2–21 letters, digits, or underscores after an optional r/ prefix.

SectionFieldDefaultAllowed values
Search configurationsubredditrequiredone subreddit name, 2–21 characters
SortingsortBynewnew, hot, top, rising, controversial
SortingtopTimeweekhour, day, week, month, year, all; used by top and controversial
Pagination and limitsmaxItems25integer 1–100 unique posts
Pagination and limitsmaxPages3integer 1–10 live Atom pages
Developer optionsproxyConfigurationnoneoptional Apify proxy object
Developer optionsrequestTimeoutSecs30integer 5–120 seconds per feed request
Developer optionsmaxRequestRetries2integer 0–3 additional attempts
Developer optionsrequestDelayMs1000integer 0–10,000 milliseconds
Local QA / fixturesfixtureFilenonesafe relative .xml, .rss, or .atom path

Proxy configuration is optional and direct access is used when it is omitted. A permitted proxy can provide a different authorized route but does not bypass login, CAPTCHA, WAF, geofence, robots, rate-limit, or other access controls.

Basic input

{
"subreddit": "javascript"
}

Sorting, filtering, and pagination

{
"subreddit": "javascript",
"sortBy": "top",
"topTime": "month",
"maxItems": 10,
"maxPages": 2,
"requestTimeoutSecs": 45,
"maxRequestRetries": 1,
"requestDelayMs": 1500
}

Local fixture and developer options

{
"subreddit": "javascript",
"sortBy": "new",
"maxItems": 5,
"maxPages": 1,
"fixtureFile": "test/fixtures/subreddit-fixture.xml",
"proxyConfiguration": {
"useApifyProxy": false
}
}

Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Example successful row:

{
"recordType": "subreddit_post",
"status": "ok",
"resultPosition": 1,
"postId": "t3_example",
"postTitle": "Example public discussion",
"permalink": "https://www.reddit.com/r/javascript/comments/example/discussion/",
"contentUrl": "https://www.reddit.com/r/javascript/comments/example/discussion/",
"author": "example_user",
"subreddit": "javascript",
"selfText": "Text exposed by the public Atom entry.",
"score": 42,
"numComments": 7,
"createdAt": "2026-01-01T00:00:00.000Z",
"requestedSubreddit": "javascript",
"sortBy": "new",
"topTime": "week",
"sourceListingUrl": "https://www.reddit.com/r/javascript/new.rss",
"sourceDomain": "www.reddit.com",
"extractionMethod": "public-atom-feed",
"httpStatus": 200,
"requestAttempts": 1,
"browserUsed": false,
"fingerprintApplied": false,
"proxyConfigured": false,
"found": true,
"dataAvailable": true,
"success": true,
"scrapedAt": "2026-09-10T00:00:00.000Z"
}

The OUTPUT key-value record contains SUCCESS, PARTIAL, NO_RESULTS, or FAILED, plus the requested subreddit, sorting and limits, pages visited, row count, request failures, browser/proxy state, fixture/source availability, and completion time. A FAILED run writes OUTPUT and exits nonzero.

Tips and advanced options

  • Keep maxItems and maxPages small for exploratory runs.
  • topTime changes top and controversial feeds; it is accepted for other sorts for input compatibility but does not change those feeds.
  • Live pagination follows Reddit’s rel=next Atom link. Fixture mode intentionally reads the supplied fixture once and never falls back to live Reddit.
  • browserUsed and fingerprintApplied are always false. A successful browser page elsewhere does not prove that this Actor’s Atom endpoint is accessible.
  • Retries are bounded and apply only to retryable source responses or network errors. Access barriers remain failures.
  • If proxyConfiguration is supplied, use only a route you are authorized to use and inspect OUTPUT for partial or blocked results.

FAQ, support, and responsible use

Does this Actor scrape full post pages or comments?

No. It consumes public Atom listings only and intentionally does not claim full page bodies, media details, awards, or comment trees.

What does NO_RESULTS mean?

NO_RESULTS means a valid public feed was received but contained no eligible entries. FAILED means the source was blocked, unavailable, malformed, or otherwise could not support a truthful result.

Does a proxy bypass Reddit controls?

No. The Actor does not bypass authentication, CAPTCHAs, WAF checks, geofences, robots or terms restrictions, rate limits, or other access controls.

Use only public data you have a lawful and legitimate reason to collect. Respect Reddit’s terms, rate limits, robots signals, applicable privacy law, and the rights of content authors. For support, share only sanitized run details through Issues/API support.

Data fidelity and local verification

Atom feeds expose titles, post identity, author, community, source timestamps, linked URLs, and self-text when present. Arbitrary numbers in post prose are not scores or comment counts; unavailable engagement fields are omitted. Published time takes precedence over updated time. Pagination must preserve the requested listing and filters. Failed partial and zero-useful-record runs fail after saving OUTPUT diagnostics. Dataset validation requires useful records. Fixture checks alone do not establish live recovery.