Instagram Comments API
Get the comments on a public Instagram post, top or newest first, with author, text, time, like count and reply count. Then read the replies to any comment and who liked it.
GET /v1/posts/{post}/comments: Comments on a post (about 15 a page)GET /v1/comments/{comment}/replies?post=: Replies to a commentGET /v1/comments/{comment}/likers: Accounts that liked a comment
Cost: 1 credit per successful call (free from cache). Failed calls and private accounts are free.
Try itsandbox data · no key needed
Every example on this page follows what you type here.
GET /v1/posts/DCSf3TJ3gB7/comments
Sample data in the live schema. Use private_x, ghost_x or hidden_x to see errors.
Parameters
postpathrequiredPost shortcode (
C9xYzAbCdEf), numeric id, or a URL-encoded instagram.com/p/… or /reel/… link.sortqueryoptionalcomments:
top (default) or newest.commentpathrequiredNumeric comment id.
postqueryoptionalreplies: the post the comment belongs to (shortcode or id).
cursorqueryoptionalpagination.next_cursor from the previous page.freshqueryoptionaltrue skips the cache.FAQ
How do I scrape Instagram comments with an API?
Call GET /v1/posts/{shortcode}/comments and follow pagination.next_cursor. Each comment includes the author, text, time, like count and reply count.