Reddit Subreddit Posts Scraper avatar

Reddit Subreddit Posts Scraper

Under maintenance

Pricing

from $2.99 / 1,000 subreddit posts

Go to Apify Store
Reddit Subreddit Posts Scraper

Reddit Subreddit Posts Scraper

Under maintenance

Scrape public new, hot, top, rising, or controversial posts from one Reddit subreddit with post metadata, media, awards, and optional bounded comments.

Pricing

from $2.99 / 1,000 subreddit posts

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect public posts from one Reddit community through an anonymous browser session, with a selectable listing order and time window. Each saved row can include post identity, author and subreddit metadata, score and comment counts, post type flags, media and award summaries, and an optional bounded set of top comments. The Actor does not sign in, use caller cookies, or bypass access controls.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Enter the community name in subreddit (without r/), then choose sortBy and, for top or controversial, a topTime window.
  3. Keep maxItems small for the first run. Leave deepScraping enabled for full post details, or disable it for a faster listing-only snapshot.
  4. Start the Actor, open the dataset, and export the saved rows as JSON, CSV, or Excel. Open Run summary (OUTPUT) to check the outcome and counts.

Input

subreddit is required. The remaining fields are optional, and the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
subredditstringRequiredNot supplied (prefill: javascript)Public community name without r/, from 2 to 21 characters.
sortBystring enumOptionalnewListing order: new, hot, top, rising, or controversial.
topTimestring enumOptionalweekTime window applied when sortBy is top or controversial: hour, day, week, month, year, or all.
maxItemsintegerOptional50Maximum number of unique posts saved, from 1 to 1,000.
deepScrapingbooleanOptionaltrueOpen each selected post to collect richer detail such as full self text, media, awards, and comment data.
includeCommentsbooleanOptionalfalseInclude a bounded set of public comments and nested replies. Enabling this automatically enables deepScraping.
headlessbooleanOptionaltrueRun Chromium without a visible window.
proxyConfigurationobjectOptional{"useApifyProxy":true}Standard Apify Proxy settings. Proxy availability does not bypass Reddit access controls.

Example input using the prefilled community and the schema defaults:

{
"subreddit": "javascript",
"sortBy": "new",
"topTime": "week",
"maxItems": 50,
"deepScraping": true,
"includeComments": false,
"headless": true,
"proxyConfiguration": {
"useApifyProxy": true
}
}

The Actor reads public Reddit pages through a browser. Requests are bounded and delayed. A login wall, CAPTCHA, WAF response, geofence, device check, or rate limit is treated as an access boundary and is not bypassed.

Output

The dataset contains one row per saved public subreddit post. Optional values are omitted when Reddit does not expose them; no diagnostic or placeholder rows are written.

FieldTypeAvailabilityMeaning
recordTypestring enumAlwaysRow discriminator; always subreddit_post.
recordIdstringAlwaysStable identifier derived from the subreddit and post ID.
positionintegerAlwaysOne-based position of the saved post in the bounded listing traversal.
postIdstringAlwaysBare Reddit base36 post ID without the t3_ prefix.
postFullnamestringAlwaysReddit fullname in t3_<postId> form.
postTitlestringAlwaysPublic post title.
contentUrlstringWhen the post has a destinationPublic destination URL for a link post, or the Reddit post URL for other post types.
permalinkstringAlwaysCanonical public Reddit permalink for the post.
authorstringWhen Reddit exposes an authorPublic author name.
authorFullnamestringWhen Reddit exposes an authorPublic author fullname.
subredditstringAlwaysPublic community name.
subredditIdstringWhen exposedPublic subreddit identifier.
subredditTypestringWhen exposedPublic subreddit type.
subredditSubscribersnumberWhen exposedPublic subscriber count at collection time.
scorenumberWhen exposedPublic post score at collection time.
upvoteRationumberWhen exposedPublic upvote ratio.
numCommentsnumberWhen exposedPublic comment count at collection time.
createdAtstringWhen exposedPublic post creation time in ISO UTC.
editedAtstringWhen the post was editedPublic edit time in ISO UTC.
selfTextstringWhen the post has textPublic self-text body.
postTypestringWhen detectedDetected post type, such as link, self, image, or video.
isVideobooleanWhen exposedWhether Reddit identifies the post as a video.
isSelfbooleanWhen exposedWhether the post is a self/text post.
isGallerybooleanWhen exposedWhether the post is a gallery.
isOCbooleanWhen exposedWhether Reddit marks the post as original content.
thumbnailstringWhen a thumbnail existsPublic thumbnail URL.
flairstringWhen the post has flairPublic post flair text.
domainstringWhen the post links to a domainPublic content domain.
nsfwbooleanWhen exposedWhether Reddit marks the post as NSFW.
spoilerbooleanWhen exposedWhether Reddit marks the post as a spoiler.
awardsCountnumberWhen exposedPublic award count.
awardsobject arrayWhen awards existPublic award summaries.
previewImagesobjectWhen preview images existPublic preview image metadata.
videoDataobjectWhen Reddit-hosted video existsPublic video metadata.
mediaEmbedobjectWhen embedded media existsPublic embedded-media metadata.
commentsobject arrayWhen includeComments is enabled and comments existBounded public comments and replies.
sourceListingUrlstringAlwaysPublic subreddit listing URL that produced the row.
sortBystringAlwaysListing order used for the run.
topTimestringAlwaysTime filter recorded for the listing; it affects top and controversial only.
extractionMethodstringAlwaysPublic representation used: reddit-subreddit-deep-dom or reddit-subreddit-rendered-json-or-dom.
scrapedAtstringAlwaysTime the row was saved, in ISO UTC.

The example below is the complete saved row from the 2026-10-25 run. It was collected with deepScraping: false, so post-detail and comment fields were not requested.

{
"recordType": "subreddit_post",
"position": 1,
"postId": "1xf8iai",
"postTitle": "LittleJS Engine is 2D and 3D now",
"contentUrl": "https://frankforce.com/littlejs-is-2d-and-3d-now/",
"permalink": "https://www.reddit.com/r/javascript/comments/1xf8iai/littlejs_engine_is_2d_and_3d_now/",
"author": "Slackluster",
"authorFullname": "t2_3c4cj",
"subreddit": "javascript",
"subredditId": "t5_2qh30",
"score": 8,
"upvoteRatio": 0.75,
"numComments": 0,
"createdAt": "2026-10-25T17:34:58.585Z",
"postType": "link",
"isVideo": false,
"isSelf": false,
"isGallery": false,
"isOC": false,
"domain": "frankforce.com",
"nsfw": false,
"spoiler": false,
"awardsCount": 0,
"sourceListingUrl": "https://www.reddit.com/r/javascript/new/?sort=new&t=week",
"sortBy": "new",
"topTime": "week",
"extractionMethod": "reddit-subreddit-rendered-json-or-dom",
"scrapedAt": "2026-10-25T20:59:40.295Z",
"postFullname": "t3_1xf8iai",
"recordId": "reddit-subreddit:d1f6d8ecb2d9b146e8a5"
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.

FieldMeaning
recordTypeSummary discriminator; runSummary.
statusActor process outcome: SUCCEEDED or FAILED.
runStatusCanonical run status; matches status.
dataStatusCompleteness of the dataset: COMPLETE, PARTIAL, NO_RESULTS, or FAILED.
sourcePublic source used for the run.
subredditCommunity processed by the run.
sortByListing order used.
topTimeTime window recorded for the listing.
maxItemsSaved-post cap requested for the run.
deepScrapingWhether post-detail pages were opened.
includeCommentsWhether bounded comments were requested.
headlessWhether Chromium ran without a visible window.
proxyConfiguredWhether a proxy configuration was supplied.
recordsStoredPost rows written to the dataset.
outputWriteFailureCountSummary-write failures; details remain in the logs.
failedRequestsRequests that failed after retries.
blockedRequestsFailed requests classified as blocked or rate-limited.
diagnosticCountOperational issues recorded for the run.
foundWhether at least one post row was stored.
dataAvailableWhether usable public post data was saved.
scrapedAtTime the summary was written, in ISO UTC.
StatusData statusMeaning
SUCCEEDEDCOMPLETEPosts were saved without an operational problem.
SUCCEEDEDPARTIALPosts were saved, but a later problem prevented a complete run. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe listing completed cleanly and returned no matching posts.
FAILEDFAILEDA fatal error occurred before any usable post was saved.

Example OUTPUT from the 2026-10-25 run:

{
"recordType": "runSummary",
"status": "SUCCEEDED",
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"source": "https://www.reddit.com",
"subreddit": "javascript",
"sortBy": "new",
"topTime": "week",
"maxItems": 1,
"deepScraping": false,
"includeComments": false,
"headless": true,
"proxyConfigured": true,
"recordsStored": 1,
"outputWriteFailureCount": 0,
"failedRequests": 0,
"blockedRequests": 0,
"diagnosticCount": 0,
"found": true,
"dataAvailable": true,
"scrapedAt": "2026-10-25T20:59:41.096Z"
}

Coverage and limitations

The Actor processes one subreddit per run. subreddit is a community name, not a URL, and listing traversal stops at maxItems; the dataset is a bounded sample of the selected listing, not a complete archive of the community.

sortBy selects the public listing order. topTime is meaningful only for top and controversial. With deepScraping: false, rows contain listing-level fields and omit post-detail data such as full self text, media, awards, and comments. Setting includeComments: true forces deepScraping on, because comments are read from the public post page. The number of comments retained is bounded and depends on what Reddit exposes.

Deleted, removed, restricted, or login-gated posts and comments are omitted. Scores, ratios, subscriber counts, and comment counts are point-in-time values. A proxy can change routing but does not grant access to protected content. Operational failures are reported in OUTPUT and logs, not as dataset rows.

Usage and support

The Actor is configured with a pay-per-event price of $0.003 per saved post, plus Apify compute and any proxy traffic. Disabling deepScraping reduces requests and runtime; enabling comments adds one public post-page request per selected post. Start with a small maxItems and inspect the dataset and OUTPUT before scaling. See the Actor's Pricing tab for current account rates.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the OUTPUT summary; do not include tokens, cookies, or private data. This Actor is not affiliated with Reddit. Use it only for public data and in accordance with Reddit's terms, robots guidance, and applicable law. Public posts can contain personal information; use the output only for lawful purposes.