App Logo
reddit.com

Get Reddit home feed

Get the signed-in account's own Reddit home feed (reddit.com/?feed=home) — its mix of subscribed communities and Reddit's recommendations, in the order the feed serves them, promoted slots included. Not r/popular: use get_trending for the cross-Reddit trending feed. Returns per item id, url, title, subreddit, author, created, score, num_comments, upvote_ratio, post_type, content_href, body, plus is_subscribed (the post comes from a community you joined, as opposed to a recommendation) and is_promoted (an ad slot). An ad carries no subreddit, since it is posted from a user profile rather than a community. sort takes the feed's own five orders; time is Reddit's window on the top sort. count is a maximum — a feed that stops loading returns what it served.

Input

sort optional

The feed's own sort, as the home page's sort control exposes it. Default best, which is Reddit's own default.

Default: "best"
time optional

Time window for the top sort (Reddit applies it to top only, and defaults to day when omitted). Ignored by the other sorts.

count optional

Maximum items to collect by scrolling the feed. The home feed is effectively infinite, so this is the only bound; fewer come back when it stops serving.

Default: 25

Output

count required

Number of items returned.

posts required

Start building not clicking