search
Search Reddit posts by keyword or within a subreddit and retrieve titles, scores, comments, authors, and permalinks sorted by relevance, hot, new, top, or comments.
Instructions
Search Reddit posts by keyword, optionally scoped to a subreddit. Returns post title, score, comment count, subreddit, author, and permalink. Sort by relevance, hot, new, top, or comments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order: relevance | hot | new | top | comments | |
| time | No | Time filter: all | year | month | week | day | hour | |
| after | No | Pagination cursor from previous nextPageUrl (e.g. "t3_...") | |
| limit | No | Number of results to return (1–100) | |
| query | Yes | Search query string | |
| subreddit | No | Limit results to this subreddit (without r/ prefix) |