reddit_subreddit_posts
Read any subreddit's feed by sort order: hot, new, top, rising, or controversial. Returns post titles, scores, comment counts, and a pagination cursor for browsing more.
Instructions
List posts from a subreddit by sort order. Use this to read a community's feed: newest, hot/trending, top-of-week, rising, etc. Returns post title, author, score, comment count, and permalink, plus an after cursor for paging. Example: subreddit='programming' sort='top' t='week'.
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. | |
| sort | No | Sort order for a subreddit listing. 'hot' = trending now, 'new' = most recent (default), 'top' = highest score in the `t` window, 'rising' = gaining fast, 'controversial' = polarizing, 'best' = Reddit's blended rank. | |
| 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. | |
| subreddit | Yes | Subreddit name WITHOUT the r/ prefix (e.g. 'programming', 'AskReddit'). Required. |