Get the comments on a post
Fetch comments on one Instagram post: username, text, timestamp, like_count, reply_count and parent_id for replies. Use this for social listening and campaign verification.
https://api.scrapefield.com/v1/instagram/commentshttps://api.scrapefield.com/v1/instagram/commentsIn your code
curl -H "Authorization: Bearer $SCRAPEFIELD_KEY" \
"https://api.scrapefield.com/v1/instagram/comments?url=example"Parameters
| Parameter | What it does |
|---|---|
url | The post URL. |
shortcode | The post shortcode. |
limit | How many results to return, 1–50. 1–50, default 50 |
cursor | The `meta.next_cursor` from the previous page. Omit for the first page. |
fresh | Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it. default false |
Response
Returns an array of instagram_comment. This is a real response, not an abbreviated one — including the fields that come back null, because a field is null when the platform does not show it and you should know which ones those are before you build on them.
{
"data": [
{
"id": "18461201548671147",
"media_id": "3911914872358761206",
"parent_id": null,
"username": "petr69",
"text": "This is the one I keep coming back to.",
"timestamp": "2026-06-08T10:59:35.000Z",
"like_count": 186,
"reply_count": 4
},
{
"id": "18315532065797207",
"media_id": "3911914872358761206",
"parent_id": null,
"username": "tomas73",
"text": "What camera?",
"timestamp": "2026-06-13T12:24:03.000Z",
"like_count": 216,
"reply_count": 1
}
],
"meta": {
"request_id": "req_7f3ac1e94b2d40f8a1c6e5d2",
"credits_charged": 3,
"credits_remaining": 74218,
"cached": false,
"fetched_at": "2026-09-20T09:12:03Z",
"next_cursor": "eyJwIjoxLCJzIjoiYTNmOSJ9"
}
}Fields of instagram_comment
A comment on an Instagram post. Named after Instagram's Graph API.
| Field | What it is |
|---|---|
id | |
media_id | The post it is on. |
parent_id | The comment it replies to. null for a top-level comment. |
username | |
text | |
timestamp | |
like_count | |
reply_count |
What it costs
3 credits per successful call, whether we fetch it or serve it from cache — you pay for the answer, not for how we produced it. Responses are cached for 1 hours and a cached one tells you when the data was actually fetched. A call we fail costs 0 and is refunded automatically.
On the smallest pack that is $2.34 per 1,000 calls; on the largest, $1.20. The full table.