Search Reddit posts and comments
search_redditSearch Reddit by keyword across all of Reddit or chosen subreddits, read newest subreddit posts, or scrape thread URLs with comments, returning flat post and comment rows without login or API key.
Instructions
Search Reddit by keyword, across all of Reddit or inside chosen subreddits, read the newest posts of subreddits, or read thread URLs with their comments. Returns one flat row per post (title, text, author, subreddit, publish date, post link, outbound link, the search term it matched) and, when asked, one row per comment, plus one free summary row per query. By default a search result is kept only when the search term is in its title or text. Reads Reddit's public feeds; no Reddit login or API key. A run that does not succeed is returned as an error with its run ID. Read-only; requires an APIFY_TOKEN and is billed per post and comment row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Search order. Default new. | |
| only_new | No | Skip posts and comments an earlier run returned for the same query (free). Default false. | |
| state_key | No | Optional name for the only new results memory. | |
| proxy_mode | No | auto uses the Apify proxy pool with residential as the fallback; residential uses residential addresses for every request. Does not change the price. Default auto. | |
| since_days | No | Drop posts older than this many days. | |
| subreddits | No | Subreddit names (sales, r/sales, or a URL). With search terms, the search runs inside them; without, their newest posts are read. | |
| thread_urls | No | Reddit thread URLs to read with their comments, up to 200. | |
| time_window | No | Reddit's time filter for searches and the top sort. Default month. | |
| search_terms | No | Keywords to search Reddit for. With subreddits, each term runs inside each subreddit; without, across all of Reddit. | |
| comment_depth | No | Reply levels under each top level comment. Default 3. | |
| max_charge_usd | No | Optional. The run stops before a charge that would pass this amount. | |
| subreddit_sort | No | Order for subreddit reads with no search term. Default new. | |
| include_comments | No | Also return the comments of every post found. Default false. Thread URLs always return comments. | |
| require_term_match | No | Keep a search result only when the term is in its title or text. Default true. | |
| max_posts_per_query | No | Posts per search or subreddit. Default 50. | |
| max_comments_per_thread | No | Comments per thread, top first. Default 25. |