Instagram›Posts/Reels›Get post comments
GET/v1/instagram/posts/comments
Get post comments
Retrieve paginated comments for a post or reel. To fetch the next page, pass back **both** `pagination.next_cursor` (as `cursor`) and `pagination.next_id` (as `next_id`). `pagination.total_count` is the total number of comments on the post.
Parameters
NameTypeDescription
media_coderequiredstring
Post shortcode (e.g. `DQrUvnfDKVy`)
e.g. DQrUvnfDKVy
cursorstring
Pagination cursor from the previous response (`pagination.next_cursor`). Pass together with `next_id`.
next_idstring
Continuation id from the previous response (`pagination.next_id`). Pass together with `cursor` when paginating.
Request
Shell
curl -G "https://socialapi.airaa.xyz/v1/instagram/posts/comments" \
  -H "X-API-KEY: YOUR_KEY" \
  -d "media_code=DQrUvnfDKVy" \
  -d "cursor=cursor"
Try it
Live requestRelayed through this site — your key is never stored
X-API-KEY
media_coderequired
cursor
next_id
Response example
200 OKapplication/json
{
  "comments": [
    {
      "id": "18103609004524410",
      "text": "❤️❤️",
      "comment_url": "https://instagram.com/reel/DQrUvnfDKVy/c/18103609004524410/",
      "published_at": "2026-09-02T13:04:42.000Z",
      "like_count": 0,
      "reply_count": 0,
      "author": {
        "id": "51718134662",
        "username": "arsalanmanzoor84",
        "profile_url": "https://www.instagram.com/arsalanmanzoor84/",
        "full_name": "Arsa Lan",
        "profile_picture_url": "https://instagram.frtm1-1.fna.fbcdn.net/v/t51.2885-19/267222467.jpg",
        "is_private": false,
        "is_verified": false
      }
    }
  ],
  "pagination": {
    "next_cursor": "{\"is_server_cursor_inverse\":true,\"server_cursor\":\"AQHTMVjSBahRfg3zoEQV\"}",
    "next_id": "194809",
    "has_more": true,
    "total_count": 4098
  }
}
Response codes
200Comments
400Missing or invalid query parameter
401Missing or invalid `X-API-KEY` header
429Request quota exceeded — contact light@airaa.xyz to upgrade your plan
500Server misconfiguration — API key environment variable not set
502Upstream provider temporarily unavailable — please try again
504Request timed out — please try again
All error responses follow the shape { "error": "message" }