Reddit

Reddit Subreddit Posts API

List posts from a subreddit with sort, timeframe, and cursor pagination — title, score, upvote ratio, flair, and more.

Pass a subreddit URL or r/name and get its posts as clean JSON. Choose sort (best/hot/new/top/rising) and, for top, a timeframe (hour/day/week/month/year/all). Each post includes title, text, author + authorFullname, Reddit's score + upvoteRatio, comment count, isVideo, flair, nsfw, and ISO publishedAt. scoreHidden, subscriberCount and thumbnail are null — the public feed page does not carry them. downs, totalAwardsReceived, and the upvotes twin of score are omitted. Reddit's feed returns about 24 posts per page; one call chains up to three pages to reach limit. Cursor pagination via nextCursor (the last returned post's t3_ name) + hasMore. Flat 2 credits.

Docs: https://captapi.com/apis/reddit-subreddit-posts

get/v1/reddit/subreddit-posts

Request

  • Base URL: https://api.captapi.com
  • URL: https://api.captapi.com/v1/reddit/subreddit-posts
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Query parameters

urlstring required

Subreddit URL, r/name, or bare name, e.g. r/technology. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.

limitinteger

Max items to return (default 25, max 200). Flat 2 credits per call.

sortstring

Feed sort: best, hot, new (default), top, or rising.

timeframestring

For sort=top: hour, day (default), week, month, year, or all.

cursorstring

Pagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response.

cacheboolean

Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Response

Success. The data object for this endpoint.

successunknown required

Changes

No recorded changes to this operation across all 3 revisions of this API.