GET/v1/instagram/posts/comments
Get post comments
Parameters
| Name | Type | Description |
|---|---|---|
| media_coderequired | string | Post shortcode (e.g. DOv-9fcDp8G) e.g. DOv-9fcDp8G |
| cursor | string | Pagination cursor from previous response (`pagination_info.cursor`) |
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
Response example
200 OKapplication/json
{
"comments": [
{
"id": "18520748122076499",
"text": "😍😍😍",
"created_at": 1776201448,
"owner": {
"id": "9378450129",
"username": "kentsuneda",
"profile_pic_url": "https://scontent.cdninstagram.com/v/pic.jpg"
}
}
],
"pagination_info": {
"cursor": "QVFCcU9yX2dOZURIanBYblVleFduakxqaE1TSTY2...",
"count": 544
}
}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" }