API reference
Comments
Threaded replies and comment likers.
Comment ids come from
GET /posts/{id}/comments — each item's pk.
Replies
Instagram scopes replies to the parent media, so media_id is required
alongside the comment id: the parent post's id (shortcode, bare or composite
pk).
GET /comments/18012345678901234/replies?media_id=2168384974851429640Paginated on the standard cursor.
Path Parameters
comment_id*Comment Id
Query Parameters
media_id*Media Id
Parent post id: shortcode, bare or composite pk
cursor?|
Opaque pagination cursor from a previous next_cursor
curl -X GET "https://example.com/comments/string/replies?media_id=string"{
"status": "success",
"data": {}
}{}What comes back in data
The standard list shape. Items are comment objects in the same shape as
a post's comments — pk, text, created_at,
comment_like_count, user.
Likers
Keyed by comment id alone — no media_id. Returns one page; has_more is
always false.
Path Parameters
comment_id*Comment Id
curl -X GET "https://example.com/comments/string/likers"{
"status": "success",
"data": {}
}{}What comes back in data
The standard list shape, with compact user objects identical to followers.
Errors
| Code | When |
|---|---|
not_found | The comment was deleted, or the id is wrong. |
invalid_parameter | media_id is not a valid post id. |
unprocessable_entity | media_id is missing. |
invalid_cursor | The cursor was not one we issued. |
upstream_error | Transient. Retry. |