Reddit Search Scraper avatar

Reddit Search Scraper

Under maintenance

Pricing

from $2.99 / 1,000 search results

Go to Apify Store
Reddit Search Scraper

Reddit Search Scraper

Under maintenance

Search Reddit by keyword and scrape matching posts with full metadata, images, videos, awards, and optional comments. Optionally restrict search to a single subreddit.

Pricing

from $2.99 / 1,000 search results

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

22 days ago

Last modified

Categories

Features

Limited permissions

Share

Search public Reddit posts by keyword and save normalized post records with search ranking, author, subreddit, score, ratio, media markers, awards, and provenance. Optionally restrict results to one subreddit and deep-scrape each post for its full public body, images, video, gallery, and awards; comments are optional. The Actor uses public Reddit JSON responses when available with a bounded rendered-page fallback, and never logs in, solves CAPTCHAs, or requests private content.

Get started

  1. Open the Actor Store page and select Try for free, or open the Input tab.
  2. Enter a keyword or phrase in searchQuery; optionally set subreddit to restrict the search and choose sortBy and topTime.
  3. Set maxItems, keep deepScraping on for rich post fields, and enable includeComments only when you also need comment text.
  4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open Run summary (OUTPUT) to see stored posts, failed requests, and search settings.

Input

searchQuery 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
searchQuerystringRequiredNo default; Console prefill nodejs tutorialKeyword or phrase to search Reddit for, 1–200 characters.
subredditstringOptionalNot suppliedRestrict the search to one public subreddit name without r/, up to 21 characters. Empty searches all Reddit.
sortBystring enumOptionalrelevancerelevance, new, hot, top, or comments.
topTimestring enumOptionalallTime window for top: hour, day, week, month, year, or all.
maxItemsintegerOptional50Maximum posts saved, 1–1,000.
deepScrapingbooleanOptionaltrueOpen each post to enrich it with its public body, media, gallery, awards, and metadata. When off, only search-listing fields are available.
includeCommentsbooleanOptionalfalseInclude up to 20 top-level public comments; JSON responses can also include up to five replies per comment. Requires deepScraping: true; otherwise comments are not fetched.
headlessbooleanOptionaltrueRun Chromium without a visible window.
proxyConfigurationobjectOptional{"useApifyProxy":true}Apify Proxy or custom proxy settings. The Actor does not use authentication or CAPTCHA solving.

Default optional values with the Console query prefill:

{
"searchQuery": "nodejs tutorial",
"sortBy": "relevance",
"topTime": "all",
"maxItems": 50,
"deepScraping": true,
"includeComments": false,
"headless": true,
"proxyConfiguration": {
"useApifyProxy": true
}
}

The saved run used searchQuery: "python", maxItems: 3, and no subreddit. The Actor builds a public search URL such as https://www.reddit.com/search/?q=python&sort=relevance&t=all, follows bounded after pagination, and reads only public JSON or rendered search/post pages.

Output

The dataset contains one row per unique search-result post. Fields the search listing or optional deep-scraped post does not expose are omitted rather than inferred. Empty strings, placeholders, raw response objects, and block pages are never saved as records.

FieldTypeAvailabilityMeaning
recordTypestring enumAlwaysRow discriminator; always search_result.
recordIdstringAlwaysStable identifier derived from the Reddit post.
positionintegerAlwaysOne-based save position in the bounded search 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.
subredditstringAlwaysPublic subreddit name.
searchQuerystringAlwaysQuery used for the search.
sourceListingUrlstringAlwaysPublic Reddit search URL that produced the row.
sortBystringAlwaysSearch sort used.
topTimestringAlwaysTop-time filter recorded for the search.
extractionMethodstringAlwaysreddit-search-deep-dom when deep scraping ran, otherwise reddit-search-rendered-json-or-dom.
scrapedAtstringAlwaysUTC extraction time.
authorstringWhen publishedPublic author name.
authorFullnamestringWhen publishedPublic author fullname.
subredditIdstringWhen publishedPublic subreddit identifier.
subredditTypestringWhen publishedPublic subreddit type. Declared by the schema, but absent in all three saved rows.
subredditSubscribersnumberWhen publishedPublic subscriber count. Declared by the schema, but absent in all three saved rows.
scorenumberWhen publishedPublic Reddit score at collection time.
upvoteRationumberWhen publishedPublic upvote ratio.
numCommentsnumberWhen publishedPublic comment count at collection time.
createdAtstringWhen publishedPublic creation time.
editedAtstringWhen publishedPublic edit time. Declared by the schema, but absent in all three saved rows.
selfTextstringWhen publishedPublic self-text body; absent for link-only posts.
postTypestringWhen publishedDetected public post type, such as text or link.
isVideobooleanWhen publishedWhether Reddit identifies the post as video.
isSelfbooleanWhen publishedWhether the post is a self/text post.
isGallerybooleanWhen publishedWhether the post is a gallery.
isOCbooleanWhen publishedWhether Reddit marks the post as original content.
thumbnailstringWhen publishedPublic thumbnail URL. Declared by the schema, but absent in all three saved rows.
flairstringWhen publishedPublic post flair; present in two of the three saved rows.
domainstringWhen publishedPublic content domain.
nsfwbooleanWhen publishedWhether Reddit marks the post NSFW.
spoilerbooleanWhen publishedWhether Reddit marks the post as a spoiler.
awardsCountnumberWhen publishedPublic award count.
awardsobject arrayWhen publishedPublic award summaries. Declared by the schema, but absent in all three saved rows.
previewImagesobjectWhen publishedPublic preview image metadata. Declared by the schema, but absent in all three saved rows.
videoDataobjectWhen publishedPublic Reddit-hosted video metadata. Declared by the schema, but absent in all three saved rows.
mediaEmbedobjectWhen publishedPublic embedded-media metadata. Declared by the schema, but absent in all three saved rows.
commentsobject arrayWhen includeComments and deepScraping are enabled and comments existUp to 20 top-level public comments; JSON responses may include up to five replies each. Absent in the saved run because comments were not requested.
searchSubredditstringWhen a subreddit restriction is usedSubreddit restriction recorded on the row. Declared by the schema, but absent in all three saved rows.

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

Full JSON output

This is a real saved row from the 2026-10-25 run. The long selfText is shortened with an ellipsis; every other value is complete. Fields absent from this row are listed as unobserved in the table above.

{
"recordType": "search_result",
"position": 1,
"postId": "1wwv97o",
"postTitle": "My Python magic is gone",
"contentUrl": "https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/",
"permalink": "https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/",
"author": "RedYad2",
"authorFullname": "t2_2lfruxggo8",
"subreddit": "Python",
"subredditId": "t5_2qh0y",
"score": 887,
"upvoteRatio": 0.8921308576480991,
"numComments": 313,
"createdAt": "2026-10-03T19:08:43.382Z",
"selfText": "I've been coding for a long time, and I've been developing with Python for years.\n \n I loved coding, always loved it. I started many years ago because I wanted to quickly create scripts for security hacking tools, but since then, I've moved to Claude Code, and building cross-language has been a much better experience for me than using Python.\n \n I built my own SaaS application out there whose backend and network core are completely built with Python, and I'm rewriting all of that without writing a single line of code. And most of the time, Python is not the most optimized language.\n \n And now... I feel like the magic is gone.\n \n I don't even know why I'm writing this. I just feel sad about it.\n \n \n \n \n \n \n Read more",
"postType": "text",
"isVideo": false,
"isSelf": true,
"isGallery": false,
"isOC": false,
"flair": "Discussion",
"domain": "self.Python",
"nsfw": false,
"spoiler": false,
"awardsCount": 0,
"searchQuery": "python",
"sourceListingUrl": "https://www.reddit.com/search/?q=python&sort=relevance&t=all",
"sortBy": "relevance",
"topTime": "all",
"extractionMethod": "reddit-search-deep-dom",
"scrapedAt": "2026-10-25T20:51:47.942Z",
"postFullname": "t3_1wwv97o",
"recordId": "reddit-search:c222e4005649e0cec8ec"
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT. It records search settings, stored rows, 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.
searchQueryKeyword or phrase searched.
subredditSubreddit restriction, or null for a global search.
sortBySearch sort used.
topTimeTime window recorded for top results.
maxItemsConfigured post cap.
deepScrapingWhether post-detail enrichment was requested.
includeCommentsWhether comments were requested; comments are fetched only when deep scraping also ran.
headlessWhether Chromium ran headlessly.
proxyConfiguredWhether a proxy configuration was created.
recordsStoredSearch-result rows written to the dataset.
outputWriteFailureCountFailed summary-write attempts, normally 0.
failedRequestsSearch or deep-scrape requests that failed after retries.
blockedRequestsFailed requests classified as public access blocks.
foundWhether at least one result was stored.
dataAvailableWhether usable public search data was saved.
scrapedAtTime the summary was written, in ISO UTC.
StatusData statusMeaning
SUCCEEDEDCOMPLETEAt least one result was saved and no request failed.
SUCCEEDEDPARTIALAt least one result was saved, but a search or deep-scrape request failed. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe search completed cleanly but no post was saved.
FAILEDFAILEDNo post was saved and at least one request failure occurred.

Example OUTPUT from the saved run:

{
"recordType": "runSummary",
"status": "SUCCEEDED",
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"source": "https://www.reddit.com",
"searchQuery": "python",
"subreddit": null,
"sortBy": "relevance",
"topTime": "all",
"maxItems": 3,
"deepScraping": true,
"includeComments": false,
"headless": true,
"proxyConfigured": true,
"recordsStored": 3,
"outputWriteFailureCount": 0,
"failedRequests": 0,
"blockedRequests": 0,
"found": true,
"dataAvailable": true,
"scrapedAt": "2026-10-25T20:51:49.142Z"
}

Coverage and limitations

The Actor reads Reddit's public search results and, when deep scraping is enabled, each post's public JSON detail first and rendered page as a fallback. Reddit controls ranking and indexing, so a run is a snapshot of the requested query, sort, time window, and optional subreddit; maxItems caps what is saved, not everything Reddit may hold. topTime is meaningful for top sorting. Comments require deepScraping; setting includeComments: true without it does not produce comments. Deep scraping runs up to three post tabs at a time.

Field availability depends on the response. The three saved rows exposed no subredditType, subredditSubscribers, editedAt, thumbnail, awards, previewImages, videoData, mediaEmbed, or comments; flair appeared in only two. Search-listing-only runs provide less detail than deep-scraped runs, and extractionMethod records which path produced the row. Scores, ratios, and comment counts are point-in-time. Self-text, media, and award fields are omitted when Reddit does not publish them rather than invented or copied from unrelated responses.

CAPTCHAs, login walls, rate limits, WAF pages, and blocked JSON responses are never saved as successful records. They are counted in OUTPUT and logs; a partial run keeps its saved rows. Optional proxy settings are supported when supplied, and the Actor does not use authentication or a CAPTCHA-solving service.

Usage and support

Cost is driven by the post cap, deep-scrape page visits (up to three tabs in parallel), optional comments, browser runtime, and proxy traffic. Pricing is pay-per-event with one Post Result event per saved post. Start with 3–10 posts, deepScraping on, and comments off; inspect the rows and OUTPUT, then scale. 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.