Reddit Comments Scraper
Pricing
from $7.00 / 1,000 results
Reddit Comments Scraper
Scrape Reddit comments in two modes: a specific post by URL and a live subreddit comments stream. Get clean JSON, remove noisy fields, and paginate effortlessly using returned cursors. Ideal for research, monitoring, analytics, and ETL on Apify datasets.
0.0 (0)
Pricing
from $7.00 / 1,000 results
0
1
1
Last modified
4 days ago
Reddit Comment Search Scraper 🔎💬
Fetch Reddit comments in two powerful ways with clean, production‑ready JSON output:
- Post by URL: Get the comments for a specific Reddit post.
- Subreddit comments stream: Pull the latest comments from a subreddit with optional cursor‑based pagination.
Built for Apify. Fast. Reliable. Clean data.
Highlights ✨
- Two modes:
post_by_urlandsubreddit_comments. - Cursor pagination (optional): Only for the
subreddit_commentsmode. - Apify‑native: Output goes straight to your dataset.
Inputs ⚙️
| Key | Type | Editor | Default | Notes |
|---|---|---|---|---|
mode | string | select | post_by_url | Choose: post_by_url or subreddit_comments. |
url | string | textfield | https://www.reddit.com/r/funny/comments/1nvwccn/ | Required when mode = post_by_url. The Reddit post URL. |
subreddit | string | textfield | funny | Required when mode = subreddit_comments. The subreddit name (without r/). |
cursor | string | textfield | — | Optional and only used for subreddit_comments. Enter the current cursor (e.g., t3_1btflsp) to load the next page. |
Quick start 🚀
A) Fetch comments for a post by URL
{"mode": "post_by_url","url": "https://www.reddit.com/r/funny/comments/1nvwccn/"}
B) Fetch latest subreddit comments (with optional pagination)
{"mode": "subreddit_comments","subreddit": "funny"}
Pagination (subreddit comments) ⏭️
- Only for
https://reddit3.p.rapidapi.com/v1/reddit/subreddit/comments. - Run once without
cursorto get the first page. - In the dataset output, check
payload.meta.cursoror the top‑levelreturned_cursor. - Copy that value (e.g.,
t3_1btflsp). - Paste it into the
cursorinput and run again to get the next page.
Example next‑page input:
{"mode": "subreddit_comments","subreddit": "funny","cursor": "t3_1btflsp"}
Output format 📦
- Records are pushed to the default Apify dataset.
- The actor also returns
returned_cursor(if provided by the API) to make pagination easy.
Example (truncated):
{"mode": "subreddit_comments","url": null,"subreddit": "funny","cursor_used": null,"returned_cursor": "t1_nkxfgby","fetched_at": "2025-01-01T10:00:00.000Z","payload": {"meta": {"version": "v1.0","status": 200,"subreddit": "funny","cursor": "t1_nkxfgby"},"body": [{ "id": "...", "body": "..." }]}}
Best practices 💡
- Pick the right mode: Use
post_by_urlfor a specific thread,subreddit_commentsfor firehose‑style recent comments. - Paginate thoughtfully: For
subreddit_comments, use the returned cursor to continue where you left off. - Resilience: Some fields may be
nullor omitted; handle them gracefully. - Automation: Schedule runs and export JSON/CSV for downstream pipelines.
FAQ ❓
- Which modes are supported?
post_by_url,subreddit_comments. - When can I use
cursor? Only withsubreddit_comments. - Where do I find the next
cursor? In the dataset output:payload.meta.cursorandreturned_cursor. - Do I need to log in? No.
- Where is the data stored? In the default Apify dataset of the run.
Troubleshooting 🛠️
- Empty or missing fields: The source can omit fields. Always check for
null/undefined. - Pagination returns same data: Ensure you placed the latest
cursorvalue into the input. - Rate limits: If you run many times quickly, consider spacing runs.
Keywords 🔍
Reddit comment search, Reddit comment scraper, subreddit comments, reddit comment search by user, Reddit thread comments, Reddit comment API alternative, Apify Reddit scraper, reddit comment search history, reddit comment search by subreddit, Reddit Search Tool, Search Reddit user comments, Reddit comment search by date, Reddit comment search app, reddit comment viewer, deleted reddit comment viewer,clean JSON, no login, dataset export, automation, ETL, data pipeline
Hashtags 📣
#Reddit #Comments #Scraper #Subreddit #Apify #Pagination #Cursor #DataExtraction #NoLogin #JSON
On this page
Share Actor:
