Reddit posts by subreddit, user, search
redditSearch Reddit or read a subreddit. Use mode hashtag with a subreddit name (no r/), profile with a username, or search with keywords, plus limit 1-20. Every record is a post with kind, id, url, title, body, author, subreddit, upvotes, comments_count, created_at, members and source; at most limit posts come back. Comments, profile and subreddit records are not returned. upvotes and comments_count can be null. Send raw true for the full original records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true returns the provider's own records instead of the compact shape | |
| mode | Yes | profile=user's posts, hashtag=subreddit's posts, search=keyword→posts | |
| limit | No | number of posts wanted, 1 to 20 (default 5). A larger value is lowered to 20 and 0 or a negative one means the default; the quote follows the value used. | |
| query | Yes | username (profile), subreddit without r/ (hashtag), or search keywords |