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.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
code*string
Post shortcode: the path segment after /p/ or /reel/ in the post URL.
Length
1 <= lengthcursor?string
Pass comments_connection.page_info.end_cursor from the post response or page_info.end_cursor from a previous comments response.
count?integer
Range
1 <= value <= 50Default
50curl -X GET "https://example.com/v1/instagram/post/comments?code=DZpQwxqimz2" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "items": [ { "pk": "string", "property1": null, "property2": null } ], "page_info": { "end_cursor": "string", "has_next_page": true, "property1": null, "property2": null }, "property1": null, "property2": null }}