MenuPost comments

InstagramPOSTS

Get post comments

Retrieve paginated comments for a post or reel.

GET/v1/instagram/posts/commentsCursor-paginated

Auth

API key Get a key

Platform

InstagramPublic data only

Pagination

Cursorpagination.next_cursor
Base URLhttps://social-api.airaa.xyz
curl "https://social-api.airaa.xyz/v1/instagram/posts/comments?media_code=DQrUvnfDKVy" \
  -H "X-API-KEY: $AIRAA_KEY"
Replace $AIRAA_KEY with your key
200Responseapplication/json
{
  "comments": [
    {
      "id": "18091672682215878",
      "text": "A song bahut achcha Laga madam mujhe nice song thank you so much just perform karke gana dene ke liye 🫶✨✨",
      "comment_url": "https://instagram.com/reel/DQrUvnfDKVy/c/18091672682215878/",
      "published_at": "2026-10-14T17:13:26.000Z",
      "like_count": 2,
      "reply_count": 0,
      "author": {
        "id": "26579170065",
        "username": "shiva__14j",
        "profile_url": "https://www.instagram.com/shiva__14j/",
        "full_name": "Shiva..",
        "profile_picture_url": "https://scontent-hel3-1.cdninstagram.com/v/t51.82787-19/841754073_18122941816882066_8713856294946899746_n.jpg",
        "is_private": false,
        "is_verified": false
      }
    },
    {
      "id": "18110619521223875",
      "text": "🔥🔥😍😍",
      "comment_url": "https://instagram.com/reel/DQrUvnfDKVy/c/18110619521223875/",
      "published_at": "2026-10-14T12:04:50.000Z",
      "like_count": 1,
      "reply_count": 0,
      "author": {
        "id": "26579170065",
        "username": "shiva__14j",
        "profile_url": "https://www.instagram.com/shiva__14j/",
        "full_name": "Shiva..",
        "profile_picture_url": "https://scontent-hel3-1.cdninstagram.com/v/t51.82787-19/841754073_18122941816882066_8713856294946899746_n.jpg",
        "is_private": false,
        "is_verified": false
      }
    }
  ],
  "pagination": {
    "next_cursor": "4CkH8yk3DB7yFfy713E4WAxDk0RqGgjj1dcbHGhPAUqP…",
    "has_more": true,
    "total_count": 4069
  }
}

To fetch the next page, pass pagination.next_cursor back as cursor. pagination.total_count is the total number of comments on the post.

Parameters

Query string
media_codestringrequired

Post shortcode (e.g. DQrUvnfDKVy)

Example DQrUvnfDKVy

cursorstringoptional

Pagination cursor from the previous response (pagination.next_cursor)

Response

200 · application/json

Absent fields are omitted, never null. Response conventions

FieldTypeDescription
commentsarray<object>

Comments on this page

comments[].idstring

Canonical comment ID

comments[].textstring

Comment text

comments[].comment_urlstring · url

Absolute URL of the comment

comments[].published_atstring · date-time

When the comment was posted, ISO 8601 UTC timestamp

comments[].like_countinteger

Number of likes on the comment

comments[].reply_countinteger

Number of replies to the comment

comments[].authorobject

The account that wrote the comment

comments[].author.idstring

Canonical Instagram user ID

comments[].author.usernamestring

Instagram handle, without the @

comments[].author.profile_urlstring · url

Absolute URL of the profile on instagram.com

comments[].author.full_namestring

Display name shown on the profile

comments[].author.profile_picture_urlstring · url

Profile picture URL on the Instagram CDN

comments[].author.is_privateboolean

Whether the account is private

Errors

{ "error": "message" }
StatusMeaningRetry
400

Missing or invalid query parameter

{ "error": "username is required" }
No. Fix the request.
401

Missing or invalid X-API-KEY header

{ "error": "Invalid API key." }
No. Check the key.
429

Request quota exceeded — contact light@airaa.xyz to upgrade your plan

{ "error": "Request quota exceeded — contact light@airaa.xyz to upgrade your plan." }
After your quota resets
500

Server misconfiguration — API key environment variable not set

{ "error": "Server configuration error" }
No. Contact us.
502

Upstream provider temporarily unavailable — please try again

{ "error": "Upstream service unavailable" }
Yes, with backoff
504

Request timed out — please try again

{ "error": "Request timed out — please try again." }
Yes, with backoff
esc

Pages

Endpoints

↑↓ to move↵ to open