InsightSocial API
Instagram

Comment

GET
/v1/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: 100–300 credits. We reserve the ceiling when the call starts and charge what it actually used when it finishes.

Re-running the exact same call within 6h is free.

x-api-key<token>

Your key from the dashboard. It starts with isk_.

In: header

Query Parameters

comment_url?string

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.

post_url?string

The post URL (a /p/, /reel/, /reels/, or /tv/ link). Combine with comment_id, or with author_username/text_contains for a search.

comment_id?string

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

author_username?string

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

text_contains?string

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

deep_scan?boolean

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

position_hint?string

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.

max?integer

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

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/instagram/comment"
{  "success": true,  "platform": "instagram",  "endpoint": "/v1/instagram/profile/posts",  "data": {    "items": [      "…"    ],    "dropped": 0  },  "pagination": {    "next_cursor": "is2.eyJwIjoyfQ",    "has_more": true,    "page_size": 12  },  "credits_used": 20,  "credits_remaining": 9980,  "request_id": "req_1a2b3c4d5e6f",  "cached": false,  "idempotent_replay": false,  "charge_reason": "miss",  "free_call": false}