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 posts from multiple Reddit subreddits in a single run with full metadata, images, videos, awards, and optional 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 or more Reddit subreddits in a single bounded run. The Actor reads Reddit's public Atom listing first, saves post identity, title, author, created time, content URL, self-text when the feed includes it, and listing provenance, and can optionally enrich each feed post from its public detail page with score, media, awards, and up to 20 comments. It does not log in, solve CAPTCHAs, or bypass access controls.

Get started

  1. Open the Actor Store page and select Try for free, or open the Input tab.
  2. Enter at least one subreddit in subreddits (the Console prefills javascript and webdev) or use the single subreddit alias.
  3. Choose sortBy and topTime, and set maxItemsPerSubreddit to cap each community.
  4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open Run summary (OUTPUT) to see stored posts, enriched posts, failed requests, and transport.

Input

At least one subreddit is required through subreddits or its subreddit alias, even though the schema does not list a required field. Every other field is optional. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
subredditsstring arrayOne subreddit source requiredNo default; Console prefill ["javascript","webdev"]Up to 50 unique public subreddit names, 2–21 letters, numbers, or underscores, without r/. Takes precedence over subreddit when both are supplied.
subredditstringOne subreddit source requiredNot suppliedCompatibility alias for a single subreddit, 2–21 characters; used only when subreddits is absent.
sortBystring enumOptionalnewnew, hot, top, rising, or controversial.
sortstring enumOptionalNot suppliedCompatibility alias for sortBy, used only when sortBy is absent.
topTimestring enumOptionalweekTime window for top and controversial: hour, day, week, month, year, or all.
maxItemsPerSubredditintegerOptional50Maximum posts saved per subreddit, 1–1,000.
maxItemsintegerOptionalNot suppliedCompatibility alias for maxItemsPerSubreddit, used only when the primary field is absent.
maxPostsPerSubredditintegerOptionalNot suppliedCompatibility alias for maxItemsPerSubreddit, used only when the primary field and maxItems are absent.
deepScrapingbooleanOptionaltrueEnrich feed posts from their public detail pages for score, media, awards, and other metadata.
includeCommentsbooleanOptionalfalseInclude up to 20 top-level public comments with nested replies. Setting this to true automatically enables deepScraping.
headlessbooleanOptionaltrueRun Chromium without a visible window.
proxyConfigurationobjectOptional{"useApifyProxy":true}Apify Proxy or custom proxy settings. A proxy does not bypass Reddit access controls.

Default optional values with the Console subreddit prefill:

{
"subreddits": [
"javascript",
"webdev"
],
"sortBy": "new",
"topTime": "week",
"maxItemsPerSubreddit": 50,
"deepScraping": true,
"includeComments": false,
"headless": true,
"proxyConfiguration": {
"useApifyProxy": true
}
}

The saved run used subreddits: ["javascript"], sortBy: "new", maxItemsPerSubreddit: 5, and deepScraping: false. The Actor's primary transport is https://www.reddit.com/r/<subreddit>/<sort>/.rss?limit=<n>, with after pagination from the feed.

Output

The dataset contains one row per unique public post and subreddit scope. Values the Atom feed or optional detail page does not expose are omitted rather than inferred. Blocked, empty, or failed feeds are counted in OUTPUT and logs, never written as diagnostic rows.

FieldTypeAvailabilityMeaning
recordTypestring enumAlwaysRow discriminator; always subreddit_post.
recordIdstringAlwaysStable identity derived from the subreddit and post.
positionintegerAlwaysOne-based position within the subreddit traversal.
postIdstringAlwaysBare Reddit base36 post ID without the t3_ prefix.
postFullnamestringAlwaysPost fullname in t3_<postId> form.
postTitlestringAlwaysPublic post title.
contentUrlstringAlwaysPublic destination URL for the post content.
permalinkstringAlwaysCanonical public Reddit permalink.
authorstringAlwaysPublic author name.
subredditstringAlwaysPublic subreddit name.
createdAtstringAlwaysPublic creation time from the feed or detail page.
postTypestringAlwaysPublic post type, such as link or self.
isSelfbooleanAlwaysWhether the post is a self/text post.
domainstringAlwaysPublic content domain.
sourceListingUrlstringAlwaysPublic subreddit listing URL that produced the row.
sortBystringAlwaysListing sort used.
topTimestringAlwaysTop/controversial time filter recorded for the listing.
extractionMethodstringAlwaysRepresentation used, currently reddit-subreddit-public-atom for feed rows.
scrapedAtstringAlwaysUTC extraction time.
selfTextstringWhen the feed or detail page includes itPublic self-text body; present in four of the five saved rows.
authorFullnamestringWhen publishedPublic author fullname. Declared by the schema, but absent in all five saved rows.
subredditIdstringWhen publishedPublic subreddit identifier. Declared by the schema, but absent in all five saved rows.
subredditTypestringWhen publishedPublic subreddit type. Declared by the schema, but absent in all five saved rows.
subredditSubscribersnumberWhen publishedPublic subscriber count. Declared by the schema, but absent in all five saved rows.
scorenumberWhen publishedPublic post score. Declared by the schema, but absent in all five saved rows.
upvoteRationumberWhen publishedPublic upvote ratio. Declared by the schema, but absent in all five saved rows.
numCommentsnumberWhen publishedPublic comment count. Declared by the schema, but absent in all five saved rows.
editedAtstringWhen publishedPublic edit time. Declared by the schema, but absent in all five saved rows.
isVideobooleanWhen publishedWhether Reddit identifies the post as video. Declared by the schema, but absent in all five saved rows.
isGallerybooleanWhen publishedWhether the post is a gallery. Declared by the schema, but absent in all five saved rows.
isOCbooleanWhen publishedWhether Reddit marks the post as original content. Declared by the schema, but absent in all five saved rows.
thumbnailstringWhen publishedPublic thumbnail URL. Declared by the schema, but absent in all five saved rows.
flairstringWhen publishedPublic post flair. Declared by the schema, but absent in all five saved rows.
nsfwbooleanWhen publishedWhether Reddit marks the post NSFW. Declared by the schema, but absent in all five saved rows.
spoilerbooleanWhen publishedWhether Reddit marks the post as a spoiler. Declared by the schema, but absent in all five saved rows.
awardsCountnumberWhen publishedPublic award count. Declared by the schema, but absent in all five saved rows.
awardsobject arrayWhen publishedPublic award summaries. Declared by the schema, but absent in all five saved rows.
previewImagesobjectWhen publishedPublic preview image metadata. Declared by the schema, but absent in all five saved rows.
videoDataobjectWhen publishedPublic Reddit-hosted video metadata. Declared by the schema, but absent in all five saved rows.
mediaEmbedobjectWhen publishedPublic embedded-media metadata. Declared by the schema, but absent in all five saved rows.
commentsobject arrayWhen includeComments is enabled and comments existUp to 20 top-level public comments with nested replies. Absent in the saved run because comments were not requested.

Comment entries can include id, author, body, score, createdAt, flair, distinguished, stickied, edited, and replies; the rendered-DOM path uses id, author, body, score, createdAt, and depth.

Full JSON output

This is a real saved row from the 2026-10-25 Atom-feed run. It is complete; the other four rows were posts t3_1xf8iai, t3_1xes1qa, t3_1xe28ev, and t3_1xe1tzg.

{
"recordType": "subreddit_post",
"position": 2,
"postId": "1xf069g",
"postFullname": "t3_1xf069g",
"postTitle": "Biblioteca HTML y CSS",
"contentUrl": "https://libreria-html-css.vercel.app/Web/",
"permalink": "https://www.reddit.com/r/javascript/comments/1xf069g/biblioteca_html_y_css/",
"author": "Eche_Dev",
"subreddit": "javascript",
"createdAt": "2026-10-25T11:39:42.000Z",
"selfText": "Buenas! Quiero compartir un proyecto personal en el que he estado trabajando: una biblioteca de recursos de desarrollo web. La idea es reunir ejemplos y componentes que sirvan para aprender, experimentar, encontrar inspiración y reutilizar código en otros proyectos. Si estás aprendiendo frontend o ya desarrollas páginas web, me gustaría conocer tu opinión. ¿Qué tipos de componentes o recursos te gustaría encontrar en una biblioteca así? ¡Cualquier feedback constructivo es bienvenido!",
"postType": "self",
"isSelf": true,
"domain": "libreria-html-css.vercel.app",
"sourceListingUrl": "https://www.reddit.com/r/javascript/new/.rss?limit=5",
"sortBy": "new",
"topTime": "week",
"extractionMethod": "reddit-subreddit-public-atom",
"scrapedAt": "2026-10-25T20:58:53.688Z",
"recordId": "reddit-subreddit-post:17079a87f6f1f3cfb7fc"
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT. It records scope, transport, enrichment, and request outcomes.

FieldMeaning
recordTypeSummary discriminator; runSummary.
statusActor outcome: SUCCEEDED or FAILED.
runStatusCanonical run status; matches status.
dataStatusCOMPLETE, PARTIAL, NO_RESULTS, or FAILED.
sourcePublic Reddit source.
subredditsSubreddit names processed by the run.
sortByListing sort used.
topTimeTime filter recorded for top or controversial listings.
maxItemsPerSubredditConfigured post cap per subreddit.
deepScrapingEffective detail-enrichment setting; includeComments: true forces it on.
includeCommentsWhether bounded public comments were requested.
headlessWhether Chromium ran headlessly.
proxyConfiguredWhether a proxy configuration was created.
transportTransport label recorded by the run, currently public-atom-feed.
recordsStoredPost rows written to the dataset.
enrichedPostsFeed posts successfully enriched from public detail pages.
outputWriteFailureCountFailed summary-write attempts, normally 0.
failedRequestsFeed or fallback requests that failed.
blockedRequestsFailed requests classified as public access blocks.
diagnosticCountFeed, record, or enrichment diagnostics; no diagnostic rows are saved.
foundWhether at least one post was stored.
dataAvailableWhether usable public subreddit data was saved.
scrapedAtTime the summary was written, in ISO UTC.
StatusData statusMeaning
SUCCEEDEDCOMPLETEAt least one post was saved and no feed or fallback request failed.
SUCCEEDEDPARTIALAt least one post was saved, but a feed or fallback request failed. Saved rows remain available.
SUCCEEDEDNO_RESULTSFeeds completed without failure but no post was stored.
FAILEDFAILEDNo post was saved and at least one feed or fallback request failed.

Example OUTPUT from the saved run:

{
"recordType": "runSummary",
"status": "SUCCEEDED",
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"source": "https://www.reddit.com",
"subreddits": [
"javascript"
],
"sortBy": "new",
"topTime": "week",
"maxItemsPerSubreddit": 5,
"deepScraping": false,
"includeComments": false,
"headless": true,
"proxyConfigured": true,
"transport": "public-atom-feed",
"recordsStored": 5,
"enrichedPosts": 0,
"outputWriteFailureCount": 0,
"failedRequests": 0,
"blockedRequests": 0,
"diagnosticCount": 0,
"found": true,
"dataAvailable": true,
"scrapedAt": "2026-10-25T20:58:53.984Z"
}

Coverage and limitations

The primary transport is Reddit's public Atom feed, which exposes listing titles, authors, timestamps, links, and sometimes body content but not scores, ratios, flairs, subscriber counts, awards, or media metadata. That is why the saved deepScraping: false run contains 19–20 fields per row instead of the full schema. With deepScraping: true, the Actor visits each saved post's public detail page to fill additional fields and, if requested, comments; enrichment failures keep the Atom-feed fields and increment diagnosticCount. Setting includeComments: true turns deep scraping on automatically. enrichedPosts counts only successful detail enrichments.

The render-page fallback is used only when the Atom feed yields no posts and no failure. transport is currently recorded as public-atom-feed for all runs, so it does not by itself prove which path produced the rows; extractionMethod on each row is the per-row signal. Subreddits must be 2–21 characters and unique case-insensitively; up to 50 are accepted per run, even though the input schema does not declare that maximum. Duplicate post IDs are skipped across subreddits, and position restarts within each subreddit traversal.

Reddit controls feed availability and ranking. Private, quarantined, deleted, age-gated, or login-gated content is unavailable, and a feed challenge can end a subreddit early. maxItemsPerSubreddit caps saved posts per community, not all posts that exist. Scores, comments, and metadata are point-in-time. Challenges, rate limits, and blocked requests are reported in OUTPUT and logs and never saved as fabricated rows. Optional proxy settings are supported when supplied.

Usage and support

Cost is driven by feed requests, optional detail-page enrichment and comment visits, browser fallback, and proxy traffic. Pricing is pay-per-event with one Post Result event per saved post. Start with one subreddit and maxItemsPerSubreddit of 5, then enable deepScraping or comments only if you need the richer fields. 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 pages can contain personal information; use the output only for lawful purposes.