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
Free AI labels on each row of the list, on by default. Each row gets `labels`: `question`, `complaint`, `purchaseIntent` and `sponsored` (true or false) and `sentiment` (`positive`, `neutral` or `negative`). Labels are model estimates and are never charged. Labels already made come back at once; the answer waits up to 0.7 seconds for new ones, and a row not labelled by then has `labels: null` and is labelled for your next call. Pass `true` to wait up to 2.5 seconds, or `false` to leave them out.
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.
Free AI labels for this row, estimated by a model. `null` when the row couldn't be labelled in time (it's usually labelled by your next call); absent when labels are off.
The author asks a question.
The author complains about a product, service, company, price or the content.
The author wants or plans to buy, is choosing what to buy, or asks where or how to buy.
The text promotes or sells something: an ad, a paid partnership, an affiliate or shop link, a discount code or promotional spam.
The overall feeling the author expresses.
one of: positive, neutral, negative
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
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v2/instagram/media/DePzV26vLFB/comments?sort=newest" \
-H "x-api-key: $SOCIALFETCH_API_KEY"Responses
One page of the post's comments.