Search one subreddit
search_subredditSearch public posts inside one subreddit. Same fields as search_reddit; use it when the community is already known. 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 |
|---|---|---|---|
| name | Yes | Subreddit name without r/, e.g. webdev. r/name or a subreddit URL also works. | |
| sort | No | `new` is arrival order; `comments` ranks by comment count. | relevance |
| time | No | Only posts created within this window. | all |
| limit | No | Results to return, 1-50. Default 10; widen only after the first page proved useful. | |
| query | Yes | Keywords to match. | |
| 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. | |
| includeNsfw | No | Include results marked NSFW. Off by default; what it removes is reported in `meta.omittedNsfw`. |