Search posts
reddit_search_postsSearch posts across Reddit or in one subreddit.
Full-text search over posts across Reddit, or inside one community with subreddit. sort is relevance (default), new, top, comments or hot; t limits the time window. Optional filters (min_score, min_comments, is_self, match=exact, …) are applied to the page Reddit returns, so a filtered page can be shorter; keep paging with after. To find communities rather than posts use reddit_search_subreddits.
Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "reddit_search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search query. | |
| t | No | Time window for top and controversial. Default day. | |
| sort | No | Result order. Default relevance. | |
| after | No | Cursor: the previous page's `data.after`. Omit for the first page. | |
| limit | No | Items per page, 1 to 100. Default 25. | |
| match | No | exact: keep posts whose title or text contains the query as a whole phrase (case-insensitive); any (default) is Reddit's own matching. | |
| locked | No | Keep locked (true) or open (false) posts. | |
| is_self | No | true: text posts only; false: link and media posts only. | |
| spoiler | No | Keep posts with (true) or without (false) a spoiler tag. | |
| is_video | No | true: video posts only; false: no video posts. | |
| stickied | No | Keep pinned (true) or unpinned (false) posts. | |
| max_score | No | Keep posts with at most this score. | |
| min_score | No | Keep posts with at least this score. | |
| subreddit | No | Search only this subreddit. | |
| max_comments | No | Keep posts with at most this many comments. | |
| min_comments | No | Keep posts with at least this many comments. |