Documentation Python quickstart Blog Free tools hello@quanticdata.ioLog in

Reddit comments API

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

POST /v1/scraper/collectors/reddit_comments/run
$ 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
Reddit comments API: post and sort in, a residential exit in the middle, delivered rows with rank, id and parent_id on the right, $0.002 per comment.
You send post and sort; the run goes out through a residential exit and comes back as comments with rank, id and parent_id — 14 fields on every row — and you are billed $0.002 for each comment actually delivered, nothing for a run that delivers none.
$0.002 / comment1,000 comments on the free $2 every month
Semantic inputpost, sort, country — no URL lists
Up to 200comments per run, pagination handled for you
No browserread over HTTP/TLS — cheaper and faster than rendering

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.

Get my free API key

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.

Limits, in plain numbers

Everything that bounds one run of this collector. No hidden throttles.

Max per run

200 comments

Price

$0.002 / comment

Per 1,000

$2.00

Failed runs

Free zero rows, zero charge

Free every month

$2 no card

Rate limit

60 req/min on the free tier

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.

FieldTypeWhat it holds
rankinteger1-based position in thread order for the chosen sort.
idstring · nullableComment fullname (t1_…).
parent_idstring · nullableParent comment fullname; null for top-level comments.
depthinteger0 for top-level, +1 per nesting level.
authorstring · nullableComment author.
bodystring · nullableComment text (markdown rendered to plain text).
scoreinteger · nullableNet upvotes as shown.
created_atstring · nullableComment timestamp (ISO 8601).
editedbooleanTrue when the comment was edited.
permalinkstring · nullableDirect link to the comment.
is_submitterbooleanTrue when the author is the post's OP.
is_moderatorbooleanTrue when the author is a subreddit moderator.
stickiedbooleanTrue for pinned comments.
collapsedbooleanTrue when Reddit collapses the comment by default.

Inputs

The whole request. Anything you leave out falls back to the default shown in the catalog.

InputTypeRequiredWhat it does
poststringyesPost URL or id, e.g. https://www.reddit.com/r/pics/comments/92dd8/… or 92dd8.
sortstringnoComment order (default top). One of: top, new, controversial, old, qa.
countrystringnoISO 3166-1 alpha-2 code — proxy exit geo. Omit for the default pool.
max_resultsintegernoHow many comments to deliver at most (1–200). You pay only for delivered comments.

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.

$0.002per delivered comment$2 per 1,000 delivered comments
1,000 commentson the free allowance$2 every month, no card
Zero rowszero chargeblocks, captchas and retries are on us
−30%on volume tiersthe catalog returns your key's price

Pay as you go

$0/mo
  • $2 free credit / month
  • 60 requests / min
  • List unit prices

Starter

$19/mo
  • $15 free credit / month
  • 300 requests / min
  • 10% off unit prices

Scale

$299/mo
  • $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.

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/scraper/collectors/reddit_comments/run.

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}'

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 scraperThis collector
Tree structureLost, or rebuilt by you from nested JSONdepth + parent_id on every row, ready to rebuild
Login / API appOAuth app, tokens, rate-limit bookkeepingNone — public posts, metered on your QuanticData key
Deep branchesSilently absentCounted in the run notes, so coverage is explicit
Reddit comments API: the POST to /v1/scraper/collectors/reddit_comments/run with post and sort on the left, and the JSON envelope on the right with 50 comments and usage.cost_usd $0.10.
The same call you would paste into a terminal: a Bearer key, post, sort and country in the body, and back the envelope every QuanticData endpoint returns — type, message, payload — where count is how many comments arrived and usage.cost_usd is $0.10, which is 50 × $0.002. A run that delivers nothing costs nothing. The key is good for 60 req/min on the free tier.

Sources and standards

The platform documentation and standards this collector is built against — check any claim on this page against the primary source:

FAQ

Questions we get about the Reddit comments API.

Something else? Ask us →

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.

Get my free API key