August 2, 2026
Filter a search before it reaches your code
Search accepts the filters people were previously applying by hand after the fact. Ask for self-posts over a score threshold with at least twenty comments, and that is what comes back.
/api/reddit/search
- Score and comment thresholds: min_score, max_score, min_comments, max_comments.
- Flags: is_video, is_self, over_18, locked, stickied, spoiler, contest_mode.
- Re-sort the page with sort_type, one of score, num_comments or created.
- Filtering runs on the page that was fetched, so the response now carries a meta object with fetched, returned and filtered_out. Pass the after cursor back to filter deeper.
