---
title: "Instagram Post Comments API"
method: GET
path: "/v1/instagram/comments"
tags: ["Instagram"]
---

# Instagram Post Comments API

`GET /v1/instagram/comments`

## Request

- Base URL: `https://api.captapi.com`
- URL: `https://api.captapi.com/v1/instagram/comments`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Session-paged Instagram comments — a logged-out 2-row preview of a larger thread is 503 SESSION_UNAVAILABLE at 0 credits.

Send a post or Reel URL. A live session pages api/v1/media/{pk}/comments and returns nextCursor with likeCount / publishedAt / replyCount / authorAvatarUrl. Logged-out Polaroid only embeds ~2 preview rows: when totalAvailable is larger that is 503 SESSION_UNAVAILABLE (retryable, 0 credits) — not a billed sample of 0.06% of the thread. hasMore is true when nextCursor is set, or when more exist and cannot be paged (hasMore true, nextCursor null, truncatedReason set — same catalogue rule as tiktok/trending-feed). totalAvailable is the post's comment count (same figure as engagement.comments on /instagram/details). A complete 2-comment thread is still a 200. cached is always keyed. Dead session cookies are dropped from the pool on the request path (the health cron also probes). Hard 110s deadline: timeout is 502 UPSTREAM_UNAVAILABLE at 0 credits. Billing scales with results on a full page (~0.9/comment, 2-credit floor). Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh.

Docs: https://captapi.com/apis/instagram-comments

## Query parameters

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

## Response `200`

Success. The data object for this endpoint.

- object
  - `success` unknown, required
  - `data` object, required
    - `platform` string: Platform identifier for this response (matches the endpoint's platform).
    - `url` string: Canonical URL of the item.
    - `totalReturned` integer: Comments in this response.
    - `comments` object[]
      - `id` string: Id of this comments item.
      - `url` string: Canonical URL of the item.
      - `text` string: Text content.
      - `author` string: Author name or handle.
      - `authorAvatarUrl` string: Profile picture URL of the person who wrote the comment.
      - `authorIsVerified` boolean: Whether the author is verified.
      - `publishedAt` string: Publish date (ISO 8601) when the platform exposes an absolute timestamp.

## 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)
