Reddit Scraper: Posts, Comments & Search avatar

Reddit Scraper: Posts, Comments & Search

Pricing

from $0.99 / 1,000 posts

Go to Apify Store
Reddit Scraper: Posts, Comments & Search

Reddit Scraper: Posts, Comments & Search

Scrape Reddit posts and comments from subreddits, users, search and post links in one run. Get title, text, score, comment count, flair, author, media and deep reply threads. Date range, minimum score and only-new mode. No login or API key. Export to JSON, CSV or Excel.

Pricing

from $0.99 / 1,000 posts

Rating

0.0

(0)

Developer

Wiseus Labs

Wiseus Labs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Reddit Scraper: posts, comments and search to CSV, JSON, Excel

Reddit posts and comments from subreddits, users, search and post links: text, score, comment count, author, flair and media in one table, one row per item, exported to JSON, CSV or Excel. Also: long reply chains with depth and parent, an only-new mode that skips what earlier runs returned, pinned posts skipped on request, and a failed run status when no input could be read, so your schedule notices.

Copy to your AI assistant

Help me use wiseus-labs/reddit-scraper, an Apify Actor that scrapes Reddit posts and comments from subreddits, users, search terms and post links. Read https://apify.com/wiseus-labs/reddit-scraper.md for documentation and the input schema. Choose settings for my requested outcome. If you cannot open the page, ask me to paste the relevant sections.

Key inputs: startUrls (subreddits, users, posts, search pages; r/name and u/name work too), searchQueries (keywords), sort and timeFilter, maxPostsPerSource (default 25), includeComments, dateFrom, onlyNew.

🔶 What is Reddit Scraper?

Reddit Scraper turns subreddits, user pages, search terms and post links into clean rows of posts and comments, ready for CSV, Excel, JSON or your own code.

  • Links and keyword searches in one run: subreddits, users, posts and search pages in any common link form, plus search terms.
  • Posts and comments in one table with a recordType column; each comment carries its post title, depth and parent.
  • Only new items for scheduled runs: posts and comments that earlier runs returned are skipped and not charged.
  • Filters by date window, minimum score and NSFW, and pinned posts skipped on request.
  • Clear run status: a run where no input could be read ends as failed, so schedules and webhooks notice it.
  • No Reddit login, no API key, no cookies.
GroupWhat you get
📝 Post🔖 title and text · 🔗 link and domain · 🗂️ subreddit and subreddit ID · 🏷️ flair · 🧭 post type (text, link, image, gallery, video) · 🔢 rank in the feed or search
💬 Comment🧵 comment text · 🪜 depth and parent comment · 📄 post ID, post link and post title · ✍️ edited time · 📌 pinned by moderators · 🙋 written by the post author
👤 Author🪪 author name and author ID (t2_) · 🎖️ author flair on posts
📈 Engagement⬆️ score · 📊 upvote ratio · 💭 comment count · 🔞 NSFW, spoiler, locked and pinned flags
🖼️ Media🖼️ image links, gallery images included · 🎬 video link · 🧩 thumbnail
🕒 Context📅 ISO 8601 UTC dates · 🔑 search term · 📍 the input each row came from · ⏱️ scraped time

🚀 Quick start

Step 1: enter subreddits, posts, users or keywords

Step 2: click Start or run it from your code

Step 3: get a clean table of Reddit posts and comments

  1. Add Reddit links, search terms, or both in Step 1 of the form.
  2. Click Start, or run it from your code or an AI agent.
  3. Open the table and download it as JSON, CSV or Excel.

With an empty input the scraper reads an example subreddit (r/space), so you can see the output right away.

🍳 How to scrape Reddit: input recipes

1. Brand and keyword monitoring

New posts that mention your brand in the last day, each post only once across scheduled runs.

{
"searchQueries": ["your brand", "your brand alternative"],
"sort": "new",
"dateFrom": "1 day",
"maxPostsPerSource": 100,
"onlyNew": true
}

2. Top posts of the week to CSV

What a community liked most this week, for market and sentiment research.

{
"startUrls": ["https://www.reddit.com/r/space/"],
"sort": "top",
"timeFilter": "week",
"maxPostsPerSource": 100
}

3. One post with its comments

The comments Reddit shows publicly, including collapsed and "continue this thread" replies, for a discussion dataset.

{
"startUrls": ["https://www.reddit.com/r/space/comments/1xzbpbk/history_has_been_made_at_this_exact_second/"],
"includeComments": true,
"maxCommentsPerPost": 0,
"maxCommentDepth": 0
}

4. Keyword search inside one subreddit

{
"searchQueries": ["rocket launch"],
"searchSubreddit": "space",
"sort": "top",
"timeFilter": "month",
"maxPostsPerSource": 50
}

5. A user's posts and comments

{
"startUrls": ["https://www.reddit.com/user/USERNAME/"],
"maxPostsPerSource": 50
}

6. Daily new posts from several subreddits

Run it every day on a schedule: each run saves only posts from the last day that earlier runs did not return, and skips pinned posts.

{
"startUrls": ["r/space", "r/astronomy", "r/askscience"],
"sort": "new",
"dateFrom": "1 day",
"maxPostsPerSource": 100,
"skipPinned": true,
"onlyNew": true
}

⚙️ Input

The form has five steps. Step 1 is enough to start; comments, filters, monitoring and limits have sensible defaults.

FieldWhat it doesDefault
startUrlsSubreddits, users, posts and search pages. Any common Reddit link form works, and so do r/name and u/name.r/space
searchQueriesKeywords, one search each.none
searchSubredditSearch inside one subreddit only.all of Reddit
sorthot, new, top, rising (subreddits), relevance, comments (searches). A sort that does not fit an input falls back to that input's usual order.hot
timeFilterTime range for Top and for searches: hour, day, week, month, year, all.all
maxPostsPerSourcePosts per link or search term (comments for a user's comments page). Applies to every input of the run.25
includeCommentsAlso save the comments of each saved post.off
maxCommentsPerPostComments per post. 0 means no limit.100
maxCommentDepth1 top-level comments only, 2 plus direct replies, 0 no depth limit.0
dateFrom, dateToOnly items created in this window. Exact dates or relative, such as 7 days.none
minScoreOnly items with at least this score.none
includeNsfwInclude NSFW posts and their comments.on
skipPinnedSkip posts pinned by moderators in subreddit feeds. Skipped pinned posts are free and do not count toward Max posts per input.off
onlyNewSkip items that earlier runs with the same inputs already returned. Max posts per input counts the posts checked, so a run returns only the new posts among the latest N.off
maxItemsStop after this many posts and comments in total. 0 means no limit.0

Every field is explained in the Input tab.

📦 Output example

One post and one comment from runs on r/space. Trimmed for length: the post text is cut and its image list is shortened to one link.

{
"recordType": "post",
"id": "1xztdwk",
"fullname": "t3_1xztdwk",
"url": "https://www.reddit.com/r/space/comments/1xztdwk/ama_were_astronauts_anil_menon_aboard_the/",
"title": "AMA: We're astronauts Anil Menon (aboard the International Space Station) and Zena Cardman. Ask us about how to become an astronaut!",
"text": "[NASA astronaut Anil Menon](https://www.nasa.gov/people/nasa-astronaut-anil-menon/) has been living and working aboard the International Space Station since Jul...",
"linkUrl": null,
"domain": "self.space",
"subreddit": "space",
"subredditId": "t5_2qh87",
"authorName": "nasa",
"authorId": "t2_1dkvvygb",
"authorFlair": "NASA Official",
"createdAt": "2026-11-18T22:52:58Z",
"editedAt": "2026-11-19T18:13:32Z",
"score": 478,
"upvoteRatio": 0.96,
"numComments": 174,
"flair": "Official AMA",
"isNsfw": false,
"isSpoiler": false,
"isLocked": true,
"isStickied": true,
"isVideo": false,
"postType": "text",
"thumbnail": null,
"imageUrls": [
"https://external-preview.redd.it/GFBGKzEDonVNXmUMKXVAS5dE1Npfq3w18W5au2_pK4A.jpeg?auto=webp&s=39eca5d91211022b31ab658d3b304c7e287f87d4"
],
"videoUrl": null,
"searchQuery": null,
"rank": 1,
"inputSource": "https://www.reddit.com/r/space/",
"sourceType": "subreddit",
"scrapedAt": "2026-11-20T11:18:55Z"
}
{
"recordType": "comment",
"id": "19svpqpjsfzpg",
"fullname": "t1_19svpqpjsfzpg",
"url": "https://www.reddit.com/r/space/comments/1xztdwk/comment/19svpqpjsfzpg/",
"text": "There are no age restrictions to apply to become an astronaut. The youngest ever selected was 26. The oldest was 46. -TA",
"postId": "1xztdwk",
"postUrl": "https://www.reddit.com/r/space/comments/1xztdwk/ama_were_astronauts_anil_menon_aboard_the/",
"postTitle": "AMA: We're astronauts Anil Menon (aboard the International Space Station) and Zena Cardman. Ask us about how to become an astronaut!",
"parentId": "t1_19sufkn2g7ngk",
"depth": 1,
"subreddit": "space",
"subredditId": "t5_2qh87",
"authorName": "nasa",
"authorId": "t2_1dkvvygb",
"createdAt": "2026-11-19T17:02:53Z",
"editedAt": null,
"score": 1,
"isStickied": false,
"isSubmitter": true,
"searchQuery": null,
"rank": 135,
"inputSource": "https://www.reddit.com/r/space/new/",
"sourceType": "subreddit",
"scrapedAt": "2026-11-20T11:21:58Z"
}

📋 Output fields

  • All rows: recordType (post, comment or status), id, fullname, url, inputSource, sourceType, searchQuery, rank, scrapedAt
  • Post: title, text, linkUrl, domain, subreddit, subredditId, authorName, authorId, authorFlair, createdAt, editedAt, score, upvoteRatio, numComments, flair, isNsfw, isSpoiler, isLocked, isStickied, isVideo, postType, thumbnail, imageUrls, videoUrl
  • Comment: text, postId, postUrl, postTitle, parentId, depth, subreddit, subredditId, authorName, authorId, createdAt, editedAt, score, isStickied, isSubmitter
  • Status rows: status, reason, id, url, inputSource, sourceType, searchQuery, scrapedAt
statusMeaningCharged
not_foundThe subreddit, user or post does not exist or was removedFree
privateThe subreddit or user page is privateFree
bannedThe subreddit or user is bannedFree
no_resultsThe input (with your filters) returned nothingFree
errorThe input could not be read or loadedFree
run_summaryNothing was saved; the row says whyFree

depth starts at 0 for top-level comments of a post. parentId is empty for top-level comments and holds the parent comment's fullname for replies. Comments read from a user's page have no depth, and their parentId is the fullname of the comment or post they answer.

The Output tab also has a Run summary: posts and comments saved per input, duplicates skipped, items skipped by filters and by Only new items, failed inputs, and the comment coverage per post (comments found compared with the number Reddit lists for the post).

What you don't pay for

  • Inputs that are not found, private, banned or without results: they get free status rows with a reason.
  • Items outside your filters (dates, minimum score, NSFW off) and pinned posts skipped with Skip pinned posts.
  • Duplicates: a post or comment found by two inputs is saved and charged once.
  • Items skipped by Only new items because an earlier run already returned them.
  • The run summary.

⏰ Scheduling and monitoring

Use a schedule to run the same input every hour or every day, and turn on Only new items:

  • Posts and comments that earlier runs with the same input returned are skipped and not charged.
  • Max posts per input counts the posts checked, so a run returns only the new posts among the latest N.
  • Comments of a post returned before are read again only when the post has new comments.
  • When strict filters match almost nothing, reading an input stops after checking 5 times Max posts per input (at least 100 posts), so a quiet day stays a small run.
  • If no input could be read, the run ends as failed and your schedule or webhook notices it; if only some failed, the status message says how many, for example "2 of 5 inputs failed".

The scraper remembers what it returned in a key-value store of your account named reddit-scraper-only-new, separately for each input. Add dateFrom such as 1 day to keep each run small.

🔌 API and integrations

Get posts in one call:

curl -X POST "https://api.apify.com/v2/acts/wiseus-labs~reddit-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls": ["https://www.reddit.com/r/space/"], "sort": "top", "timeFilter": "week", "maxPostsPerSource": 50}'

Python:

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("wiseus-labs/reddit-scraper").call(
run_input={"searchQueries": ["your brand"], "sort": "new", "dateFrom": "1 day", "maxPostsPerSource": 100}
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
if row.get("recordType") in ("post", "comment"):
print(row["recordType"], row["createdAt"], row["score"], row.get("title"))
  • Webhooks: get notified when a run finishes. See webhooks.
  • Make, Zapier, n8n: use the Apify app or node and pick this Actor to send new rows to Google Sheets, Slack, a database or a CRM. See integrations.
  • API reference: the API tab on this page shows ready code for every language.

Use with AI agents (MCP)

Connect the Apify MCP server to Claude, Cursor or another AI assistant and add this Actor. Then ask in plain words, for example: "Find Reddit posts from the last week that ask for an alternative to our product and summarize the main complaints."

❓ FAQ

Do I need a Reddit login, an API key or cookies? No. You don't log in to Reddit, you don't need a Reddit API key, and there is nothing to set up.

How do I get only new posts? Turn on Only new items and run the same input on a schedule. Posts and comments that earlier runs returned are skipped and not charged. See Scheduling and monitoring above.

Does it get replies to comments? Yes. Replies are saved as their own rows with depth and parentId, including collapsed replies and "continue this thread" links. Use maxCommentDepth to stop at a level, for example 1 for top-level comments only.

What happens if Reddit does not let the scraper read an input? That input gets a free status row with the reason. If no input of the run could be read, the run ends as failed. Inputs that do not exist or are private or banned are an answer, not a failure.

How do I sort and limit search results by date? Search terms accept sort (relevance, hot, new, top, comments) and timeFilter (hour to all time). For an exact window use dateFrom and dateTo. With sort New, reading stops as soon as posts are older than dateFrom.

Can I skip pinned posts and NSFW posts? Yes. Turn on Skip pinned posts to leave out moderator pins in subreddit feeds, and turn off Include NSFW to leave out NSFW posts and their comments. Skipped posts are not charged.

Why does Max posts per input apply to every input? It is one value per run. If a subreddit needs 50 posts and a search needs 200, run the scraper twice with two inputs.

What do the IDs look like? Posts have Reddit's own short IDs such as 1xztdwk (fullname t3_1xztdwk). Comment IDs are Reddit's own too, 7 or 13 characters long (fullname starts with t1_). Authors have an authorId starting with t2_.

How do I export Reddit data to CSV or Excel? After the run, open the Output tab and click Export. Choose CSV, Excel, JSON or another format. Through the API add format=csv to the dataset items link.

💬 Feedback and support

Found a bug or missing a field? Open an issue on the Issues tab and tell us what you need.

Ready to try it? Open the input form, paste a subreddit or type a keyword and click Start.