What it does
Returns top-level comments on an Instagram post. Fixed page size of 15 (platform limit). Includes comment text, author info, like counts, and timestamps.Tool details
| Field | Value |
|---|---|
| Tool name | instagram.get_post_comments |
| Platform | |
| REST endpoint | GET /v1/instagram/posts/{postId}/comments |
| Result type | Collection tool |
Parameters
| Parameter | Source | Type | Required | Description |
|---|---|---|---|---|
postId | path | string | Yes | Post shortcode (from instagram.com/p//) |
count | query | integer | No | Page size (fixed at 15 by the platform) Default: 15. |
cursor | query | string | No | Pagination cursor |
projection_preset | shared | string | No | Optional. Defaults to minimal. Allowed values: full, minimal, identity, engagement, content. |
data_fields | shared | string[] | No | Optional. Adds top-level keys from data on top of the selected projection_preset. |
item_fields | shared | string[] | No | Optional. Adds keys from data.orderedItems[] on top of the selected projection_preset. |
Example
Available data fields
Available item fields
Response notes
Successful calls return a JSON object with a top-leveldata field and, when
available, metadata.creditsUsed and metadata.creditsRemaining. See
response format,
pagination, and credits.