Instagram comments API
Get the comments on any public Instagram post or reel, top or newest first, with author, text, time, like count and reply count, as JSON. Then read the replies and see who liked each comment. About 15 comments per page, 1 credit per successful call (one page).
- ~15 comments per page
- Top or newest
- 1 credit per successful call
- Private posts: free
Every comment on a post
Pass the post shortcode, its numeric id or the URL-encoded instagram.com link. sort=newest for the latest comments, top (the default) for Instagram's top comments.
- Author, text, time, like count and reply count per comment
- Replies:
/v1/comments/{comment}/replieswithpost= - Cursor paging until has_more is false
# first page; repeat with ?cursor=<pagination.next_cursor>
curl "https://api.handlehaul.com/v1/posts/DCSf3TJ3gB7/comments?sort=newest" \
-H "X-Api-Key: $HANDLEHAUL_API_KEY"
const rows = [];
let cursor = null;
for (let page = 0; page < 7; page++) {
const url = new URL("https://api.handlehaul.com/v1/posts/DCSf3TJ3gB7/comments");
url.searchParams.set("sort", "newest");
if (cursor) url.searchParams.set("cursor", cursor);
const res = await fetch(url, {
headers: { "X-Api-Key": process.env.HANDLEHAUL_API_KEY },
});
const body = await res.json();
rows.push(...body.data);
if (!body.pagination.has_more) break;
cursor = body.pagination.next_cursor;
}
console.log(rows.length, "rows");
import os, requests
url = "https://api.handlehaul.com/v1/posts/DCSf3TJ3gB7/comments"
headers = {"X-Api-Key": os.environ["HANDLEHAUL_API_KEY"]}
params, rows = {"sort": "newest"}, []
for _ in range(7):
body = requests.get(url, headers=headers, params=params, timeout=60).json()
rows += body["data"]
if not body["pagination"]["has_more"]:
break
params["cursor"] = body["pagination"]["next_cursor"]
print(len(rows), "rows")
{
"data": [
{
"id": "782890015575457736",
"text": "Love this!",
"created_at": "2026-11-28T12:00:00.000Z",
"like_count": 76,
"reply_count": 0,
"author": {
"id": "6899639575",
"username": "studio.atelier21",
"full_name": "Studio Atelier",
"is_private": false,
"is_verified": false,
"profile_pic_url": "https://scontent.cdninstagram.com/…/6899639575.jpg"
}
}
],
"pagination": {
"next_cursor": "Ym9v…sealed…",
"has_more": true,
"page_size": 15
},
"meta": {
"request_id": "req_…",
"cached": false,
"cache_age_seconds": 0,
"credits_charged": 1,
"credits_remaining": 26943
}
}
Endpoints for this job
Each costs 1 credit per successful call; lists take a cursor. Every Instagram endpoint is on the Instagram API page, full parameters in the docs.
- GET/v1/posts/{post}/commentsin: post, sort, cursorCommentsComments on a post, with author and like count
- GET/v1/comments/{comment}/repliesin: comment id, post, cursorComment repliesReplies to one comment
- GET/v1/comments/{comment}/likersin: comment id, cursorComment likersAccounts that liked a comment
- GET/v1/posts/{post}/likersin: post, cursorPost likersAccounts that liked a post
- GET/v1/posts/{post}in: shortcode, id or URLPost or reelOne post: media, caption, counts, owner, location
- GET/v1/posts/statsin: ids (up to 20)Post stats (batch)Like, comment and view counts for up to 20 posts in one call
What it costs
1 credit per successful call on every pack, so the bill is calls × the pack's price per 1,000. Naming an account by a handle we have not looked up in the last 7 days adds 1 lookup credit; send the numeric id from any result to skip it. Failed calls are free and credits never expire.
| Pack | Per 1,000 calls | 1 page (~15 comments) 1 call | 1,000 comments 67 calls | 100,000 comments 6,667 calls |
|---|---|---|---|---|
| $29 · 20,000 credits | $1.45 | $0.001 | $0.097 | $9.67 |
| $99 · 80,000 credits | $1.24 | $0.001 | $0.083 | $8.27 |
| $249 · 250,000 credits | $1.00 | $0.001 | $0.067 | $6.67 |
| $499 · 600,000 credits | $0.83 | $0.001 | $0.056 | $5.53 |
Rows per page are about 15, so comment counts are estimates. Replies are separate calls; only ask for them when reply_count is above zero. Scale (1M+ calls a month) starts at $0.75 per 1,000. See pricing.
Per call, not per row
1,000 comments with HandleHaul: 67 calls, $0.056 to $0.097.
Per-row vendors, same 1,000 comments
Bright Data: $1.30 to $1.50, billed per record.
Competitor prices from their own pricing pages, checked December 2026: Bright Data. Every vendor side by side: social media API pricing.
Good to know
Counts without the comments
If you only need like, comment and view counts, /v1/posts/stats returns them for up to 20 posts in one call, 1 credit for the batch.
Who liked a comment
/v1/comments/{comment}/likers lists the accounts that liked one comment, and /v1/posts/{post}/likers the accounts that liked the post.
Public posts only
Comments on posts from private accounts are not available; those calls are free. We never log in to accounts.
Instagram comments API questions
How do I scrape Instagram comments with an API?
GET /v1/posts/{post}/comments with the post shortcode and follow pagination.next_cursor while has_more is true. Each comment has the author, text, time, like count and reply count.How much do Instagram comments cost?
Can I get the newest comments first?
sort=newest. The default, top, returns Instagram's top comments first.Can I use a post URL instead of the shortcode?
Does it include replies?
/v1/comments/{comment}/replies, with the post passed as post=. Call it only for comments whose reply_count is above zero.Related
Instagram profile API
Profile and counts from a username.
Read more →Instagram followers API
Followers and following, newest first.
Read more →TikTok video API
Views and engagement for TikTok videos.
Read more →More: all Instagram endpoints · Instagram comments API docs · Instagram post API docs · pricing · free tools · MCP, CLI and SDKs
Start with the Instagram comments API
$29 for 20,000 calls on Instagram and TikTok. Credits never expire.
Want to test first? Sandbox keys are free and unlimited, with sample data in the live schema.