# Reddit Post & Comments Scraper

Get posts, comments, replies, dates, etc. on Reddit by old reddit post URLs.

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

## Pricing

Current price: **$0.2/1,000 lines**. Billing is based on output rows; an Octoparse subscription may be required.

## 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 comment pages.

## Output

The current workflow extracts 20 fields, including `Comment_Count`, `Comment_ID`, `Comment_Time`, `Comment_URL`, `Comment_body`, `Commentor`, `Commentor_points`, `Input_URL`, `Load_More_Comment_Count`, `Post_Author`, `Post_Body`, `Post_Body_URLs`, `Post_Image`, `Post_Title`, `Post_Upvote`, `Replied_Time`, `Replier`, `Replier_points`, `Replies_body`, `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 100,000) and start the template in cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

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

Required. Reddit Post URLs (up to 100,000) Constraints: minItems=1; maxItems=100000; items.minLength=1; items.maxLength=5000.

## How to Use

# Reddit Post & Comments Scraper

Collects post and discussion data from Reddit post URLs: subreddit, post title/body, author, upvotes, images/body links, comment count, comment text/metadata, replies, comment URLs/IDs.

**Pricing:** $0.2/1,000 lines. Billing is based on the number of output lines produced by the task.

## Input
- **Reddit Post URLs** (Required) — Reddit Post URLs. Up to 100,000 entries per run.

## How to use
1. Open **Reddit Post & Comments Scraper** and click **Try it!**.
2. Complete **Reddit Post URLs** using the format and limit above.
3. Run it in the Octoparse cloud and start the task.
4. Review fields such as `Post_Title`, `Input_URL`, `Comment_Count`, `Comment_Time`, and `Post_Body`, then export rows in the needed format.

## Behavior
The Python automation opens each Reddit post URL, parses the post, loads the comment tree, requests additional comment branches when present, and uploads structured post, comment, and reply records. The workflow is configured for Reddit comment pages.

## Use cases
- Analyze discussion themes using post bodies, comments, and replies.
- Measure engagement using post upvotes, comment counts, and commenter points.
- Study conversation structure using comment IDs, URLs, and reply fields.
- Build time-series discussion datasets using comment and reply timestamps.

## Tips
- Test one representative value in **Reddit Post URLs** before submitting a large batch.
- Use `Post_Title` and `Input_URL` when checking duplicates or comparing repeated exports.

## 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 (Free)](https://www.octoparse.com/template/reddit-scraper)
- [Reddit Post Scraper (by Keywords)](https://www.octoparse.com/template/reddit-post-scraper-by-keywords)
- [YouTube Details & Comments Scraper (Free)](https://www.octoparse.com/template/youtube-details-comments-scraper-free)
- [TikTok Video Details & Comments Scraper](https://www.octoparse.com/template/tiktok-video-comments-scraper)
- [YouTube Comments & Replies Scraper](https://www.octoparse.com/template/youtube-comments-replies-scraper)

## Input Schema

```json
{
  "title": "Reddit Post & Comments Scraper 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 100,000)",
      "description": "Reddit Post URLs (up to 100,000)",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000
      },
      "minItems": 1,
      "maxItems": 100000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "reddit_Post_URLs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "reddit_Post_URLs": [
    "https://www.reddit.com/r/askspain/comments/1vhaulu/pregunta_a_novios_y_organizadores_de_bodas/"
  ]
}
```

Example 2

```json
{
  "reddit_Post_URLs": [
    "https://www.reddit.com/r/askspain/comments/15jqfju"
  ]
}
```

Example 3

```json
{
  "reddit_Post_URLs": [
    "https://www.reddit.com/r/AIBubble/comments/1xop8p3/we_told_you_ai_bubble_is_popping_ai_bros_are/"
  ]
}
```

Example 4

```json
{
  "reddit_Post_URLs": [
    "https://www.reddit.com/r/ArtificialInteligence/comments/1wg7ecs/are_we_massively_overestimating_how_close_ai_is/"
  ]
}
```

Example 5

```json
{
  "reddit_Post_URLs": [
    "https://www.reddit.com/r/scrapingtheweb/comments/1wflzb8/what_are_you_guys_using_to_scrape_reddit_at_scale/"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Comment_Count": {
      "type": "string",
      "description": ""
    },
    "Comment_ID": {
      "type": "string",
      "description": ""
    },
    "Comment_Time": {
      "type": "string",
      "description": ""
    },
    "Comment_URL": {
      "type": "string",
      "description": ""
    },
    "Comment_body": {
      "type": "string",
      "description": ""
    },
    "Commentor": {
      "type": "string",
      "description": ""
    },
    "Commentor_points": {
      "type": "string",
      "description": ""
    },
    "Input_URL": {
      "type": "string",
      "description": ""
    },
    "Load_More_Comment_Count": {
      "type": "string",
      "description": ""
    },
    "Post_Author": {
      "type": "string",
      "description": ""
    },
    "Post_Body": {
      "type": "string",
      "description": ""
    },
    "Post_Body_URLs": {
      "type": "string",
      "description": ""
    },
    "Post_Image": {
      "type": "string",
      "description": ""
    },
    "Post_Title": {
      "type": "string",
      "description": ""
    },
    "Post_Upvote": {
      "type": "string",
      "description": ""
    },
    "Replied_Time": {
      "type": "string",
      "description": ""
    },
    "Replier": {
      "type": "string",
      "description": ""
    },
    "Replier_points": {
      "type": "string",
      "description": ""
    },
    "Replies_body": {
      "type": "string",
      "description": ""
    },
    "SubReddit": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Reddit Post & Comments Scraper 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

Example 1

```json
{
  "Comment_Count": "7",
  "Comment_ID": "t1_p7h4101",
  "Comment_Time": "2026-08-06T18:14:50.438+00:00",
  "Comment_URL": "https://www.reddit.com/r/askspain/comments/1vhaulu/comment/p7h4101/",
  "Comment_body": "Yo me caso ahora y hemos pedido dinero, todos mis amigos que se han casado también. Al final no hay casa que amueblar porque lo normal es vivir juntos de antes y/o estar de alquiler. No quita que caiga algun regalo de personas concretas pero yo nunca he visto una lista de bodas como tal",
  "Commentor": "etchekeva",
  "Commentor_points": "2",
  "Input_URL": "https://www.reddit.com/r/askspain/comments/1vhaulu/pregunta_a_novios_y_organizadores_de_bodas/",
  "Load_More_Comment_Count": "0",
  "Post_Author": "Tough-Appointment209",
  "Post_Body": "Hola! Duda para novios (o ya casados) y organizadores de bodas. Os parece que el tema de crear listas de regalos de bodas o sugerencias se complica? Y mas que eso, saber que ha elegido regalar cada uno o que cosas de la lista se han comprado? A lo mejor mis amigos son un poco raros... pero estos últimos meses varios se han casado y algunos de ellos me han comentado que el tema de los regalos de boda es un jaleo. Algunos han hecho listas por google docs o han pedido a amigos que las organicen, pero no sabía que esto era realmente una molestia, siempre había asumido que era algo más bien secundario... Con que, con genuina curiosidad, es esto realmente una molestia común, y tan difícil o molesto es organizarlo?? Si tenéis historias vuestras contadmelas porque os juro que se me está abriendo un mundo jaja",
  "Post_Body_URLs": "",
  "Post_Image": "https://cf.preview.redd.it/jef3eqa0fa1i1.png?width=320&height=240&auto=webp&s=5a8501d8e3685307f7ed97a745aedef5608a90a9",
  "Post_Title": "Pregunta a novios y organizadores de bodas",
  "Post_Upvote": "1",
  "Replied_Time": "2026-09-02T23:18:11.073+00:00",
  "Replier": "MysticTartaruga",
  "Replier_points": "1",
  "Replies_body": "Cuánto es lo normal regalar en dinero? Qué monto?",
  "SubReddit": "askspain"
}
```

Example 2

```json
{
  "Comment_Count": "37",
  "Comment_ID": "t1_jv1haym",
  "Comment_Time": "2023-08-06T15:38:08.261+00:00",
  "Comment_URL": "https://www.reddit.com/r/askspain/comments/15jqfju/comment/jv1haym/",
  "Comment_body": "Yo me caso el año que viene, si quieres cubrir el cubierto da 150 minimo, para un hermano daría más, 200-250.",
  "Commentor": "DrVitoti",
  "Commentor_points": "9",
  "Input_URL": "https://www.reddit.com/r/askspain/comments/15jqfju",
  "Load_More_Comment_Count": "0",
  "Post_Author": "frasier_crane",
  "Post_Body": "En breves se casa mi hermano, y a su boda iremos mi pareja y yo. Vamos a hacerle un regalo económico a la cuenta que indica en la invitación de boda también para costear el precio de la comida, pero no sabemos cuánto se suele dar en estas ocasiones. ¿Alguien me puede orientar?",
  "Post_Body_URLs": "",
  "Post_Image": "https://preview.redd.it/p69hw55q021i1.jpeg?width=320&height=240&auto=webp&s=76f32612ebe22fb1b73d9a3a04eb92f39b21a1b3",
  "Post_Title": "¿Cuál es la cantidad de dinero estándar a dar en la boda de un familiar cercano?",
  "Post_Upvote": "12",
  "Replied_Time": "2023-08-06T15:40:00.085+00:00",
  "Replier": "frasier_crane",
  "Replier_points": "10",
  "Replies_body": "Mi límite está en 250 por persona, que ya con el traje que me tengo que comprar y el vestido de mi pareja me hace un roto de 1000 euritos este mes. Cómo odio las bodas.",
  "SubReddit": "askspain"
}
```

Example 3

```json
{
  "Comment_Count": "1394",
  "Comment_ID": "t1_19s6t7jzljjeo",
  "Comment_Time": "2026-11-05T18:02:29.643+00:00",
  "Comment_URL": "https://www.reddit.com/r/AIBubble/comments/1xop8p3/comment/19s6t7jzljjeo/",
  "Comment_body": "Hey pros, how does this make you feel?",
  "Commentor": "Current_Employer_308",
  "Commentor_points": "67",
  "Input_URL": "https://www.reddit.com/r/AIBubble/comments/1xop8p3/we_told_you_ai_bubble_is_popping_ai_bros_are/",
  "Load_More_Comment_Count": "0",
  "Post_Author": "Calm-Contribution719",
  "Post_Body": "Past week I posted (twice) explaining why the AI bubble is popping and I received thousand of comments of delusional AI bros saying that it was a correction and nothing is happening. Are you still laughing? AI market is crashing and this is only the beginning. If you think this will be better with trillions of debt and billions of losses you are just denying the reality. AI bros, listen to me: no one believes the AI lies anymore. The narrative is lost. We told you. Sit down and enjoy.",
  "Post_Body_URLs": "",
  "Post_Image": "https://i.redd.it/gqujlodqi3yd1.png",
  "Post_Title": "We told you: AI bubble is popping. AI bros are finished.",
  "Post_Upvote": "739",
  "Replied_Time": "",
  "Replier": "",
  "Replier_points": "",
  "Replies_body": "",
  "SubReddit": "AIBubble"
}
```

Example 4

```json
{
  "Comment_Count": "669",
  "Comment_ID": "t1_p9s0nyj",
  "Comment_Time": "2026-09-14T16:11:53.497+00:00",
  "Comment_URL": "https://www.reddit.com/r/ArtificialInteligence/comments/1wg7ecs/comment/p9s0nyj/",
  "Comment_body": "Why does it need to be AGI to be dangerous?",
  "Commentor": "grateful2you",
  "Commentor_points": "113",
  "Input_URL": "https://www.reddit.com/r/ArtificialInteligence/comments/1wg7ecs/are_we_massively_overestimating_how_close_ai_is/",
  "Load_More_Comment_Count": "0",
  "Post_Author": "FactorGeneral4078",
  "Post_Body": "The current AI situations and Silicon Valley CEOs saying AI is going to “kill us all ” by 2030 is ridiculous . They’re selling fear to raise more and more ridiculous amounts of money, only to squeeze out another 10% benchmark improvement and call it revolutionary. AI is nowhere near AGI. Outside of genuinely impressive things like AlphaFold and some other scientific applications, I haven’t seen the kind of breakthrough people keep promising. A lot of it is still computer use, automation, and digital work. By 2030, I’m more worried that people will become dumber and more dependent on AI than extinct. The whole thing feels like a massive hype cycle and a money making scheme dressed up as the end of humanity. This is my take! I could be wrong 😑",
  "Post_Body_URLs": "",
  "Post_Image": "https://external-preview.redd.it/qFUK7jSi8pJhEqu00H519zjYVXNuSI7p94TrU572PF4.jpeg?width=140&height=70&auto=webp&s=0d3d405c143d914121f9ba50b3722cd1366edae0",
  "Post_Title": "Are we massively overestimating how close AI is to AGI?",
  "Post_Upvote": "318",
  "Replied_Time": "",
  "Replier": "",
  "Replier_points": "",
  "Replies_body": "",
  "SubReddit": "ArtificialInteligence"
}
```

Example 5

```json
{
  "Comment_Count": "26",
  "Comment_ID": "t1_19s3812so2a00",
  "Comment_Time": "2026-10-29T23:43:47.127+00:00",
  "Comment_URL": "https://www.reddit.com/r/scrapingtheweb/comments/1wflzb8/comment/19s3812so2a00/",
  "Comment_body": "what kind of request volume are you actually running per day? if its just a handful of subs and keywords, polling the native RSS feeds with a basic script is basically free and handles new posts pretty well",
  "Commentor": "Retrina-Wolkowski",
  "Commentor_points": "1",
  "Input_URL": "https://www.reddit.com/r/scrapingtheweb/comments/1wflzb8/what_are_you_guys_using_to_scrape_reddit_at_scale/",
  "Load_More_Comment_Count": "0",
  "Post_Author": "Sharp_Promotion_5155",
  "Post_Body": "I do social listening for a few clients, mostly tracking their products/brands across different subreddits. Usually I need to search keywords across Reddit or keep pulling new posts from a list of subs. Sometimes a client sends me one specific thread and I need the full conversation, including the replies. I've been using Apify and it works for some stuff, but I don't always get everything I need and the cost starts adding up pretty fast when I'm running a lot of jobs. Is there a better alternative for this? Mainly looking for something that can handle keyword search + multiple subreddits, but can also pull a full thread properly when I need it. API is fine, no-code would be nice too.",
  "Post_Body_URLs": "",
  "Post_Image": "https://cf.preview.redd.it/9paih16dexug1.gif?width=320&height=240&auto=webp&s=8c2fb8854ead8dc40f2ed27bb6c8a9d1da03bfb0",
  "Post_Title": "What are you guys using to scrape Reddit at scale? Apify is getting expensive",
  "Post_Upvote": "3",
  "Replied_Time": "2026-11-03T17:46:15.503+00:00",
  "Replier": "cs_cast_away_boi",
  "Replier_points": "1",
  "Replies_body": "it's being phased out of support november 13 2026.",
  "SubReddit": "scrapingtheweb"
}
```

## 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`.

```json
{
  "templateName": "reddit-post-comments-scraper",
  "taskName": "Reddit Post & Comments Scraper",
  "parameters": "{\"reddit_Post_URLs\":[\"https://www.reddit.com/r/askspain/comments/1vhaulu/pregunta_a_novios_y_organizadores_de_bodas/\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"reddit_Post_URLs\":[\"https://www.reddit.com/r/askspain/comments/1vhaulu/pregunta_a_novios_y_organizadores_de_bodas/\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "reddit-post-comments-scraper",
        "taskName": "Reddit Post & Comments Scraper",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "reddit-post-comments-scraper",
  "taskName": "Reddit Post & Comments Scraper",
  "parameters": "{\"reddit_Post_URLs\":[\"https://www.reddit.com/r/askspain/comments/1vhaulu/pregunta_a_novios_y_organizadores_de_bodas/\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `reddit-post-comments-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-post-comments-scraper.json)
- [Manifest](https://www.octoparse.com/templates/reddit-post-comments-scraper-manifest.json)
