Reddit Comment Tree Scraper
$1/1000
results
Reddit Comment Tree Scraper
Scrape full Reddit comment trees for posts via DataDoping Reddit API.
$1/1000
results
Scrape full Reddit comment trees for posts via DataDoping Reddit API.
The Reddit Comment Tree Scraper extracts comments from Reddit posts using full post URLs. Choose sort order (best/confidence, top, new, controversial, old, or Q&A) and cap results per post — ideal when you need discussion text, not just post metadata.
Designed for sentiment analysts, community managers, NLP engineers, and researchers studying threaded conversations. Point it at product launches, brand crises, AMAs, or research threads and receive clean, structured JSON for every comment collected.
Pagination and per-post limits keep large threads manageable while preserving author, score, subreddit, timestamps, and body text for downstream analysis.
confidence (best), top, new, controversial, old, qamaxResults per post (1–500)The Reddit Comment Tree Scraper extracts comments from Reddit posts using full post URLs. Choose sort order (best/confidence, top, new, controversial, old, or Q&A) and cap results per post — ideal when you need discussion text, not just post metadata.
Designed for sentiment analysts, community managers, NLP engineers, and researchers studying threaded conversations. Point it at product launches, brand crises, AMAs, or research threads and receive clean, structured JSON for every comment collected.
Pagination and per-post limits keep large threads manageable while preserving author, score, subreddit, timestamps, and body text for downstream analysis.
confidence (best), top, new, controversial, old, qamaxResults per post (1–500)| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| postUrls | array of strings | Yes | — | Reddit post URLs to scrape comments from (one per line). |
| sort | string | No | "confidence" | Comment sort: confidence, top, new, controversial, old, or qa. |
| maxResults | integer | No | 50 | Max comments per post (1–500). |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| postUrls | array of strings | Yes | — | Reddit post URLs to scrape comments from (one per line). |
| sort | string | No | "confidence" | Comment sort: confidence, top, new, controversial, old, or qa. |
| maxResults | integer | No | 50 | Max comments per post (1–500). |
How parameters affect the run: sort changes which comments appear first and which get truncated when maxResults is hit. Higher maxResults increases API volume and runtime.
How parameters affect the run: sort changes which comments appear first and which get truncated when maxResults is hit. Higher maxResults increases API volume and runtime.
{
"postUrls": [
"https://www.reddit.com/r/AskReddit/comments/1xyz789/whats_the_best_productivity_app_youve_used/"
],
"sort": "top",
"maxResults": 100
}
{
"postUrls": [
"https://www.reddit.com/r/AskReddit/comments/1xyz789/whats_the_best_productivity_app_youve_used/"
],
"sort": "top",
"maxResults": 100
}
Each row is a comment (or error) with listing summary fields:
Each row is a comment (or error) with listing summary fields:
| Field | Type | Description |
|---|---|---|
| type | string | Typically "comment" or "error" |
| sourceUrl | string | Source post URL |
| sort | string | Sort used for the request |
| id | string | null | Comment ID |
| name | string | null | Fullname (t1_...) |
| kind | string | null | Reddit kind |
| title | string | null | Parent link title when present |
| author | string | null | Comment author |
| subreddit | string | null | Subreddit |
| score | number | null | Comment score |
| numComments | number | null | Usually null for comments |
| createdUtc | number | string | null | Creation time |
| permalink | string | null | Comment permalink |
| url | string | null | Related URL if present |
| body | string | null | Comment text (may be truncated to ~500 chars in summary mapping) |
| Field | Type | Description |
|---|---|---|
| type | string | Typically "comment" or "error" |
| sourceUrl | string | Source post URL |
| sort | string | Sort used for the request |
| id | string | null | Comment ID |
| name | string | null | Fullname (t1_...) |
| kind | string | null | Reddit kind |
| title | string | null | Parent link title when present |
| author | string | null | Comment author |
| subreddit | string | null | Subreddit |
| score | number | null | Comment score |
| numComments | number | null | Usually null for comments |
| createdUtc | number | string | null | Creation time |
| permalink | string | null | Comment permalink |
| url | string | null | Related URL if present |
| body | string | null | Comment text (may be truncated to ~500 chars in summary mapping) |
Optional / sparse fields may be null depending on API payload shape.
Optional / sparse fields may be null depending on API payload shape.
[
{
"type": "comment",
"sourceUrl": "https://www.reddit.com/r/AskReddit/comments/1xyz789/whats_the_best_productivity_app_youve_used/",
"sort": "top",
"id": "kx91abc",
"name": "t1_kx91abc",
"kind": "t1",
"title": "What's the best productivity app you've used?",
"author": "deepworkfan",
"subreddit": "AskReddit",
"score": 4821,
"numComments": null,
"createdUtc": 1718210000,
"permalink": "https://www.reddit.com/r/AskReddit/comments/1xyz789/.../kx91abc/",
"url": null,
"body": "After trying dozens of tools, the only one that stuck for me is a simple markdown notes app plus a weekly review ritual."
}
]
[
{
"type": "comment",
"sourceUrl": "https://www.reddit.com/r/AskReddit/comments/1xyz789/whats_the_best_productivity_app_youve_used/",
"sort": "top",
"id": "kx91abc",
"name": "t1_kx91abc",
"kind": "t1",
"title": "What's the best productivity app you've used?",
"author": "deepworkfan",
"subreddit": "AskReddit",
"score": 4821,
"numComments": null,
"createdUtc": 1718210000,
"permalink": "https://www.reddit.com/r/AskReddit/comments/1xyz789/.../kx91abc/",
"url": null,
"body": "After trying dozens of tools, the only one that stuck for me is a simple markdown notes app plus a weekly review ritual."
}
]