Subreddit Posts
Fetches posts from a subreddit with sorting and filtering options. Each post includes title, author, link_flair_text when Reddit exposes it, selftext, score, ups, upvote_ratio, num_comments, created_utc, url, permalink, subreddit_subscribers, and is_video. Supports sort (best, hot, new, top, rising), timeframe filtering, pagination via the after token, and a trim parameter for lighter responses.
Query parameters
Subreddit name
Timeframe to get posts from
Sort order
After to get more posts. Get 'after' from previous response.
Set to true for a trimmed down version of the response
If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). See the Caching page for details.
Response
Successful response
Changes
No recorded changes to this endpoint across all 1 revision of this API.