# List Instagram post comments

Lists comments on a public Instagram post, identified by its shortcode in `code`. `count` sets the page size; pass `page_info.end_cursor` from the previous response as `cursor` to get the next page.

- Platform: Instagram
- Request: `GET https://api.toolzerhub.com/v1/instagram/post/comments`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/instagram/post/get-post-comments

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `code` | query | yes | string | Post shortcode: the path segment after /p/ or /reel/ in the post URL. |
| `cursor` | query | no | string | Pass comments_connection.page_info.end_cursor from the post response or page_info.end_cursor from a previous comments response. |
| `count` | query | no | integer |  Default: 50. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/instagram/post/comments?code=<code>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
