reddit_subreddit_top
Retrieve a subreddit's top posts for any time window (hour, day, week, month, year, all), returning scores, authors, comments, and a pagination cursor.
Instructions
Get the TOP posts of a subreddit for a time window. Shorthand for the highest-scoring posts of a community. Returns posts with score, author, comments, and permalink plus an after cursor. Example: name='science' t='month'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | No | Time window, only applied when sort is 'top' or 'controversial'. E.g. 'week' = top of the past week. Ignored for other sorts. | |
| name | Yes | Subreddit name WITHOUT the r/ prefix (e.g. 'science'). Required (path parameter). | |
| after | No | Opaque Reddit pagination cursor from the previous response's `after` field (a fullname like `t3_abc123`). Omit on the first call; pass it to fetch the next page. | |
| limit | No | Max items to return (1 to 100). The API clamps out-of-range values; endpoint default applies if omitted. |