---
title: "Fetch post comments"
method: POST
path: "/v1/reddit/post/comments"
tags: ["Reddit"]
---

# Fetch post comments

`POST /v1/reddit/post/comments`

Fetch comments for a Reddit post by URL or `t3_<id>` identifier. Returns the parent post (when available) and a paginated, depth-first flat list of comments that includes nested replies. Each entry's `parentCommentId` is null for top-level comments or points at the parent comment for replies; group on `parentCommentId` to rebuild the thread tree. Use the `nextPageToken` field from the response to retrieve subsequent pages of top-level comments (their nested replies come along automatically).

<span>⚡ <strong>Rate limit:</strong> 300 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> 2 credits per page of results&nbsp;<span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>

## Request body

- object
  - `apiKey` string, required — Your Fiber API key
  - `postUrlOrId` string, required — Full Reddit post URL/permalink or post ID (e.g. 't3_ablzuq').
  - `nextPageToken` string, nullable — Pagination token from a previous response to retrieve the next page. Omit for the first page.

## Response `200`

Default Response

- object
  - `output` object, required
    - `post` object, nullable — Post metadata for the requested comment thread.
      - `id` string, required — Stable Reddit post identifier (e.g. `ablzuq`). Use this as the primary key when storing posts in a database. Pass as `t3_<id>` to `/reddit/post/comments` to fetch comments for this post.
      - `title` string, nullable — Post title.
      - `author` string, nullable — Author username.
      - `subreddit` string, nullable — Subreddit name.
      - `bodyText` string, nullable — Post body text.
      - `url` string, nullable — Content URL. For link posts this is the external URL the post points at; for text and media posts it is the post's permalink on Reddit.
      - `permalink` string, nullable — Reddit discussion URL. Always points at the post's comments page on reddit.com regardless of post type.
      - `score` number, nullable — Net vote score (upvotes minus downvotes, subject to Reddit vote fuzzing).
      - `upvoteRatio` number, nullable — Ratio of upvotes to total votes (0 to 1).
      - `commentCount` number, nullable — Number of comments.
      - `thumbnailUrl` string, nullable — Thumbnail URL when available.
      - `publishedAt` string, nullable — Publication timestamp in ISO 8601 format.
      - `isVideo` boolean, nullable — True when the post contains video media.
      - `isOver18` boolean, nullable — True when the post is marked NSFW.
      - `isSpoiler` boolean, nullable — True when the post is marked as a spoiler.
    - `comments` object[], required — Flat list of comments returned for the post, including replies. Each entry's `parentCommentId` is null for top-level comments and points at the parent comment's `id` for replies. The list is depth-first ordered (each top-level comment is followed by its descendants), so customers who want a tree can group on `parentCommentId`.
      - `id` string, required — Stable Reddit comment identifier (e.g. `ed1czme`). Use this as the primary key when storing comments in a database.
      - `parentCommentId` string, nullable — Parent comment ID when this entry is a reply to another comment. Null for top-level comments (whose parent is the post). Use this field to rebuild the thread tree by grouping comments on `parentCommentId`.
      - `author` string, nullable — Comment author username.
      - `bodyText` string, nullable — Comment body text.
      - `score` number, nullable — Net vote score (upvotes minus downvotes, subject to Reddit vote fuzzing).
      - `publishedAt` string, nullable — Comment timestamp in ISO 8601 format.
      - `replyCount` number, nullable — Total number of direct replies on this comment. May exceed the number of reply entries actually present in `comments[]` when some replies are collapsed by Reddit and not included in the current page.
      - `permalink` string, nullable — Canonical Reddit permalink for the comment.
    - `nextPageToken` string, nullable — Token to retrieve the next page of top-level comments (their nested replies are included automatically). Pass as `nextPageToken` in the next request. Null if no more pages.
  - `chargeInfo` union, required
    - object — Credits were charged immediately for this operation
      - `method` 'charged-now', required
      - `creditsCharged` number, required
      - `lowCreditAlert` object, nullable — Contains a link to get more credits, a warning message, and the remaining credit count.
        - `getMoreCreditsUrl` string, uri, required — URL to top up credits or restart billing cycle to get fresh credits.
        - `message` string, required — Human-readable credits warning.
        - `availableCredits` number, required — Number of credits remaining in the current billing period.
    - object — Credits will be charged after the operation completes
      - `method` 'charging-later', required
      - `message` string, required
      - `lowCreditAlert` object, nullable — Contains a link to get more credits, a warning message, and the remaining credit count.
        - `getMoreCreditsUrl` string, uri, required — URL to top up credits or restart billing cycle to get fresh credits.
        - `message` string, required — Human-readable credits warning.
        - `availableCredits` number, required — Number of credits remaining in the current billing period.
    - object — Credits that were charged for an asynchronous operation
      - `method` 'charged-for-async-process', required
      - `creditsCharged` number, required
      - `message` string, required
      - `lowCreditAlert` object, nullable — Contains a link to get more credits, a warning message, and the remaining credit count.
        - `getMoreCreditsUrl` string, uri, required — URL to top up credits or restart billing cycle to get fresh credits.
        - `message` string, required — Human-readable credits warning.
        - `availableCredits` number, required — Number of credits remaining in the current billing period.
    - object — No credits were charged for this operation
      - `method` 'free', required
      - `message` string, required
      - `lowCreditAlert` object, nullable — Contains a link to get more credits, a warning message, and the remaining credit count.
        - `getMoreCreditsUrl` string, uri, required — URL to top up credits or restart billing cycle to get fresh credits.
        - `message` string, required — Human-readable credits warning.
        - `availableCredits` number, required — Number of credits remaining in the current billing period.
    - object — Credits were refunded for this operation
      - `method` 'credits-refunded', required
      - `creditsRefunded` number, required
      - `message` string, required
      - `lowCreditAlert` object, nullable — Contains a link to get more credits, a warning message, and the remaining credit count.
        - `getMoreCreditsUrl` string, uri, required — URL to top up credits or restart billing cycle to get fresh credits.
        - `message` string, required — Human-readable credits warning.
        - `availableCredits` number, required — Number of credits remaining in the current billing period.
  - `warnings` object[], nullable — Warnings about extraneous fields in request
    - `field` string, required — Full path to extraneous field (e.g., 'searchParams.ExtraField')
    - `message` string, required — Warning message
  - `advice` string[], nullable — Tips, recommendations, and suggestions for using this API effectively.

## Other responses

- `400` — Default Response
- `401` — Default Response
- `402` — Default Response
- `403` — Default Response
- `404` — Default Response
- `422` — Default Response
- `429` — Default Response
- `500` — Default Response
- `503` — Default Response

---

[API](https://skmtc.net/fiber/apis/fiber-ai-api.md) · [All operations](https://skmtc.net/fiber/apis/fiber-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fiber/fiber-ai-api/revisions/c4f2d79876be/schema)
