---
title: "Reddit Subreddit Posts API"
method: GET
path: "/v1/reddit/subreddit-posts"
tags: ["Reddit"]
---

# Reddit Subreddit Posts API

`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`

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

## Query parameters

- `url` string, required
- `limit` integer
- `sort` string
- `timeframe` string
- `cursor` string
- `cache` boolean

## Response `200`

Success. The data object for this endpoint.

- object
  - `success` unknown, required
  - `data` object, required
    - `subreddit` string: Subreddit the post belongs to.
    - `sort` string: Sort. Example: "hot".
    - `timeframe` unknown
    - `totalReturned` integer: Number of items returned in this response.
    - `nextCursor` string: Cursor to pass for the next page of results. May be null when the platform does not expose deep pagination (e.g. some Facebook Ad Library searches).
    - `hasMore` boolean: Whether more results are available beyond this page. When true, pass nextCursor to fetch the next page.
    - `posts` object[]
      - `platform` string: Platform identifier for this response (matches the endpoint's platform).
      - `id` string: Id of this posts item.
      - `name` string: Name of this posts item.
      - `url` string: Canonical URL of the item.
      - `title` string: Title of this posts item.
      - `text` string: Text content.
      - `subreddit` string: Subreddit the post belongs to.
      - `author` string: Author name or handle.
      - `authorFullname` string: Stable Reddit account fullname (t2_…). Prefer this over author for joins.
      - `upvotes` integer: Upvote count.
      - `score` integer: Reddit's authoritative post score field (not ups−downs). hide_score does not zero this field — there is no upvotes twin.
      - `upvoteRatio` number: Post upvote ratio (0–1) when Reddit exposes it.
      - `comments` integer: Comment count.
      - `subscriberCount` integer: Subscriber count (channel, subreddit, or similar).
      - `isVideo` boolean: Whether the item is a video.
      - `publishedAt` string: Publish date (ISO 8601) when the platform exposes an absolute timestamp.
      - `flair` string, nullable: Post flair.
      - `nsfw` boolean: Whether the content is marked NSFW.
      - `thumbnail` string, nullable: Thumbnail image URL.

## Other responses

- `400`: Bad request: wrong platform URL, unknown endpoint, or an invalid parameter value. Not billed.
- `401`: Missing, invalid or revoked API key. Not billed.
- `402`: Not enough credits for this request. Not billed.
- `404`: The resource does not exist or is not public. Not billed.
- `422`: A required parameter is missing or has the wrong type. Not billed.
- `429`: Rate limit reached. Wait for Retry-After seconds. Not billed.
- `502`: The platform could not be reached or returned nothing usable. Retryable, not billed. 503 and 504 use the same envelope.

---

[API](https://skmtc.dev/captapi/apis/captapi-api.md) · [All operations](https://skmtc.dev/captapi/apis/captapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/captapi/apis/captapi-api/revisions/c9b9ac5ff1bd?raw)
