reddit-post-comments

Every comment Reddit sends for one post, flattened in reading order: author, score, text, depth in the thread, time, id, the parent's id and the comment's own link. url is the post's page or its id; sort top, best, new, controversial or old; limit caps the rows (up to about 500). session (your reddit_session cookie, used for this run only, never stored) is optional. Without session it reads Reddit's public JSON as a visitor (a few seconds; Reddit refuses some of our addresses); when Reddit refuses, a slower second source answers (about 40 s, replies one level deep).

stagedreddit.comWASM module8 fields2 units; or recordsfresh 10 min
‹ Recipes
…json
POST api.crawl4ai.com/recipes/…

$ crawl recipe

              
Live · your key · counts against your quota✓ 200 OK
# Hit Run - the rows render here as a table, with the cost

Fields

8 columns on every row. null means the site does not state it.
fieldtypemeaning
authorstringThe commenter's Reddit name, without u/.
scoreintegerThe comment's score when read.
textstringThe comment's whole text, as Reddit's markdown.
depthintegerHow deep the comment sits in the thread: 0 answers the post, 1 answers a comment, and so on.
createdstringWhen the comment was written, ISO 8601 UTC.
idstringReddit's id of the comment (without t1_).
parentstringThe id of what the comment answers: the post's id at depth 0, else the parent comment's id.
urlstringThe comment's own page on Reddit.

null means the site does not state it.

authorstringThe commenter's Reddit name, without u/.
scoreintegerThe comment's score when read.
textstringThe comment's whole text, as Reddit's markdown.
depthintegerHow deep the comment sits in the thread: 0 answers the post, 1 answers a comment, and so on.
createdstringWhen the comment was written, ISO 8601 UTC.
idstringReddit's id of the comment (without t1_).
parentstringThe id of what the comment answers: the post's id at depth 0, else the parent comment's id.
urlstringThe comment's own page on Reddit.

How it behaves

Cost. 2 units; or records. A failed run costs 0.

Freshness 10 min. The same input within 10 min is served from cache at 0 units.

How it answers. Answers at once for one input; a large run goes as a job you poll.

Questions about this recipeQuestions

Short answers. The API reference has the long ones.

Call POST /recipes/reddit-post-comments with your key and url and sort and limit. You get rows with the 8 fields above. The recipe is tested against the live site every 6 hours.

Need more from Reddit?

Extra fields, higher volume, or a private copy with a freshness SLA. We build it on Enterprise.

Request a change

For developers

Get a free API key and run your first crawl.

1,000 credits every month. No credit card. Your self-hosted setup keeps working.

For teams

Talk to us about volume, regions and an SLA.

A 30-minute call with the team that writes the crawler. DPA on request, invoice billing, your choice of US, EU or Singapore.