instagram

Comment

Returns one comment's current text, like count, reply count, author, and timestamp, plus the post's total comment count for context.

Use it when you already know which comment you want, so you do not have to page through post/comments to find it again.

Metered: 50–150 credits. We reserve the ceiling when the call starts and charge what it actually used when it finishes.

get/v1/instagram/comment

Request

  • Base URL: https://api.insightsocial.app
  • URL: https://api.insightsocial.app/v1/instagram/comment
  • Auth: API key in header x-api-key

Query parameters

comment_urlstring
Example:https://www.instagram.com/p/CnpPou9hWqq/c/18007013966365752/

An Instagram comment permalink: https://www.instagram.com/p/{shortcode}/c/{commentId}/ (or a reply permalink .../c/{parent}/r/{reply}/, best-effort). Mutually exclusive with post_url+comment_id. Provide at least one of: comment_url, post_url.

post_urlstring

The post URL (a /p/, /reel/, /reels/, or /tv/ link). Combine with comment_id, or with author_username/text_contains for a search. Provide at least one of: comment_url, post_url.

comment_idstring

The target comment's numeric id (pk). Requires post_url.

author_usernamestring

Return up to max comments authored by this username (no comment id needed). Mutually exclusive with text_contains and any comment id.

text_containsstring

Return up to max comments whose text contains this snippet (case-insensitive). Mutually exclusive with author_username and any comment id.

deep_scanboolean

Widen the scan budget for deeply-buried comments (raises the per-chain page ceiling and deadline).

position_hintstring

Opaque token from a prior lookup's lookup.position_hint. Passing it back replays just the last-known sort chain first, making a re-check of an already-found comment cheap.

maxinteger

For author_username/text_contains search: max matches to return (1-20, default 5).

dry_run'1'

Set to 1 to get the price of this call without making it: data.dry_run carries credits_min and credits_max. Nothing is charged.

Response

Success.

successtrue required
platformstring required
endpointstring required
schema_version'2' required
unavailablestring[] required
credits_usedinteger required
credits_remaininginteger required
request_idstring required
cachedboolean required
idempotent_replayboolean required
charge_reasonstring required
free_callboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.