Instagram Post Comment Replies API
Scrape Instagram Post Comment Replies data with one API call. Returns replies under one Instagram comment. Each reply includes text, like count, nested reply count, author, and timestamp. Pass the post URL and the parent comment_id. Page with cursor.
Last updated October 2026Maintained by the SocialCrawl team
Returns replies under one Instagram comment, each with text, like count, nested reply count, author, and timestamp.
Use it after post/comments: pass the post URL and the parent comment_id to expand one thread.
Searching 68 platforms in parallel
What can you do with the Post Comment Replies API?
The Post Comment Replies endpoint gives you structured Instagram data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/instagram/post/comment/replies?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FC8rKmYvsrck&comment_id=18038110327814211&label=purchase_intent"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/instagram/post/comment/replies",
params={
'url': 'https://www.instagram.com/reel/C8rKmYvsrck',
'comment_id': '18038110327814211',
'label': 'purchase_intent',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/instagram/post/comment/replies?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FC8rKmYvsrck&comment_id=18038110327814211&label=purchase_intent",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters worth sending
label=purchase_intentMarks each comment that shows buying intent, at no extra credits; sentiment, question and complaint are free too.
Parameters
| Parameter | Required | Description |
|---|---|---|
| url | Yes | URL of the Instagram post that holds the parent comment. |
| comment_id | Yes | Id of the parent comment whose replies to list. |
| cursor | No | Cursor from the previous response to fetch the next page. |
| label | No | Optional CSV of SocialCrawl labels to add to every comment: sentiment, spam, question, purchase_intent, complaint, toxic, low_quality, injection. Without this param every page already carries sentiment, question, purchase_intent and complaint, free; label= adds the labels you name to them (the defaults keep running). Each comment gains computed.labels with probabilities (0 to 1), so you choose the cut-off; a comment that could not be judged carries labels: null. sentiment, question, purchase_intent and complaint are free when asked for too; spam, toxic, low_quality and injection add 1 credit per started 25 newly judged comments (comments already labelled for anyone are free, and so is a cached page). injection flags text that addresses an AI system and tries to direct it (flagged, p); it never drops or rewrites a row. judgments=off (or label=none) turns the default labels off. data.labels reports what was judged and billed. |
| exclude | No | Optional CSV (spam, low_quality), only with the same preset in label. Drops comments whose probability is 0.8 or higher and lists their ids in data.labels.dropped_ids. A comment that could not be judged is never dropped. |
| judgments | No | Optional, on (the default) or off. By default every row gains free SocialCrawl judgments (computed.labels, and computed.relevance on search endpoints), reported in data.labels (mode default) and data.relevance (origin default), each with a status (complete, partial or skipped) and pending: the rows still being judged when the page was sent, which carry null now and are filled on your next call or cached read. Default judgments never add credits, never change an existing field, and never drop or reorder a row. off returns the page exactly as before, with none of those keys. label=none does the same. (on | off) |
| dry_run | No | Optional. When 1, return a cost preview for this labelled or relevance-filtered request without fetching the page or judging any row. data.estimate reports rows_expected, rows_cached, label_credits_min, label_credits_max and base_credits. 0 credits charged. (1) |
| label_evidence | No | Optional, only with label=. When 1, every labelled row also carries computed.labels_evidence.<preset> = { quote, sentence_index }: the sentence in the row that most clearly shows the label, copied verbatim. Absent or null when no single sentence shows it. (1) |
| fit | No | Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged. (goal) |
| goal | No | Required by fit=goal. What you are trying to do, in your own words, up to 300 characters. |
| fit_tokens | No | Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it. |
What does the Instagram Post Comment Replies API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "instagram",
"endpoint": "/v1/instagram/post/comment/replies",
"data": {
"items": [
{
"comment": {
"id": "17863605315161991",
"url": "https://example.com/redacted",
"parent_id": "18038110327814211",
"post_id": "C8rKmYvsrck",
"text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"author": {
"username": "user_0efd57",
"display_name": null,
"avatar_url": "https://example.com/avatars/user_2ffb96.png",
"verified": false
},
"engagement": {
"likes": null,
"replies": 0
},
"flags": {
"pinned": null,
"deleted": false
},
"published_at": "2024-06-28T09:21:43.000Z"
},
"computed": {
"language": "de",
"labels": {
"sentiment": {
"level": 2,
"score_0_1": 0.6,
"confidence": 0.65
},
"question": {
"p": 0.72
},
"purchase_intent": {
"p": 0.01
},
"complaint": {
"p": 0.01
}
}
}
},
{
"comment": {
"id": "18118112077374440",
"url": "https://example.com/redacted",
"parent_id": "18038110327814211",
"post_id": "C8rKmYvsrck",
"text": "Sample comment text (redacted).",
"author": {
"username": "user_0efd57",
"display_name": null,
"avatar_url": "https://example.com/avatars/user_2ffb96.png",
"verified": false
},
"engagement": {
"likes": null,
"replies": 0
},
"flags": {
"pinned": null,
"deleted": false
},
"published_at": "2024-06-28T09:22:10.000Z"
},
"computed": {
"language": "de",
"labels": {
"sentiment": {
"level": 3,
"score_0_1": 0.65,
"confidence": 0.64
},
"question": {
"p": 0.03
},
"purchase_intent": {
"p": 0.02
},
"complaint": {
"p": 0.02
}
}
}
}
],
"total": null,
"labels": {
"presets": [
"sentiment",
"question"
],
"rows": 2,
"labelled": 2,
"cached": 2,
"skipped": 0,
"unjudged": 0,
"dropped": 0,
"dropped_ids": [],
"extra_credits": 0,
"methodology_version": "labels/1",
"mode": "default",
"status": "complete",
"pending": 0,
"pending_ids": []
},
"label_share": {
"policy_version": "share/1",
"presets": {
"question": {
"n": 2,
"counted": 1,
"abstained": 0,
"share": null,
"low": 0.1209,
"high": 0.8791,
"receipts": [
{
"id": "17863605315161991",
"text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted)."
}
],
"policy_version": "share/1",
"too_few": true,
"at_cut": 1,
"nulls": 0,
"low_confidence": 0
},
"purchase_intent": {
"n": 2,
"counted": 0,
"abstained": 0,
"share": null,
"low": 0,
"high": 0.575,
"receipts": [],
"policy_version": "share/1",
"too_few": true,
"at_cut": 0,
"nulls": 0,
"low_confidence": 0
},
"complaint": {
"n": 2,
"counted": 0,
"abstained": 0,
"share": null,
"low": 0,
"high": 0.575,
"receipts": [],
"policy_version": "share/1",
"too_few": true,
"at_cut": 0,
"nulls": 0,
"low_confidence": 0
},
"sentiment": {
"positive": {
"n": 2,
"counted": 1,
"abstained": 0,
"share": null,
"low": 0.1209,
"high": 0.8791,
"receipts": [
{
"id": "18118112077374440",
"text": "Sample comment text (redacted)."
}
],
"policy_version": "share/1",
"too_few": true,
"at_cut": 1,
"nulls": 0,
"low_confidence": 0
},
"neutral": {
"n": 2,
"counted": 1,
"abstained": 0,
"share": null,
"low": 0.1209,
"high": 0.8791,
"receipts": [
{
"id": "17863605315161991",
"text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted)."
}
],
"policy_version": "share/1",
"too_few": true,
"at_cut": 1,
"nulls": 0,
"low_confidence": 0
},
"negative": {
"n": 2,
"counted": 0,
"abstained": 0,
"share": null,
"low": 0,
"high": 0.575,
"receipts": [],
"policy_version": "share/1",
"too_few": true,
"at_cut": 0,
"nulls": 0,
"low_confidence": 0
}
}
}
},
"comment_language": {
"policy_version": "share/1",
"n": 2,
"abstained": 0,
"judged_by": {
"script": 0,
"choice": 2
},
"shares": {
"de": {
"n": 2,
"counted": 2,
"abstained": 0,
"share": null,
"low": 0.425,
"high": 1,
"receipts": [
{
"id": "17863605315161991",
"text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted)."
},
{
"id": "18118112077374440",
"text": "Sample comment text (redacted)."
}
],
"policy_version": "share/1",
"too_few": true
}
}
},
"comment_recency": {
"policy_version": "d09-1",
"n": 2,
"counted": 2,
"abstained": 0,
"share_last_24h": 0,
"share_later_half": null,
"too_few": true,
"stage": "unknown",
"order": "default",
"recent_share_is_floor": true,
"receipts": []
},
"dropped": 0
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": null,
"has_more": false,
"page_size": 2
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T15:37:06.588Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Instagram Post Comment Replies API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 68 platforms covering 10B+ monthly active users.
One schema, every platform
Query 68 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Ready to scrape Instagram Post Comment Replies data?
Get your API key and start pulling Instagram data in under 60 seconds.
