template bg

Reddit Post Comments Scraper

Reddit Post Comments Scraper is a reusable BrowserAct template for extracting a complete structured comment thread from a known public Reddit post.

Published by
Br
BrowserAct Team
August 26, 2026
Approx.Credits
33-49 Credits
Categories
BA
Reddit
Template ID
114770098381664175

Brief

Reddit Post Comments Scraper is a reusable BrowserAct template for extracting a complete structured comment thread from a known public Reddit post. It is designed for post-URL workflows and differs from templates that search Reddit by keyword before collecting posts and comments. The Bot only reads public Reddit pages and does not require login.

What Does BrowserAct Reddit Post Comments Scraper Do?

The Bot validates the Reddit post URL, loads its public comment data, applies the selected comment sort, and returns top-level comments plus nested replies when enabled. It preserves the reply hierarchy with parent IDs and depth, and it marks deleted or removed comments without inventing missing authors.

Key Features

  • Starts from a specific Reddit post URL.
  • Extracts complete public comment text and nested replies.
  • Preserves comment IDs, parent IDs, and reply depth.
  • Supports Reddit comment sorting through a dropdown.
  • Identifies deleted or removed comments.
  • Deduplicates comments and enforces a configurable result limit.

What Data Can I Extract from a Reddit Post?

Field Description
post_title Reddit post title.
post_url Canonical public post URL.
subreddit Subreddit containing the post.
post_author Public post author, when available.
post_score Public post score at run time.
post_comment_count Public comment count shown for the post.
comment_id Unique Reddit comment ID.
parent_comment_id Parent comment ID for a reply; null for top-level comments.
depth Reply depth, where 0 represents a top-level comment.
author Public comment author; null for removed authors.
comment_text Complete public comment text.
score Public comment score.
published_time Comment publication time.
permalink Canonical comment permalink.
is_deleted Whether Reddit marks the comment as deleted or removed.

How to Use Reddit Post Comments Scraper

  1. Click Run task.
  2. Paste a public Reddit post URL.
  3. Choose the comment sort and whether nested replies should be included.
  4. Set the maximum number of comments.
  5. Click Run and review the structured thread.

Input Parameters

Parameter Required Default Description
post_url Yes Public ChatGPT subreddit post Public Reddit post detail URL.
comment_sort Yes best Dropdown using supported Reddit comment sorts.
include_replies Yes true Toggle that includes nested replies when enabled.
comment_limit Yes 50 Maximum number of returned comments, up to 500.

Example Output

{
  "results": [
    {
      "post_title": "Keeping advanced voice mode quiet",
      "post_url": "https://www.reddit.com/r/ChatGPT/comments/1g0ep8i/keeping_advanced_voice_mode_quiet/",
      "subreddit": "ChatGPT",
      "post_author": "joniorsenior",
      "post_score": 1,
      "post_comment_count": 5,
      "comment_id": "lr873ks",
      "parent_comment_id": null,
      "depth": 0,
      "author": "Incener",
      "comment_text": "Here's the post: https://www.reddit.com/r/ChatGPT/comments/1fx0vyd/advance_voice_silent_mode_demonstration/ Just searched for `silent site:reddit.com/r/chatgpt`. Haven't tried it myself though. You could probably add a memory for it, which might work better.",
      "score": 2,
      "published_time": "2024-10-10T09:34:14.000Z",
      "permalink": "https://www.reddit.com/r/ChatGPT/comments/1g0ep8i/keeping_advanced_voice_mode_quiet/lr873ks/",
      "is_deleted": false
    }
  ]
}

How Does it Work?

How Reddit Post Comments Scraper works

  1. Validate and normalize the public Reddit post URL.
  2. Request the public post and comment thread using the selected sort.
  3. Traverse top-level comments and nested replies when enabled.
  4. Preserve hierarchy, mark deleted content, and remove duplicate comment IDs.
  5. Return comments in a structured result up to the configured limit.

How to Build a New Scraper Bot with Agent Built

Step 1: Describe the Data You Need

Open BrowserAct and start Agent Built from the Home prompt box or from Create -> Build with Agent. Describe the public website, records, reusable inputs, output fields, and result limit.

Start Agent Built

Step 2: Let BrowserAct Build and Test the Bot

BrowserAct explores the live website, determines the navigation and extraction path, and validates the structured result. Add missing constraints in the same build conversation when needed.

BrowserAct building the Bot

Step 3: Run the Bot and Review the Result

Run the published Bot with its default inputs. Check comment text, nested reply hierarchy, deleted markers, source permalinks, and row count before reusing it with another post URL.

Run the completed Bot

Review structured results

How Many Results Can You Scrape?

The default run requests up to 50 comments. Increase comment_limit up to 500. The Bot returns fewer rows when the public thread contains fewer comments or when inaccessible branches cannot be expanded.

Why Use Reddit Post Comments Scraper?

  • Analyze a specific Reddit discussion without keyword-search noise.
  • Preserve nested reply relationships for conversation analysis.
  • Collect public text, engagement, authors, and timestamps together.
  • Route structured thread data into research or monitoring workflows.

Who Can Use This Template?

  • Community, audience, and social listening teams.
  • Researchers studying public online discussions.
  • Product and customer insight teams.
  • Automation builders working with Reddit comment data.

Automation and Export

BrowserAct automation and export workflow

BrowserAct returns structured records first. You can then use the output through API JSON responses, n8n workflows, Make scenarios, Zapier automations, MCP-based agent workflows configured from the Bot's Integrations tab, or manual spreadsheet export.

Need Help?

Discord: Discord Community

E-mail: service@browseract.com

Your next scraper starts here.

Reddit Post Comments Scraper