Search Reddit posts
search_redditSearch public Reddit posts by keyword, optionally inside one subreddit. Good for opinions, complaints, recommendations and launch feedback. Returns posts in Reddit's own field names: title, selftext, subreddit, author, score (can be negative), numComments, permalink, url, createdAt. Reddit only: search X separately with search_x. Costs 1 credit + 3 credits per post returned. When meta.nextCursor is set, call again with cursor set to it for the next page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | relevance (default), hot, top, new, or comments. | relevance |
| time | No | Time window: hour, day, week, month, year, or all (default). | all |
| limit | No | Results to return, 1-50. Default 10; widen only after the first page proved useful. | |
| query | Yes | Keywords to match. Put every filter you can in the query; you pay per result. | |
| cursor | No | `meta.nextCursor` from the previous page, unchanged. Opaque, signed, and bound to the other parameters: change any of them and start again without a cursor. | |
| subreddit | No | Optional community to search inside, without r/, e.g. webdev. | |
| subreddits | No | Restrict the search to several communities at once (up to 25). | |
| includeNsfw | No | Include results marked NSFW. Off by default; what it removes is reported in `meta.omittedNsfw`. |