Reddit comments API
$0.002 / comment
$2.00 / 1K · pay per delivered comment
A Reddit comments API that takes one post URL and returns its public discussion as rows: author, full text, score, timestamp, and — because a thread is a tree — the depth and parent id that let you rebuild it. The OP's own comments, moderator comments and pinned comments arrive flagged, so the signal survives the flattening.
$0.002 per delivered comment · $2 free every month · Failed runs never billed
What it does
What a Reddit comments API does
Comment data is where Reddit's value actually lives: the post is a headline, the thread is the opinion. One run loads up to two hundred comments of a public post in thread order for the sort you choose — top for consensus, new for live monitoring, controversial for the disagreements — with the branches Reddit did not load counted honestly in the run notes rather than silently missing.
Every row carries parent_id and depth, which is the difference between a bag of sentences and a conversation: replies stay attached to what they answer, sentiment can be weighted by depth or score, and quoting a comment links straight to its permalink. Pairs naturally with the Reddit posts collector — discover threads by keyword there, pull the discussions here.
Inputs
The whole request. Anything you leave out falls back to the default shown in the catalog.
| Input | Type | Required | What it does |
|---|---|---|---|
post | string | yes | Post URL or id, e.g. https://www.reddit.com/r/pics/comments/92dd8/… or 92dd8. |
sort | string | no | Comment order (default top). One of: top, new, controversial, old, qa. |
country | string | no | ISO 3166-1 alpha-2 code — proxy exit geo. Omit for the default pool. |
max_results | integer | no | How many comments to deliver at most (1–200). You pay only for delivered comments. |
Outputs — 19 fields, one row per comment
What one comment looks like
Every delivered comment carries these fields. Nullable means the source did not publish it — the field stays empty instead of being guessed.
| Field | Type | What it holds |
|---|---|---|
rank | integer | 1-based position in thread order for the chosen sort. |
id | string · nullable | Comment fullname (t1_…). |
parent_id | string · nullable | Parent comment fullname; null for top-level comments. |
depth | integer | 0 for top-level, +1 per nesting level. |
author | string · nullable | Comment author. |
body | string · nullable | Comment text (markdown rendered to plain text). |
score | integer · nullable | Net upvotes as shown. |
created_at | string · nullable | Comment timestamp (ISO 8601). |
edited | boolean | True when the comment was edited. |
permalink | string · nullable | Direct link to the comment. |
is_submitter | boolean | True when the author is the post's OP. |
is_moderator | boolean | True when the author is a subreddit moderator. |
stickied | boolean | True for pinned comments. |
collapsed | boolean | True when Reddit collapses the comment by default. |
author_id | string · nullable | Author id (t2_…) when stated. |
awards | integer · nullable | Award count when stated. |
post_id | string · nullable | Id of the post the comment belongs to (t3_…). |
post_title | string · nullable | Title of the post. |
subreddit | string · nullable | Subreddit of the post (r/…). |
Integration
One POST, typed rows
Base URL https://api.quanticdata.io/v1, Bearer auth, the same key as every other Data API. Endpoint: POST /v1/.
curl -X POST https://api.quanticdata.io/v1/scraper/collectors/reddit_comments/run \
-H "Authorization: Bearer $QD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"post":"https://www.reddit.com/r/pics/comments/92dd8/test_post_please_ignore/","sort":"top","max_results":50}'
Example response
$ curl $QD/reddit_comments/run \
-H "Authorization: Bearer $QD_API_KEY" \
-d '{"post": "https: //www.reddit.com/r/pics/comments/92dd8/test_post_please_ignore/", "sort": "top", "max_results": 50}'
{ "status": "done", "count": 50,
"results": [
{
"id": "…",
"parent_id": "…",
"depth": …,
"author": "…" } ],
"cost": 0.1 }
# 50 comments × $0.002 · nothing delivered, nothing charged
Try it
Reddit comments, running now
Change the input and run it against the live collector — nothing to install, no sign-up.
Run it from your own code, on your own inputs
Same collector, same rows — $2 of free API credit every month, no card.
Pricing
Reddit comments API pricing
$0.002 per delivered comment. A run that delivers nothing costs nothing: blocked pages, challenges and retries are on us, and the $2 monthly allowance covers about 1,000 comments before you spend anything.
Pay as you go
- $2 free credit / month
- 60 requests / min
- List unit prices
Starter
- $15 free credit / month
- 300 requests / min
- 10% off unit prices
Growth
- $50 free credit / month
- 600 requests / min
- 20% off unit prices
Scale
- $250 free credit / month
- 1,200 requests / min
- 30% off unit prices
Same wallet, same key and same $2 monthly allowance as every other Data API. Prices are launch pricing read live from the billing config — GET /v1/scraper/collectors returns the price your key actually pays.
What people build with the Reddit comments API
Three shapes of work this endpoint was designed around.
Opinion mining at thread level
Pull the top-sorted tree of the threads that mention your product and you have ranked, scored consumer language — the phrasing customers actually use, ready for an LLM or a tagging pass.
Community research
The depth and parent columns preserve who-answered-whom, so argument chains and consensus points survive into the dataset instead of collapsing into isolated quotes.
Live thread monitoring
Sort new and re-run on a schedule: fresh comments append by id, and the stickied/moderator flags separate announcements from the crowd.
Reddit comments API versus rolling your own
The differences that actually cost time when you build this in-house.
| DIY scraper | This collector | |
|---|---|---|
| Tree structure | Lost, or rebuilt by you from nested JSON | depth + parent_id on every row, ready to rebuild |
| Login / API app | OAuth app, tokens, rate-limit bookkeeping | None — public posts, metered on your QuanticData key |
| Deep branches | Silently absent | Counted in the run notes, so coverage is explicit |
Sources and standards
The platform documentation and standards this collector is built against — check any claim on this page against the primary source:
How many comments does one run return?
Up to 200 per run. Reddit loads roughly the first 500 comments of a thread in one page; the collector delivers them in thread order up to your max_results and reports any "load more" branches it did not expand in the notes — you always know what a run covered.
Can I rebuild the exact thread structure?
Yes. Every comment carries its parent's id and its depth; group by parent_id (null = top level) and you have the tree, in the order Reddit showed it for your chosen sort.
Does it work on any subreddit?
On any public post — pass the post URL or its id. Private and quarantined communities do not answer without login, and this collector never logs in.
Is there a free Reddit comments API?
Every account gets $2 of credit every month with no card, which is about 1,000 delivered comments on this endpoint at $0.002 each. It renews monthly, and a run that delivers nothing is never billed — so a failed or blocked attempt does not eat the allowance.
How much does one run cost?
Multiply the rows you actually receive by $0.002. A run capped at 200 comments — the maximum for this collector — costs $0.4 if every row comes back, and less when the source has fewer. Volume tiers take up to 30% off, and GET /v1/scraper/collectors returns the price your key actually pays.
Run the Reddit comments API now
$2 of free credit every month, no card. Your key returns its own prices from GET /v1/scraper/collectors.
