# Reddit Post & Comments Scraper (Free)

Turn Reddit threads into structured datasets in minutes. Paste Reddit post URLs and automatically collect post content plus full comment/reply threads for research, monitoring, and reporting.

- Template page: [https://www.octoparse.com/template/reddit-scraper](https://www.octoparse.com/template/reddit-scraper)
- Categories: Social Media
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from detail pages.

## Output

The current workflow extracts 24 fields, including `Comment_link`, `Last_level_comment_text`, `Last_level_comment_time`, `Last_level_commment_author`, `Last_level_upvote`, `Main_comment_author`, `Main_comment_image`, `Main_comment_post_time`, `Main_comment_text`, `Main_comment_upvote`, `Number_of_comments`, `Post_author`, `Post_image`, `Post_text`, `Post_text_URLs`, `Post_title`, `Post_title_URL`, `Post_upvote`, `Reply_image`, `Reply_text`, `Reply_time`, `Reply_upvote`, `Reply_user`, `Subreddit`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Reddit Post URLs (up to 1,000) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Reddit Post URLs (up to 1,000)

Required. Enter one or multiple Reddit post URLs to scrape. Supports up to 1,000 URLs per run (one per line). Constraints: minItems=1; maxItems=1000; items.minLength=1; items.maxLength=50000.

## How to Use

### Reddit Scraper for Posts & Comments – Usage Guide

This template scrapes posts, comments, and replies from Reddit threads using `old.reddit.com` URLs.

#### Important: URL Format Requirement

Use only `old.reddit.com` URLs. Replace `reddit.com` or `www.reddit.com` with `old.reddit.com`. The content is identical.

**Examples:**
- `https://old.reddit.com/r/cats/comments/153rj2b/show_me_your_cats_in_places_they_arent_meant_to_be/`
- `https://old.reddit.com/r/cats/comments/15098e0/catgiving_prizes/`

#### How to Use

1. **Start the template** – Click "Try it!" or "Start" to load the template.
2. **Enter your parameters** – Fill in the input fields:
   - **Reddit Post URLs** (required): Enter one or more `old.reddit.com` post URLs, one per line. Supports up to 1,000 URLs per run.
3. **Run the scraper** – Click "Start" and select a run mode. Octoparse will automatically browse, load, and extract data.
4. **Monitor & handle interruptions** – If a CAPTCHA appears, pause the task, solve it manually, then resume.
5. **Export your data** – After scraping completes, go to the output section to export as Excel, CSV, or JSON.

#### Parameter Table

| Parameter | Required? | Description | Example |
|-----------|-----------|-------------|---------|
| Reddit Post URLs (up to 1,000) | Yes | One or multiple `old.reddit.com` post URLs (one per line). | `https://old.reddit.com/r/cats/comments/15098e0/catgiving_prizes/` |

#### Limits & Best Practices

- **Max 1,000 URLs per run.** For large batches, break into smaller chunks (200–500 URLs) for easier monitoring.
- Separate threads with 1,000+ comments into their own runs.
- Enable auto-save in settings to preserve data if interruptions occur.

#### Legal Note

Scraping publicly available Reddit data is generally permitted for research, analysis, and personal use. Respect Reddit’s Terms of Service, do not scrape private or restricted content, and avoid using data for harassment, spam, or doxxing. Be mindful of rate limits.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Reddit Post & Comments Scraper](https://www.octoparse.com/template/reddit-post-comments-scraper)
- [YouTube Details & Comments Scraper (Free)](https://www.octoparse.com/template/youtube-details-comments-scraper-free)
- [Reddit Subreddit Scraper (Free)](https://www.octoparse.com/template/reddit-subreddit-scraper)
- [Reddit Post Scraper (by Keywords)](https://www.octoparse.com/template/reddit-post-scraper-by-keywords)
- [TikTok Video Details & Comments Scraper](https://www.octoparse.com/template/tiktok-video-comments-scraper)

## Input Schema

```json
{
  "title": "Reddit Post & Comments Scraper (Free) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "reddit_Post_URLs": {
      "title": "Reddit Post URLs (up to 1,000)",
      "description": "Enter one or multiple Reddit post URLs to scrape. Supports up to 1,000 URLs per run (one per line).",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 50000
      },
      "minItems": 1,
      "maxItems": 1000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "reddit_Post_URLs"
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Comment_link": {
      "type": "string",
      "description": ""
    },
    "Last_level_comment_text": {
      "type": "string",
      "description": ""
    },
    "Last_level_comment_time": {
      "type": "string",
      "description": ""
    },
    "Last_level_commment_author": {
      "type": "string",
      "description": ""
    },
    "Last_level_upvote": {
      "type": "string",
      "description": ""
    },
    "Main_comment_author": {
      "type": "string",
      "description": ""
    },
    "Main_comment_image": {
      "type": "string",
      "description": ""
    },
    "Main_comment_post_time": {
      "type": "string",
      "description": ""
    },
    "Main_comment_text": {
      "type": "string",
      "description": ""
    },
    "Main_comment_upvote": {
      "type": "string",
      "description": ""
    },
    "Number_of_comments": {
      "type": "string",
      "description": ""
    },
    "Post_author": {
      "type": "string",
      "description": ""
    },
    "Post_image": {
      "type": "string",
      "description": ""
    },
    "Post_text": {
      "type": "string",
      "description": ""
    },
    "Post_text_URLs": {
      "type": "string",
      "description": ""
    },
    "Post_title": {
      "type": "string",
      "description": ""
    },
    "Post_title_URL": {
      "type": "string",
      "description": ""
    },
    "Post_upvote": {
      "type": "string",
      "description": ""
    },
    "Reply_image": {
      "type": "string",
      "description": ""
    },
    "Reply_text": {
      "type": "string",
      "description": ""
    },
    "Reply_time": {
      "type": "string",
      "description": ""
    },
    "Reply_upvote": {
      "type": "string",
      "description": ""
    },
    "Reply_user": {
      "type": "string",
      "description": ""
    },
    "Subreddit": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Reddit Post & Comments Scraper (Free) output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

No verified real input/output examples are currently available.

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

No verified real input/output examples are currently available.

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `reddit-scraper`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/reddit-scraper.json)
- [Manifest](https://www.octoparse.com/templates/reddit-scraper-manifest.json)
