Instagram Comment Replies
List replies to an Instagram comment — reply id, text, author, and like count — with the parent comment, as JSON. 2 credits.
POST/api/v1/instagram/post/comments/replies
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonmedia_idstringrequiredThe post's media id.
Example: 4001971394119634476
comment_idstringrequiredThe parent comment id (pk from Post Comments).
Example: 18117444668061210
cursorstringPagination cursor from a previous response.
Notes
Credits. Typically 2 credits. A request can cost up to 10 credits when it needs extra work to answer; credits_used in the response is always the exact charge.
Fields. Replies are in child_comments; parent_comment is the comment you asked about and child_comment_count its total replies.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.instagram.comment_replies(media_id="4001971394119634476", comment_id="18117444668061210")
print(results)Response
"child_comment_count": 7,
"has_more_head_child_comments": false,
"has_more_tail_child_comments": false,
"is_ranked_replies": false,
"liked_by_media_owner_badge_enabled": true,
"status": "ok"
},
"response_time": 2712,
"credits_used": 2,
"credits_remaining": 4727
}