App Logo
reddit.com

Get Reddit thread

Automatically get Reddit thread on reddit.com. Fetch a Reddit thread by its id or URL: the post (title, text, author, score, upvote ratio, comment count, type, link) and its comments in thread order, each with author, text, score, date, permalink and nesting depth. Needs a browser signed in to Reddit. By default it returns the first page of comments Reddit shows when the thread opens; set all_comments to expand every "more replies" and get the whole tree. num_comments counts deleted and removed comments too, so the list can be shorter than that number even when it is complete. sort picks Reddit's own comment order (best, top, new, controversial, old, Q&A).

Input

id optional

Post base36 id from the permalink (e.g. "1ldvy4n"), the part after /comments/.

url optional

Thread URL (full https://www.reddit.com/r/.../comments/... or the /r/.../comments/... path).

sort optional

Comment sort via Reddit's ?sort= ("confidence" = Best). Default: Reddit's Best.

urls optional

Not supported since 19 Oct 2026: the run fails with a message saying so. Send one id or url per call and fan out with run_script's scripts.

all_comments optional

Expand every "more replies" loader for the full tree (slower on big threads). Default: only comments rendered on load.

Output

id optional

Reddit fullname, e.g. t3_1ldvy4n

score optional

Null while Reddit hides the post's score.

title optional
author optional
domain optional
created optional
op_text optional
comments optional
complete optional

True when every comment of the thread is in comments: no 'more replies' loader was left unexpanded. Pass all_comments to expand them.

permalink optional
post_type optional
subreddit optional
content_href optional

Submission target: external link for link posts, the thread url for self posts

num_comments optional

Reddit's total comment count; compare with comments.length to detect on-load truncation

upvote_ratio optional

FAQ

Fetch a Reddit thread by its id or URL: the post (title, text, author, score, upvote ratio, comment count, type, link) and its comments in thread order, each with author, text, score, date, permalink and nesting depth. Needs a browser signed in to Reddit. By default it returns the first page of comments Reddit shows when the thread opens; set all_comments to expand every "more replies" and get the whole tree. num_comments counts deleted and removed comments too, so the list can be shorter than that number even when it is complete. sort picks Reddit's own comment order (best, top, new, controversial, old, Q&A).
Ask an AI agent connected to Reduck to run reduck/reddit.com/get_thread, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/reddit.com/get_thread
You do not need one. "Get Reddit thread" drives the real reddit.com pages in a browser, so it works whether or not reddit.com offers an API for this.
Optional: id, url, sort, urls, all_comments.
It returns id, score, title, author, domain, created, op_text, comments, complete, permalink, post_type, subreddit, content_href, num_comments, upvote_ratio.
Yes. It acts as you on reddit.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the reddit.com cookies saved by the Reduck extension.
It only reads. It looks things up on reddit.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/reddit.com/get_thread, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/reddit.com/get_thread
It is part of Reduck's official curated catalogue.

Start building not clicking