GETPosts2 credits

Get comments

GET https://api.instagramapi.dev/v1/post/comments

Paginated comments with author, text, like count, and timestamp. Use `cursor` to continue.

Build this with an AI agent

Paste this prompt into Claude, Codex, or any coding agent.

Parameters

NameTypeRequiredDescription
poststringyesAn Instagram post/reel. Accepts a media id, a shortcode (`C1a2b3c4d5e`), or a full post/reel URL. We resolve it automatically.
cursorstringnoPagination cursor returned as `next_cursor` in the previous response. Omit for the first page.

Example request

curl "https://api.instagramapi.dev/v1/post/comments?post=https%3A%2F%2Fwww.instagram.com%2Fp%2FC1a2b3c4d5e%2F" \
  -H "Authorization: Bearer $INSTAGRAMAPI_KEY"

Try it

Live request · uses 2 credits

Example responses

Switch tabs to see the body shape for success and each error status.

{
  "data": {
    "items": [
      {
        "id": "18105998371987583",
        "text": "Legendary 🔥",
        "like_count": 54188,
        "created_at": "2026-06-04T16:00:41Z",
        "author": {
          "id": "13460080",
          "username": "nike",
          "full_name": "Nike",
          "is_verified": true,
          "is_private": false,
          "profile_pic_url": "https://instagram.com/.../nike.jpg"
        }
      }
    ],
    "next_cursor": "IntcImNhY2hlZF9jb21t..."
  },
  "meta": {
    "endpoint": "post/comments",
    "request_id": "req_3f8a1c9e",
    "credits_charged": 2,
    "credits_remaining": 4987,
    "ms": 412
  }
}

Response fields

Fields returned under data on a 200 response. Every response also includes a meta object with billing info.

FieldTypeDescription
itemsarray<object>The page of comments.
items[].idstringNumeric comment id.
items[].textstringThe comment text.
items[].like_countnumberNumber of likes on the comment.
items[].created_atstringWhen the comment was posted (ISO 8601, UTC).
items[].authorobjectThe account that wrote the comment.
items[].author.idstringNumeric account id (stable even if the username changes).
items[].author.usernamestringThe account's @handle.
items[].author.full_namestringDisplay name shown on the profile (may be empty).
items[].author.is_verifiedbooleanWhether the account has a verified badge.
items[].author.is_privatebooleanWhether the account is private.
items[].author.profile_pic_urlstringURL of the account's profile picture.
next_cursorstringPass back as `cursor` to fetch the next page; null when there are no more results.

Pagination

List endpoints return up to one page of items plus a next_cursor. To fetch the next page, pass it back as the cursor query parameter. When next_cursor is null, you've reached the end.