Reddit Posts & Comments Scraper avatar

Reddit Posts & Comments Scraper

Under maintenance

Pricing

from $2.99 / 1,000 subreddit posts

Go to Apify Store
Reddit Posts & Comments Scraper

Reddit Posts & Comments Scraper

Under maintenance

Scrape publicly rendered Reddit subreddit posts and optional comments with bounded browser extraction and fail-closed diagnostics.

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

19 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect bounded public posts from Reddit subreddit listings, with optional comments from each saved post. Choose one or more subreddits, a listing sort, and a top/controversial time window; the Actor renders each listing, follows bounded scroll batches, saves post identity, score, ratio, comment count, flair, media markers, timestamps, and listing provenance, and can open each post for up to 100 public comments. No login, private API, or access-control bypass is used.

Get started

  1. Open the Actor Store page and select Try for free, or open the Input tab.
  2. Add one to 20 subreddit names to subreddits, then choose sort; use topTime when sorting by top or controversial.
  3. Set maxPostsPerSubreddit and maxPages to keep the first run small. Leave includeComments on if you also want post-page comments.
  4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open Run summary (OUTPUT_SUMMARY) to see stored posts, failed requests, and pagination stats.

Input

subreddits is required. Every other field is optional and uses the default shown below. Unsupported field names and out-of-range values are rejected before the browser starts.

FieldTypeRequired?DefaultMeaning
subredditsstring arrayRequired["technology"]One to 20 unique subreddit names, with or without r/, each 2–100 characters.
sortstring enumOptionalhotListing order: hot, new, top, rising, or controversial.
topTimestring enumOptionalweekTime window for top and controversial: hour, day, week, month, year, or all.
maxPostsPerSubredditintegerOptional25Maximum post rows saved from each subreddit listing, 1–100.
maxPagesintegerOptional3Maximum rendered listing snapshots or scroll batches per subreddit, 1–10. The URL and sort/time parameters stay unchanged while cards append.
scrollDelayMsintegerOptional500Wait after each public scroll so post cards load, 0–3,000 ms. Use 0 only for tests.
includeCommentsbooleanOptionaltrueVisit each saved post and attach bounded public comments when available.
maxCommentsPerPostintegerOptional20Maximum public comments attached to each saved post, 1–100.
proxyConfigurationobjectOptional{"useApifyProxy":true}Apify Proxy or custom proxy settings; Apify Proxy is enabled by default.

Full default input:

{
"subreddits": [
"technology"
],
"sort": "hot",
"topTime": "week",
"maxPostsPerSubreddit": 25,
"maxPages": 3,
"scrollDelayMs": 500,
"includeComments": true,
"maxCommentsPerPost": 20,
"proxyConfiguration": {
"useApifyProxy": true
}
}

The Actor builds one listing URL per subreddit, such as https://www.reddit.com/r/technology/hot/, reads rendered shreddit-post cards, and never logs in or calls a private endpoint.

Output

The dataset contains one row per saved listing post. Fields the public listing or optional post page does not expose are omitted rather than inferred. Blocked, empty, or failed listings are counted in OUTPUT_SUMMARY and logs, never written as diagnostic rows.

FieldTypeAvailabilityMeaning
recordTypestring enumAlwaysRow discriminator; always post.
recordIdstringAlwaysStable identity derived from the Reddit post ID.
sourceUrlstringAlwaysPublic post permalink used as provenance.
positionintegerAlwaysOne-based position within the subreddit listing.
pageNumberintegerAlwaysOne-based rendered listing snapshot that first exposed the row.
sourceCursorstringWhen exposedContinuation cursor exposed by the rendered listing; omitted otherwise.
postIdstringAlwaysBare Reddit base36 post ID without the t3_ prefix.
postFullnamestringAlwaysPost fullname in t3_<postId> form.
postTitlestringAlwaysPublic post title.
contentUrlstringAlwaysPublic content destination URL.
permalinkstringAlwaysPublic Reddit permalink.
subredditstringAlwaysPublic subreddit name.
subredditIdstringWhen publishedPublic subreddit identifier.
subredditPrefixedstringWhen publishedPublic r/name form.
authorstringWhen publishedPublic author name.
authorFullnamestringWhen publishedPublic author identifier.
scorenumberWhen publishedPublic post score at collection time.
upvoteRationumberWhen publishedPublic upvote ratio.
numCommentsnumberWhen publishedPublic comment count at collection time.
selfTextstringWhen availableVisible public self-text; often absent for link posts.
postFlairstringWhen publishedPublic post flair.
domainstringWhen publishedPublic post domain.
postTypestringWhen publishedPublic post type, such as link or self.
isVideobooleanWhen publishedPublic video marker.
isSelfbooleanWhen publishedPublic self-post marker.
isOriginalContentbooleanWhen publishedPublic original-content marker.
isSpoilerbooleanWhen publishedPublic spoiler marker.
over18booleanWhen publishedPublic 18+ marker.
totalAwardsnumberWhen publishedPublic award count.
createdAtstringWhen publishedPublic creation time normalized to ISO UTC.
createdUtcintegerWhen publishedPublic creation time as Unix seconds.
commentsobject arrayWhen includeComments is enabled and post-page comments are availableUp to maxCommentsPerPost public comments.
sortedBystringAlwaysListing sort used.
topTimestringAlwaysTop/controversial time filter used.
sourceListingUrlstringAlwaysPublic subreddit listing URL.
extractionMethodstringAlwaysPublic DOM extraction method, currently reddit-shreddit-post-listing.
scrapedAtstringAlwaysUTC extraction time.

Each comments entry contains id, author, body (up to 2,000 characters), score, createdAt, and depth when the public post page exposes them.

Each comments entry contains id, author, body (up to 2,000 characters), score, createdAt, and depth when the public post page exposes them.

Full JSON output

This is a real saved row from the 2026-10-25 run. It is complete; selfText and comments were absent because the listing did not expose a body and the row contains no comments array.

{
"recordType": "post",
"recordId": "reddit-post:f29ddf097562244fe310",
"sourceUrl": "https://www.reddit.com/r/technology/comments/1xf03qh/cybersecurity_bounty_hunter_says_samsung_tvs_use/",
"position": 1,
"pageNumber": 1,
"sourceCursor": "dDNfMXhmOXNzbA",
"postId": "1xf03qh",
"postFullname": "t3_1xf03qh",
"postTitle": "Cybersecurity bounty hunter says Samsung TVs use AI to record audio and screenshots for ads — 'Finally found a company that truly listens to its customers,' says hacker",
"contentUrl": "https://www.tomshardware.com/tech-industry/cyber-security/hacker-finds-own-samsung-tv-collecting-scary-amounts-of-user-information-and-gets-banned-by-openai-for-cyber-abuse-tv-runs-an-ai-model-that-collects-audio-screenshots-and-plenty-of-other-user-data-for-ad-targeting",
"permalink": "https://www.reddit.com/r/technology/comments/1xf03qh/cybersecurity_bounty_hunter_says_samsung_tvs_use/",
"subreddit": "technology",
"subredditId": "t5_2qh16",
"subredditPrefixed": "r/technology",
"author": "ArgentineBeauty",
"authorFullname": "t2_2dz0v026uy",
"score": 15186,
"upvoteRatio": 0.9804216867469879,
"numComments": 886,
"postFlair": "Privacy",
"domain": "tomshardware.com",
"postType": "link",
"isVideo": false,
"isSelf": false,
"isOriginalContent": false,
"isSpoiler": false,
"over18": false,
"totalAwards": 0,
"createdAt": "2026-10-25T11:35:48.559Z",
"createdUtc": 1792928148,
"sortedBy": "hot",
"topTime": "week",
"sourceListingUrl": "https://www.reddit.com/r/technology/hot/",
"extractionMethod": "reddit-shreddit-post-listing",
"scrapedAt": "2026-10-25T20:49:50.649Z"
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT_SUMMARY. It records scope, counts, and pagination behavior; failure details remain in the actor log.

FieldMeaning
recordTypeSummary discriminator; runSummary.
statusActor outcome: SUCCEEDED or FAILED.
runStatusCanonical run status; matches status.
dataStatusCOMPLETE, PARTIAL, NO_RESULTS, or FAILED.
outputWriteFailureCountFailed summary-write attempts, normally 0.
sourcePublic Reddit source.
subredditsValidated subreddit names requested.
sortListing sort used.
topTimeTime window applied to top or controversial listings.
maxPostsPerSubredditConfigured post cap per subreddit.
maxPagesConfigured snapshot cap per subreddit.
scrollDelayMsConfigured wait after each scroll.
requestedPagesConfigured page cap; equals maxPages.
requestedItemsPerSourceConfigured item cap per source; equals maxPostsPerSubreddit.
includeCommentsWhether post-page comment extraction was requested.
maxCommentsPerPostConfigured comment cap per post.
proxyConfiguredWhether a proxy configuration was created.
recordsStoredPost rows written to the dataset.
failedRequestsSubreddit requests that failed or returned unusable data.
normalCountNormal post rows written; equals recordsStored.
diagnosticCountNumber of diagnostic outcomes; details remain in logs and no diagnostic rows are saved.
pagesProcessedTotal rendered listing snapshots processed.
scrollRoundsTotal scroll continuation attempts.
candidateCountRendered candidate rows observed before deduplication.
uniqueCountUnique candidates accepted by the paginator before normalization.
duplicatesSkippedDuplicate post IDs skipped across snapshots and subreddits.
noProgressStopsListings stopped after repeated snapshots with no new post IDs.
sourceExhaustedCountListings that ended because the page could not advance or made no progress.
paginationModePagination strategy; currently bounded_scroll.
foundWhether at least one post was stored.
dataAvailableWhether usable public post data was saved.
scrapedAtTime the summary was written, in ISO UTC.
StatusData statusMeaning
SUCCEEDEDCOMPLETEAt least one post was saved and no listing request failed.
SUCCEEDEDPARTIALAt least one post was saved, but a listing failed or the crawl stopped early. Saved rows remain available.
SUCCEEDEDNO_RESULTSListings completed without failure but no post was stored.
FAILEDFAILEDNo post was saved and at least one listing request or crawl failure occurred.

Example OUTPUT_SUMMARY from the saved run:

{
"recordType": "runSummary",
"status": "SUCCEEDED",
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"outputWriteFailureCount": 0,
"source": "https://www.reddit.com",
"subreddits": [
"technology"
],
"sort": "hot",
"topTime": "week",
"maxPostsPerSubreddit": 3,
"maxPages": 2,
"scrollDelayMs": 500,
"requestedPages": 2,
"requestedItemsPerSource": 3,
"includeComments": true,
"maxCommentsPerPost": 20,
"proxyConfigured": true,
"recordsStored": 3,
"failedRequests": 0,
"diagnosticCount": 0,
"pagesProcessed": 1,
"scrollRounds": 0,
"candidateCount": 3,
"uniqueCount": 3,
"normalCount": 3,
"duplicatesSkipped": 0,
"noProgressStops": 0,
"sourceExhaustedCount": 0,
"paginationMode": "bounded_scroll",
"found": true,
"dataAvailable": true,
"scrapedAt": "2026-10-25T20:50:19.054Z"
}

Coverage and limitations

The Actor reads only the public rendered listing for each requested subreddit and sort. Reddit controls ranking and content, so a run is a snapshot of that listing, not a complete subreddit archive. maxPages limits rendered snapshots or scroll batches, not result pages; a listing stops early when it makes no progress, exposes no cursor, or reaches the post cap. maxPostsPerSubreddit applies to each subreddit, and duplicate post IDs are skipped within and across sources for the run.

includeComments opens each saved post in the browser. If detail data is unavailable, the Actor keeps the listing fields and omits comments; the saved run contains no comments array despite includeComments: true, so treat comments as best-effort per row. Comments are read from rendered shreddit-comment elements and capped by maxCommentsPerPost; comment scores default to 0 when the attribute is absent, bodies are truncated at 2,000 characters, and deleted or removed comment text is whatever Reddit displayed. selfText appears only when the post page exposes a body; link posts often have none. Score, ratio, comment count, awards, and flair are point-in-time values.

Challenges, login walls, rate limits, and blocked requests fail closed for that request and are counted in OUTPUT_SUMMARY and logs; no diagnostic or placeholder rows enter the dataset. Private, quarantined, deleted, or login-gated posts cannot be read. Optional proxy settings are supported when supplied.

Usage and support

Cost is driven by headless-browser time, one listing page per subreddit, optional post-page visits for comments, and proxy traffic. Start with one subreddit, maxPostsPerSubreddit of 3–10, and includeComments off if you only need listing data. 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 record; 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 pages can contain personal information; use the output only for lawful purposes.