{"agent":{"expose":"search","prompt":"Use Crawl4AI to get the comments of a Reddit post."},"also":["comments of a post","reddit thread","thread comments","replies in a thread"],"beta":true,"call":{"aliases":["POST /recipes/reddit-post-comments"],"method":"POST","path":"/tools/reddit-post-comments"},"categories":["social"],"cost":{"cases":[{"price":"1 credit","when":"A run"},{"price":"","when":"Or 3 credits a record from the second source"},{"price":"free","when":"A run with no row"}],"rule":"1 credit · or 3 credits a record from the second source · a run with no row is free","text":"1 cr"},"description":"The comments of one Reddit post, one row per comment: author, score, text, depth, time, id, parent and the comment's link. `url` is the post's link or its id; `sort` top, best, new, controversial or old; `limit` up to 500. Without `session` it reads Reddit's public comment feed (1 to 3 s, up to 500 comments in Reddit's order; the feed has no score, depth or parent, so those are null). With `session` (your `reddit_session` cookie, used for this run only, never stored) every column is filled, in thread order with depth.","docs":"/tools/reddit-post-comments","essential":false,"essential_order":null,"examples":[{"answer":{"body":{"request_id":"req_…","rows":[{"author":"hydrangea14583","created":"2026-09-06T02:11:16Z","depth":0,"id":"p8340qj","parent":"1w38wm2","score":2,"text":"Is there a cleaner way to index into something, but counting from the…","url":"https://www.reddit.com/r/rust/comments/1w38wm2/hey_rustaceans_got_a_q…"},{"author":"CocktailPerson","created":"2026-09-06T04:43:50Z","depth":1,"id":"p83s1ft","parent":"p8340qj","score":2,"text":"Unfortunately, no. Slices just don't have the same rich set of operat…","url":"https://www.reddit.com/r/rust/comments/1w38wm2/hey_rustaceans_got_a_q…"}],"took_ms":127013,"tool":"reddit-post-comments","usage":{"credits":0.5}},"credits":0.5,"more":3,"rows":5,"took_ms":127013},"input":{"limit":20,"sort":"top","url":"https://www.reddit.com/r/rust/comments/1w38wm2/hey_rustaceans_got_a_question_ask_here_362026/"},"label":"https://www.reddit.com/r/rust/comments/1w38wm2/h"},{"input":{"limit":5,"url":"https://www.reddit.com/r/rust/comments/1w38wm2/hey_rustaceans_got_a_question_ask_here_362026/"},"label":"https://www.reddit.com/r/rust/comments/1w38wm2/h"}],"id":"reddit-post-comments","input_schema":{"additionalProperties":true,"properties":{"limit":{"default":100,"description":"`limit` up to 500.","type":"integer"},"session":{"description":"Without `session` it reads Reddit's public comment feed (1 to 3 s, up to 500 comments in Reddit's order","type":"string"},"sort":{"default":"top","description":"`sort` top, best, new, controversial or old","type":"string"},"url":{"description":"`url` is the post's link or its id","type":"string"}},"required":["url"],"type":"object"},"inputs":[{"example":"https://www.reddit.com/r/rust/comments/1w38wm2/hey_rustaceans_got_a_question_ask_here_362026/","help":"`url` is the post's link or its id","name":"url","required":true,"type":"string"},{"advanced":true,"default":"top","example":"top","help":"`sort` top, best, new, controversial or old","name":"sort","type":"string"},{"advanced":true,"default":100,"example":20,"help":"`limit` up to 500.","name":"limit","type":"integer"},{"advanced":true,"help":"Without `session` it reads Reddit's public comment feed (1 to 3 s, up to 500 comments in Reddit's order","name":"session","secret":true,"type":"string"}],"kind":"sites","name":{"lead":"Reddit","rest":"comments"},"output":{"fields":[{"meaning":"The commenter's Reddit name, without u/.","name":"author","type":"string"},{"meaning":"The comment's score when read.","name":"score","type":"integer"},{"meaning":"The comment's whole text, as Reddit's markdown.","name":"text","type":"string"},{"meaning":"How deep the comment sits in the thread: 0 answers the post, 1 answers a comment, and so on.","name":"depth","type":"integer"},{"meaning":"When the comment was written, ISO 8601 UTC.","name":"created","type":"string"},{"meaning":"Reddit's id of the comment (without t1_).","name":"id","type":"string"},{"meaning":"The id of what the comment answers: the post's id at depth 0, else the parent comment's id.","name":"parent","type":"string"},{"meaning":"The comment's own page on Reddit.","name":"url","type":"string"}],"row_is":"","view":"rows"},"related":[{"id":"reddit-search","why":"Title, link, score, comments, author, created, flair, subreddit, text"},{"id":"reddit-subreddit","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":"Author, score, text, depth, created, parent","synonyms":["comments","post","reddit","comments of a post","reddit thread","thread comments","replies in a thread","discussion"],"typical":"17 s","version":3,"visibility":"public"}