Reddit

List Reddit subreddit posts

List a subreddit's post feed (hot/new/top, no keyword) — use reddit.subreddit.search.list to search within it by keyword.

get/v1/reddit/subreddits/{subreddit}/posts

Request

  • Base URL: https://api.socialfetch.dev
  • URL: https://api.socialfetch.dev/v1/reddit/subreddits/{subreddit}/posts
  • Auth: one of:
    • API key in header x-api-key
    • none

Path parameters

subredditstring required

Subreddit name, optional r/ prefix, or Reddit subreddit URL. Must match Reddit's exact casing. Lists posts for this subreddit.

Query parameters

sort'best' | 'hot' | 'new' | 'top' | 'rising'

Optional sort order for the returned posts.

timeframe'all' | 'day' | 'week' | 'month' | 'year'

Optional timeframe used only when sort is top. Ignored/rejected for other sorts.

cursorstring

Opaque pagination cursor from a previous response.

Response

Subreddit posts for the requested feed.

Changes

No recorded changes to this operation across all 1 revision of this API.