List Instagram media comments
List the comments on an Instagram post or Reel by shortcode, URL or media id, top or newest first.
Headers
Get your API keyAPI key (`sfk_...`)
Shortcode, post or Reel URL, or numeric media id.
`top` (default) or `newest`.
one of: top, newest
`nextCursor` from the previous page.
min 1 chars · max 16384 chars
Endpoint-specific response payload.
`found` when the post exists (with or without comments), `not_found` when it doesn't exist, was deleted, or belongs to a private account.
one of: found, not_found
One page of top-level comments, in the order of `sort`. Empty when the post has none, comments are off, or the list has ended.
Comment id.
pattern: ^\d+$
Comment text. Empty on a GIF-only comment.
The GIF a GIF comment carries. Null when the comment has none. Instagram CDN URL; it expires after a while.
When it was posted.
Who wrote it. Null when unknown.
Instagram user id.
pattern: ^\d+$
Username, without @.
Display name.
Profile picture. Instagram CDN URL; it expires after a while.
Whether the account is verified.
Whether the account is private.
Likes.
≥ 0
Replies. Can exceed the replies listed, as Instagram hides some. Null when this view doesn't report it (replies carry no reply count).
≥ 0
Whether the owner pinned the comment to the top. Null when this view doesn't say.
Whether the media's owner wrote the comment. Null when this view doesn't say.
Whether the media's owner liked the comment. Null when this view doesn't say.
Pagination state. Pass `nextCursor` as `cursor` for the next page while `hasMore` is true.
one of: cursor, offset, page
Null when continuation is unknown for this page.
≥ 0
≥ 0
≥ 0
≥ 0
≥ 0
≥ 0
Metadata about the API response.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v2
Code example
curl "https://api.socialfetch.dev/v2/instagram/media/DePzV26vLFB/comments?sort=top" \
-H "x-api-key: YOUR_API_KEY"Responses
One page of the post's comments.