List a community's posts: hot, new, rising, top, or controversial
get_subreddit_postsList a community's posts: hot, new, rising, top, or controversial. A community's own listing, with no keyword: everything new in r/saas, or this week's top posts in r/startups. Use this rather than search when the community is the filter — Reddit's search needs a query and cannot express "everything".
name also takes popular, all, or several communities joined with +, which reads
them as one listing in a single call (and is billed as one request).
Pages are newest-cursor-forward and stop at about 1,000 posts, Reddit's own ceiling, where
nextCursor becomes null. NSFW posts are left out unless includeNsfw=true; how many were
left out is in meta.omittedNsfw. A community that does not exist, or is private, banned,
or quarantined, is a 404 whose details.reason says which. 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 |
|---|---|---|---|
| geo | No | Region for `popular` sorted by `hot` only: a country code (`DE`), a US state (`US_CA`), or `GLOBAL`. | |
| name | Yes | A community name without `r/`; `popular` or `all` for the site-wide listings; or up to 25 communities joined with `+` (`saas+startups+entrepreneur`) to read them as one listing in a single call. | |
| sort | No | Reddit's own orderings. `new` is arrival order, which is what watching a community needs; `hot` is Reddit's default front page. | hot |
| time | No | Window for `top` and `controversial` only. Defaults to `day` for those sorts. | |
| limit | No | Posts per page, before the NSFW rule is applied. | |
| 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 posts marked NSFW. Off by default; what it removes is reported in `meta.omittedNsfw`, so a short or empty page is never mistaken for a quiet one. | false |