App Logo
reddit.com

Get subreddit threads

List a subreddit's threads by Reddit's native sort (best/hot/new/top/rising). "new" is chronological (filter with `since`); "top" takes a `time` window (hour…all); others paginate by `limit`. Returns url, title, author, score, num_comments, created, post_type, and body — the post's full text (never truncated; null for link/image posts). `limit` is a maximum, not a guarantee: fewer matching threads returns what exists.

Input

subreddit required

Subreddit name, with or without the r/ prefix. Case-insensitive: Reddit redirects to the canonical casing (r/python → r/Python) and the script follows it.

sort optional

Reddit's native subreddit sort. "new" is chronological (supports `since`); best/hot/top/rising are ranked (use `limit`). Default new.

Default: "new"
time optional

Time window for sort:"top" only (default all). Rejected for other sorts.

limit optional

Max number of threads to return (newest first). Optional if since is set; combine both to cap a time window.

since optional

sort:"new" only — how far back to go: ISO date ("2026-06-01") or shorthand ("24h", "7d", "2w"). Optional if limit is set.

Output

count required
threads required
subreddit required

FAQ

List a subreddit's threads by Reddit's native sort (best/hot/new/top/rising). "new" is chronological (filter with `since`); "top" takes a `time` window (hour…all); others paginate by `limit`. Returns url, title, author, score, num_comments, created, post_type, and body — the post's full text (never truncated; null for link/image posts). `limit` is a maximum, not a guarantee: fewer matching threads returns what exists.
Required: subreddit. Optional: sort, time, limit, since.
It returns count, threads, subreddit.
No. It only uses pages of reddit.com that are reachable without signing in.
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_subreddit_threads, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/reddit.com/get_subreddit_threads
It is part of Reduck's official curated catalogue.

Start building not clicking