pomlabs/reddit-posts-comments-scraper
pomlabs--reddit-posts-comments-scraperThis tool calls the Actor "pomlabs/reddit-posts-comments-scraper" and retrieves its output results. Actor description: Reddit posts and comments, including deleted and removed ones: who removed them, the original text when it was archived in time, and the moderators' public removal notice when there is one. Full moderator list, subreddit rules and settings, hidden profiles. No login. $0.002 per item.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pomlabs--reddit-posts-comments-scraper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Order of posts read from subreddits and users (by post date). Example values: "newest" | newest |
| dateTo | No | Optional. Only posts and comments created before this date (YYYY-MM-DD). | |
| keyword | No | Optional. Only posts of the subreddits above whose title or text contains these words (last 12 months unless you set a start date). | |
| dateFrom | No | Optional. Only posts and comments created on or after this date (YYYY-MM-DD). Reddit history goes back to 2005. | |
| maxItems | No | Total posts + comments to return across all sources. You are charged per item delivered. Example values: 100 | |
| waitSecs | No | Max seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget. | |
| startUrls | No | Subreddit URLs (or r/name), post URLs and user profile URLs. Mix freely. Leave empty to only search. Example values: ["https://www.reddit.com/r/webscraping"] | |
| reportDays | No | Window for the top commenters and top posters of the subreddit report. On very large subreddits the window is shortened automatically and the report says which window was used. Example values: 30 | |
| searchQuery | No | Optional. Searches all of Reddit by relevance (up to 25 posts per search) and returns matching posts (and their comments if enabled). | |
| removedFilter | No | Every post and comment says whether it was removed, by whom, and if the original text and author were kept. Use this to return only one kind. Removed items are rare, so with a filter the scraper looks through up to 100x 'Maximum posts per source' newest items (max 10,000) to find them. Example values: "all" | all |
| latestComments | No | Also return the newest comments of each subreddit (across all its posts) and of each user, newest first, as separate items. For users this includes comments on hidden profiles and comments that were later deleted. | |
| includeComments | No | Also return the comments of each post as separate items (with depth and parent). | |
| maxCommentDepth | No | Optional. 0 = only top-level comments, 1 = plus direct replies, and so on. | |
| includeEditedText | No | Every item already says if it was edited (isEdited, editedAt). When the edit happened after the archive captured the item (editedAfterCapture), the text you get is the one from BEFORE the edit. Turn this on to also get the current text on Reddit (textAfterEdit), so you see what changed. Up to 200 edited items per run. | |
| includeModerators | No | One extra item per subreddit (`submissionType`: `subreddit_moderators`) with Reddit's full moderator list: username, moderator since, permissions and flair. Reddit shows this list only to logged-in users; you do not need an account. Charged as one item ($0.002). Already included in the subreddit report. | |
| includeUserReport | No | One extra item per user: karma and totals in the archive, first and last activity, the subreddits the user posted or commented in (with counts), and how many of their posts and comments were removed and by whom. Works for hidden profiles. $0.02 per report. | |
| maxPostsPerSource | No | Posts per subreddit, user or search. Example values: 100 | |
| maxCommentsPerPost | No | Optional cap on comments (top-level + replies) per post. | |
| includeRemovalNotice | No | When a moderator replied to a removed post or comment with the reason (the `<subreddit>-ModTeam` message, AutoModerator or a moderator's own reply), the item carries it in `removalNoticeText`, `removalNoticeBy` and `removalNoticeAt`. No extra charge. Turn off to skip the lookup. Example values: true | |
| includeSubredditReport | No | One extra item per subreddit: rules, settings (restricted posting, allowed post types, NSFW, quarantine, flair), post requirements (banned domains, title rules), the full moderator list, bots, wiki pages, top commenters and top posters, the share of posts and comments removed, split by who removed them, how many removals came with a moderator notice, the most used notices, and how many cite low karma or a new account. $0.02 per report. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | Advisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key | |
| runId | Yes | Actor run ID | |
| stats | No | Run statistics | |
| status | Yes | Run status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED | |
| actorId | Yes | Stable Apify Actor ID from the run record | |
| summary | Yes | Past-tense summary of the run state | |
| exitCode | No | Actor process exit code; populated for terminal states (especially FAILED) | |
| nextStep | Yes | One primary follow-up action with identifiers interpolated | |
| storages | Yes | Dataset and key-value store metadata, keyed by alias. "default" is always the primary entry. | |
| actorName | No | "username/actor-name" | |
| startedAt | No | ISO timestamp when the run started | |
| finishedAt | No | ISO timestamp when the run finished (terminal states only) | |
| statusMessage | No | Pass-through from Apify run.statusMessage | |
| apifyConsoleUrl | No | Personalized Apify Console link to the run; present only for Console sessions |