API reference
Instagram Post Comments API
GET
/posts/{post_id}/commentsComments on a post. ``post_id`` accepts a shortcode, the bare media pk or the composite pk; ``user_id`` is the post's owner.
$0.0004 per request ($0.40 per 1,000), flat. Only successful calls are billed.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
| post_id | path | yes | — |
| user_id | query | yes | Numeric id of the post's owner (the post's user.pk) |
| min_id | query | no | — |
| max_id | query | no | Walk toward older comments |
| carousel_media_id | query | no | — |
| carousel_index | query | no | — |
Request
curl "https://api.herascrape.com/posts/3291000000000000000/comments?user_id=528817151" \
-H "x-api-key: $HERASCRAPE_KEY"Returns one page of results in the uniform `{ items, next_cursor, has_more }` envelope. Loop on `next_cursor` to page through the rest.