{"agent":{"expose":"search","prompt":"Use Crawl4AI to get posts of a subreddit."},"also":["subreddit posts","posts in a subreddit","top posts","hot posts"],"beta":true,"call":{"aliases":["POST /recipes/reddit-subreddit"],"method":"POST","path":"/tools/reddit-subreddit"},"categories":["social"],"cost":{"cases":[{"price":"0.5 to 1.5 credits","when":"Per 100 posts"},{"price":"","when":"Or 3 credits a record from the second source"},{"price":"free","when":"A run with no row"}],"rule":"0.5 to 1.5 credits per 100 posts · or 3 credits a record from the second source · a run with no row is free","text":"0.5 to 1.5 cr per 100"},"description":"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.","docs":"/tools/reddit-subreddit","essential":false,"essential_order":null,"examples":[{"answer":{"body":{"request_id":"req_…","rows":[{"author":"kingswordmaster","comments":109,"created":"2026-10-09T17:45:23Z","flair":null,"id":"1x1rwgm","link":null,"score":362,"subreddit":"rust","text":"I admired this project for a while. It was basically the biggest Rust…","title":"Deno is ending official development in a year. The biggest Rust proje…","url":"https://www.reddit.com/r/rust/comments/1x1rwgm/deno_is_ending_officia…"},{"author":"TheEmbeddedRustacean","comments":0,"created":"2026-10-10T05:45:24Z","flair":null,"id":"1x27dd1","link":null,"score":19,"subreddit":"rust","text":null,"title":"The Embedded Rustacean Issue #82","url":"https://www.reddit.com/r/rust/comments/1x27dd1/the_embedded_rustacean…"}],"took_ms":127009,"tool":"reddit-subreddit","usage":{"credits":0.5}},"credits":0.5,"more":2,"rows":4,"took_ms":127009},"input":{"limit":10,"sort":"hot","subreddit":"rust","t":"day"},"label":"rust, hot, day, 10"},{"input":{"limit":5,"subreddit":"rust"},"label":"rust, 5"}],"id":"reddit-subreddit","input_schema":{"additionalProperties":true,"properties":{"limit":{"default":25,"description":"`limit` up to 250 (100 posts per page).","type":"integer"},"session":{"description":"Without `session` it reads Reddit's public feed of the subreddit (1 to 3 s per 100 posts","type":"string"},"sort":{"default":"hot","description":"`sort` is hot, new, top or rising","type":"string"},"subreddit":{"description":"The subreddit's name, with or without r/ (rust).","type":"string"},"t":{"default":"day","description":"The time window when `sort` is top: hour, day, week, month, year or all.","type":"string"}},"required":["subreddit"],"type":"object"},"inputs":[{"example":"rust","help":"The subreddit's name, with or without r/ (rust).","name":"subreddit","required":true,"type":"string"},{"advanced":true,"default":"hot","example":"hot","help":"`sort` is hot, new, top or rising","name":"sort","type":"string"},{"advanced":true,"default":"day","example":"day","help":"The time window when `sort` is top: hour, day, week, month, year or all.","name":"t","type":"string"},{"advanced":true,"default":25,"example":10,"help":"`limit` up to 250 (100 posts per page).","name":"limit","type":"integer"},{"advanced":true,"help":"Without `session` it reads Reddit's public feed of the subreddit (1 to 3 s per 100 posts","name":"session","secret":true,"type":"string"}],"kind":"sites","name":{"lead":"Reddit","rest":"subreddit"},"output":{"fields":[{"meaning":"The post's title.","name":"title","type":"string"},{"meaning":"The post's own page on Reddit.","name":"url","type":"string"},{"meaning":"What the post points at: an outside link, or the post's own page for a text post; null on the second source.","name":"link","type":"string"},{"meaning":"The post's score (upvotes minus downvotes) when read.","name":"score","type":"integer"},{"meaning":"How many comments the post has, as Reddit counts them.","name":"comments","type":"integer"},{"meaning":"The author's Reddit name, without u/.","name":"author","type":"string"},{"meaning":"When the post was published, ISO 8601 UTC.","name":"created","type":"string"},{"meaning":"The post's flair text; null when it has none.","name":"flair","type":"string"},{"meaning":"The subreddit's name, without r/.","name":"subreddit","type":"string"},{"meaning":"Reddit's id of the post (without t3_).","name":"id","type":"string"},{"meaning":"The first 300 characters of a text post's body; empty for a link post.","name":"text","type":"string"}],"row_is":"","view":"rows"},"related":[{"id":"reddit-post-comments","why":"Author, score, text, depth, created, parent"},{"id":"reddit-search","why":"Title, link, score, comments, author, created, flair, subreddit, text"},{"id":"facebook-event","why":"Name, starts at, ends at, when, place, host, description, categories"}],"run":"both","source":"reddit","status":"failing","summary":"Title, link, score, comments, author, created, flair, subreddit, text","synonyms":["posts","reddit","subreddit","subreddit posts","posts in a subreddit","top posts","hot posts","new posts of a community","r/"],"typical":"1 s","version":2,"visibility":"public"}