reddit-user

What one Reddit account posted and commented, one row per item: kind (post or comment), title (a comment carries its post's title), the item's page, subreddit, score, comment count (posts only), time and the first 300 characters. user is the name, u/name or the profile URL; kind posts, comments or both; sort new, hot or top; limit up to 250 per kind. 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).

stagedreddit.comWASM module9 fields1 unit + 1 per 100 per kindfresh 5 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

9 columns on every row. null means the site does not state it.
fieldtypemeaning
kindstringpost or comment.
titlestringThe post's title; for a comment, the title of the post it answers.
urlstringThe post's or the comment's own page on Reddit.
subredditstringThe subreddit's name, without r/.
scoreintegerThe item's score when read.
commentsintegerA post's comment count; null for a comment.
createdstringWhen the item was published, ISO 8601 UTC.
textstringThe first 300 characters of the text; empty for a link post.
idstringReddit's id of the item (without t3_ or t1_).

null means the site does not state it.

kindstringpost or comment.
titlestringThe post's title; for a comment, the title of the post it answers.
urlstringThe post's or the comment's own page on Reddit.
subredditstringThe subreddit's name, without r/.
scoreintegerThe item's score when read.
commentsintegerA post's comment count; null for a comment.
createdstringWhen the item was published, ISO 8601 UTC.
textstringThe first 300 characters of the text; empty for a link post.
idstringReddit's id of the item (without t3_ or t1_).

How it behaves

Cost. 1 unit + 1 per 100 per kind. A failed run costs 0.

Freshness 5 min. The same input within 5 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-user with your key and user and kind and sort. You get rows with the 9 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.