Reddit Search Scraper
Under maintenancePricing
from $2.99 / 1,000 search results
Reddit Search Scraper
Under maintenanceSearch 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
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
0
Monthly active users
22 days ago
Last modified
Categories
Features
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
- Open the Actor Store page and select Try for free, or open the Input tab.
- Enter a keyword or phrase in
searchQuery; optionally setsubredditto restrict the search and choosesortByandtopTime. - Set
maxItems, keepdeepScrapingon for rich post fields, and enableincludeCommentsonly when you also need comment text. - 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.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
searchQuery | string | Required | No default; Console prefill nodejs tutorial | Keyword or phrase to search Reddit for, 1–200 characters. |
subreddit | string | Optional | Not supplied | Restrict the search to one public subreddit name without r/, up to 21 characters. Empty searches all Reddit. |
sortBy | string enum | Optional | relevance | relevance, new, hot, top, or comments. |
topTime | string enum | Optional | all | Time window for top: hour, day, week, month, year, or all. |
maxItems | integer | Optional | 50 | Maximum posts saved, 1–1,000. |
deepScraping | boolean | Optional | true | Open each post to enrich it with its public body, media, gallery, awards, and metadata. When off, only search-listing fields are available. |
includeComments | boolean | Optional | false | Include 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. |
headless | boolean | Optional | true | Run Chromium without a visible window. |
proxyConfiguration | object | Optional | {"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.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordType | string enum | Always | Row discriminator; always search_result. |
recordId | string | Always | Stable identifier derived from the Reddit post. |
position | integer | Always | One-based save position in the bounded search traversal. |
postId | string | Always | Bare Reddit base36 post ID without the t3_ prefix. |
postFullname | string | Always | Post fullname in t3_<postId> form. |
postTitle | string | Always | Public post title. |
contentUrl | string | Always | Public destination URL for the post content. |
permalink | string | Always | Canonical public Reddit permalink. |
subreddit | string | Always | Public subreddit name. |
searchQuery | string | Always | Query used for the search. |
sourceListingUrl | string | Always | Public Reddit search URL that produced the row. |
sortBy | string | Always | Search sort used. |
topTime | string | Always | Top-time filter recorded for the search. |
extractionMethod | string | Always | reddit-search-deep-dom when deep scraping ran, otherwise reddit-search-rendered-json-or-dom. |
scrapedAt | string | Always | UTC extraction time. |
author | string | When published | Public author name. |
authorFullname | string | When published | Public author fullname. |
subredditId | string | When published | Public subreddit identifier. |
subredditType | string | When published | Public subreddit type. Declared by the schema, but absent in all three saved rows. |
subredditSubscribers | number | When published | Public subscriber count. Declared by the schema, but absent in all three saved rows. |
score | number | When published | Public Reddit score at collection time. |
upvoteRatio | number | When published | Public upvote ratio. |
numComments | number | When published | Public comment count at collection time. |
createdAt | string | When published | Public creation time. |
editedAt | string | When published | Public edit time. Declared by the schema, but absent in all three saved rows. |
selfText | string | When published | Public self-text body; absent for link-only posts. |
postType | string | When published | Detected public post type, such as text or link. |
isVideo | boolean | When published | Whether Reddit identifies the post as video. |
isSelf | boolean | When published | Whether the post is a self/text post. |
isGallery | boolean | When published | Whether the post is a gallery. |
isOC | boolean | When published | Whether Reddit marks the post as original content. |
thumbnail | string | When published | Public thumbnail URL. Declared by the schema, but absent in all three saved rows. |
flair | string | When published | Public post flair; present in two of the three saved rows. |
domain | string | When published | Public content domain. |
nsfw | boolean | When published | Whether Reddit marks the post NSFW. |
spoiler | boolean | When published | Whether Reddit marks the post as a spoiler. |
awardsCount | number | When published | Public award count. |
awards | object array | When published | Public award summaries. Declared by the schema, but absent in all three saved rows. |
previewImages | object | When published | Public preview image metadata. Declared by the schema, but absent in all three saved rows. |
videoData | object | When published | Public Reddit-hosted video metadata. Declared by the schema, but absent in all three saved rows. |
mediaEmbed | object | When published | Public embedded-media metadata. Declared by the schema, but absent in all three saved rows. |
comments | object array | When includeComments and deepScraping are enabled and comments exist | Up 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. |
searchSubreddit | string | When a subreddit restriction is used | Subreddit 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.
| Field | Meaning |
|---|---|
recordType | Summary discriminator; runSummary. |
status | Actor outcome: SUCCEEDED or FAILED. |
runStatus | Canonical run status; matches status. |
dataStatus | COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
source | Public Reddit source. |
searchQuery | Keyword or phrase searched. |
subreddit | Subreddit restriction, or null for a global search. |
sortBy | Search sort used. |
topTime | Time window recorded for top results. |
maxItems | Configured post cap. |
deepScraping | Whether post-detail enrichment was requested. |
includeComments | Whether comments were requested; comments are fetched only when deep scraping also ran. |
headless | Whether Chromium ran headlessly. |
proxyConfigured | Whether a proxy configuration was created. |
recordsStored | Search-result rows written to the dataset. |
outputWriteFailureCount | Failed summary-write attempts, normally 0. |
failedRequests | Search or deep-scrape requests that failed after retries. |
blockedRequests | Failed requests classified as public access blocks. |
found | Whether at least one result was stored. |
dataAvailable | Whether usable public search data was saved. |
scrapedAt | Time the summary was written, in ISO UTC. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | At least one result was saved and no request failed. |
SUCCEEDED | PARTIAL | At least one result was saved, but a search or deep-scrape request failed. Saved rows remain available. |
SUCCEEDED | NO_RESULTS | The search completed cleanly but no post was saved. |
FAILED | FAILED | No 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.
