GETPosts2 credits
Get comments
GET https://api.instagramapi.dev/v1/post/commentsPaginated comments with author, text, like count, and timestamp. Use `cursor` to continue.
Build this with an AI agent
Paste this prompt into Claude, Codex, or any coding agent.
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 responses
Switch tabs to see the body shape for success and each error status.
{
"data": {
"items": [
{
"id": "18105998371987583",
"text": "Legendary 🔥",
"like_count": 54188,
"created_at": "2026-06-04T16:00:41Z",
"author": {
"id": "13460080",
"username": "nike",
"full_name": "Nike",
"is_verified": true,
"is_private": false,
"profile_pic_url": "https://instagram.com/.../nike.jpg"
}
}
],
"next_cursor": "IntcImNhY2hlZF9jb21t..."
},
"meta": {
"endpoint": "post/comments",
"request_id": "req_3f8a1c9e",
"credits_charged": 2,
"credits_remaining": 4987,
"ms": 412
}
}Response fields
Fields returned under data on a 200 response. Every response also includes a meta object with billing info.
| Field | Type | Description |
|---|---|---|
| items | array<object> | The page of comments. |
| items[].id | string | Numeric comment id. |
| items[].text | string | The comment text. |
| items[].like_count | number | Number of likes on the comment. |
| items[].created_at | string | When the comment was posted (ISO 8601, UTC). |
| items[].author | object | The account that wrote the comment. |
| items[].author.id | string | Numeric account id (stable even if the username changes). |
| items[].author.username | string | The account's @handle. |
| items[].author.full_name | string | Display name shown on the profile (may be empty). |
| items[].author.is_verified | boolean | Whether the account has a verified badge. |
| items[].author.is_private | boolean | Whether the account is private. |
| items[].author.profile_pic_url | string | URL of the account's profile picture. |
| next_cursor | string | Pass back as `cursor` to fetch the next page; null when there are no more results. |
Pagination
List endpoints return up to one page of items plus a next_cursor. To fetch the next page, pass it back as the cursor query parameter. When next_cursor is null, you've reached the end.