List post comments (v1)
List the comments on a post or reel by url, code or media_id, with the commenter and like count. Paginate with cursor and next_cursor. A post without comments returns an empty items list.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
url?string
Post or reel URL (/p/, /reel/, /reels/ or /tv/). Send exactly one of url or code.
Length
length <= 500code?string
Shortcode from the post URL, DZpQwxqimz2 in instagram.com/p/DZpQwxqimz2/. Send exactly one of url or code.
Length
length <= 50media_id?string
Numeric media ID, from the pk field of /v1/instagram/media. Send exactly one of url, code or media_id.
Length
length <= 60cursor?string
next_cursor from the previous response. Omit for the first page and send it unchanged for later pages.
Length
length <= 2000curl -X GET "https://example.com/v1/instagram/comments" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "items": [ { "property1": null, "property2": null } ], "next_cursor": "string" }, "details": { "reason": "string", "message": "string" }}