App Logo
reddit.com

Search a subreddit

Automatically search a subreddit on reddit.com. Search posts within a single subreddit, with optional sort, time window, and date cutoff. Returns subreddit, count, and threads (each with id, url, title, author, score, num_comments, created, subreddit, nsfw, preview_text). `limit` is a maximum, not a guarantee: a search with fewer matches returns what exists, and a search with none returns count 0. With `sort=new`, pass `since` (an ISO date or shorthand like "7d") to leave out results older than that cutoff. When a query has no genuine matches, Reddit's own search sometimes returns a few loosely related posts from the subreddit instead of an empty result, with no way to tell them apart from real hits. Reddit's subreddit-scoped search cards show titles only, so preview_text is null here; for body excerpts use reddit.com/search_reddit with a `subreddit:name` term in the query.

Input

topic required

Search query

subreddit required

Subreddit name, with or without the r/ prefix

sort optional

Reddit's native sort (default relevance)

Default: "relevance"
time optional

Reddit's native time filter (default all). Ignored by Reddit when sort=new.

Default: "all"
limit optional

Max results, paginating via the site's own infinite scroll (default 25)

Default: 25
since optional

sort:"new" only — filters out results older than this cutoff: ISO date ("2026-06-01") or shorthand ("24h", "7d", "2w").

Output

count required
threads required
subreddit required

FAQ

Search posts within a single subreddit, with optional sort, time window, and date cutoff. Returns subreddit, count, and threads (each with id, url, title, author, score, num_comments, created, subreddit, nsfw, preview_text). `limit` is a maximum, not a guarantee: a search with fewer matches returns what exists, and a search with none returns count 0. With `sort=new`, pass `since` (an ISO date or shorthand like "7d") to leave out results older than that cutoff. When a query has no genuine matches, Reddit's own search sometimes returns a few loosely related posts from the subreddit instead of an empty result, with no way to tell them apart from real hits. Reddit's subreddit-scoped search cards show titles only, so preview_text is null here; for body excerpts use reddit.com/search_reddit with a `subreddit:name` term in the query.
Ask an AI agent connected to Reduck to run reduck/reddit.com/search_subreddit, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/reddit.com/search_subreddit
You do not need one. "Search a subreddit" drives the real reddit.com pages in a browser, so it works whether or not reddit.com offers an API for this.
Required: subreddit, topic. 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/search_subreddit, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/reddit.com/search_subreddit
It is part of Reduck's official curated catalogue.

Start building not clicking