reddit-subreddit

The posts of one subreddit: title, the post's page, what it links to, score, comment count, author, time, flair and the first 300 characters of the text. sort is hot, new, top or rising; t the window for top; limit up to 250 (100 posts per page). Without session it reads Reddit's public feed of the subreddit (1 to 3 s per 100 posts; the feed has no score, comment count or flair, so those are null). With session (your reddit_session cookie, from the Crawl4AI Session extension, used for this run only, never stored) every column is filled.

stagedreddit.comWASM module11 fields1-3 units per 100 posts; 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

11 columns on every row. null means the site does not state it.
fieldtypemeaning
titlestringThe post's title.
urlstringThe post's own page on Reddit.
linkWhat the post points at: an outside link, or the post's own page for a text post; null on the second source.
scoreintegerThe post's score (upvotes minus downvotes) when read.
commentsintegerHow many comments the post has, as Reddit counts them.
authorstringThe author's Reddit name, without u/.
createdstringWhen the post was published, ISO 8601 UTC.
flairThe post's flair text; null when it has none.
subredditstringThe subreddit's name, without r/.
idstringReddit's id of the post (without t3_).
textstringThe first 300 characters of a text post's body; empty for a link post.

null means the site does not state it.

titlestringThe post's title.
urlstringThe post's own page on Reddit.
linkWhat the post points at: an outside link, or the post's own page for a text post; null on the second source.
scoreintegerThe post's score (upvotes minus downvotes) when read.
commentsintegerHow many comments the post has, as Reddit counts them.
authorstringThe author's Reddit name, without u/.
createdstringWhen the post was published, ISO 8601 UTC.
flairThe post's flair text; null when it has none.
subredditstringThe subreddit's name, without r/.
idstringReddit's id of the post (without t3_).
textstringThe first 300 characters of a text post's body; empty for a link post.

How it behaves

Cost. 1-3 units per 100 posts; 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-subreddit with your key and subreddit and sort and t. You get rows with the 11 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.