GETPosts2 credits
Get comments
GET https://api.instagramapi.dev/v1/post/commentsPaginated comments with author, text, like count, and timestamp. Use `cursor` to continue.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| post | string | yes | An Instagram post/reel. Accepts a media id, a shortcode (`C1a2b3c4d5e`), or a full post/reel URL. We resolve it automatically. |
| cursor | string | no | Pagination cursor returned as `next_cursor` in the previous response. Omit for the first page. |
Example request
curl "https://api.instagramapi.dev/v1/post/comments?post=https%3A%2F%2Fwww.instagram.com%2Fp%2FC1a2b3c4d5e%2F" \
-H "Authorization: Bearer $INSTAGRAMAPI_KEY"Try it
Live request · uses 2 creditsExample response
{
"data": { /* Comments on a post or reel. */ },
"meta": {
"endpoint": "post/comments",
"credits_charged": 2,
"credits_remaining": 4987,
"next_cursor": "QVFE...",
"ms": 412
}
}