get_top_posts
Retrieve top-scoring Reddit posts from a subreddit or your home feed across a selected time window. Returns post details, scores, comments, and a cursor to load more pages.
Instructions
Get the top-scoring posts from a subreddit — or from the authenticated home feed if no subreddit is given — within a time window (hour…all). Read-only; works anonymously. Returns a page of posts (title, author, score, upvote ratio, comments, link) plus an after cursor. This is a shortcut for the 'top' sort; use browse_subreddit for hot/new/rising/controversial, or search_reddit to find posts by keyword.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Forward pagination cursor: the `after` value from a previous call. Omit for the first page. | |
| limit | No | How many posts to return, 1–100 (default 10). | |
| subreddit | No | Subreddit to read, without the r/ prefix (e.g. 'science'). Omit to use the authenticated home feed (requires credentials). | |
| time_filter | No | Time window the 'top' ranking is computed over (e.g. 'day' = top today). Default 'week'. | week |