InstagramPosts/ReelsGet post comments
GET/v1/instagram/posts/comments
Get post comments
Retrieve paginated comments for a post or reel. Comments are in the `comments` array (each enriched with `profile_url`, `commenter_url`, `content_url`); the media `caption` and root `content_url`/`profile_url` are also included. To fetch the next page, pass back **both** `pagination_info.cursor` (as `cursor`) and `pagination_info.id_acc` (as `id_acc`) from the previous response.
Parameters
NameTypeDescription
media_coderequiredstring
Post shortcode (e.g. DOv-9fcDp8G)
e.g. DOv-9fcDp8G
cursorstring
Pagination cursor from previous response (`pagination_info.cursor`). Pass together with `id_acc`.
id_accinteger
Account id from previous response (`pagination_info.id_acc`). Pass together with `cursor` when paginating.
Request
Shell
curl -G "https://social-api.airaa.xyz/v1/instagram/posts/comments" \
  -H "X-API-KEY: YOUR_KEY" \
  -d "media_code=DOv-9fcDp8G" \
  -d "cursor=cursor"
Try it
Live requestRuns against the real API
X-API-KEY
media_coderequired
cursor
id_acc
Response example
200 OKapplication/json
{
  "caption": {
    "text": "Manifesting to be the ultimate 'Sapna Ki Rani' 👑 …",
    "user": {
      "username": "sairaahlive"
    }
  },
  "comments": [
    {
      "pk": "18114356339481923",
      "text": "so cute❤️❤️❤️",
      "created_at": 1782822953,
      "comment_like_count": 0,
      "child_comment_count": 0,
      "user": {
        "pk": "74961823208",
        "username": "priyansu54969",
        "full_name": "PRIYANSU VERMA",
        "profile_pic_url": "https://scontent.cdninstagram.com/v/pic.jpg",
        "is_verified": false
      },
      "preview_child_comments": [],
      "profile_url": "https://instagram.com/sairaahlive",
      "commenter_url": "https://instagram.com/priyansu54969",
      "content_url": "https://instagram.com/reel/DQrUvnfDKVy"
    }
  ],
  "pagination_info": {
    "cursor": "{\"is_server_cursor_inverse\":true,\"server_cursor\":\"AQHSdE...\"}",
    "id_acc": 1937051,
    "has_more": true,
    "count": 4101
  },
  "content_url": "https://instagram.com/reel/DQrUvnfDKVy",
  "profile_url": "https://instagram.com/sairaahlive",
  "status": "ok"
}
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
502Airaa service temporarily unavailable — please try again
504Request timed out — please try again
All error responses follow the shape { "error": "message" }