API Description

Instagram Comments API — Collect Instagram comments using the pagination, ordering and filters listed for this operation.

Authenticate with your Pangolinfo API Key to receive structured JSON data.

Request URL

POST https://scrapeapi.pangolinfo.com/api/v1/social/instagram-comments

Request Headers

ParametersParameter valueTypeDescription
Content-Typeapplication/jsonstringData format
AuthorizationBearer xxxstringAuthorization Token

Collection takes up to approximately 75 seconds. Set your client timeout to 90 seconds.

Request Parameters

ParameterRequiredTypeDescription
targetYesstringTarget URL, supported ID or search keyword for this operation.
optionsNoobjectOptional collection settings, described below.

options Parameters

ParameterRequiredTypeDescription
maxPagesNointegerPages to collect. Default: 1; values above 5 are capped at 5. Must be a positive integer.
Default: 1
Minimum: 1
Maximum: 5
cursorNostring | nullContinuation cursor from the previous response. Pass the value unchanged.

Only the request parameters listed on this page are used; other fields are ignored. Pass pagination cursors back unchanged, without encoding, decoding or conversion.

One page by default, capped at five per request. Page counts must be positive integers; higher values are capped at five.

Response Fields

FieldTypeDescription
codeintegerStatus code; 0 indicates success.
messagestringResponse message; ok on success.
pointCostnumberPoints charged for this request.
dataobjectCollected data, with fields described below.
metaobjectRequest identifier and duration in milliseconds.
billingobjectCharged units, unit price and billing rule version.

data Fields

FieldTypeDescription
typestringResult type.
commentsCountnumber | nullPlatform-reported comment total; not the number billed.
commentsobject[]Root comments in comment mode.
paginationobjectContinuation cursor and whether more results are available.

data.comments[] Fields

FieldTypeDescription
nativeIdstringNative id
avatarstring | nullAvatar URL.
nicknamestring | nullAuthor display name.
timestring | nullPublication time.
contentstring | nullContent text; may be null for records without text.
profileUrlstring | nullAuthor profile URL.
pkstring | number | nullPk
usernamestring | nullUsername
userPkstring | number | nullUser pk
isVerifiedbooleanIs verified
isUnpublishedbooleanIs unpublished
likesnumber | nullLike count.
parentCommentIdstring | number | nullParent comment id
childCommentCountnumber | nullChild comment count
hasTranslationbooleanHas translation
restrictedStatusnumber | nullRestricted status
isCoveredbooleanIs covered

data.pagination Fields

FieldTypeDescription
commentsobjectRoot comments in comment mode.

data.pagination.comments Fields

FieldTypeDescription
cursorstring | nullContinuation cursor from the previous response. Pass the value unchanged.
hasMorebooleanWhether more results are available.

Request Example

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/instagram-comments \
  --header 'Authorization: Bearer YOUR_PANGOLINFO_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "https://www.instagram.com/p/BsOGulcndj-/"
}'

Response Example

This excerpt shows the first item of each list. Long text and URLs are shortened; pointCost is the charge for the complete response. The playground contains the full schema.

{
  "code": 0,
  "message": "ok",
  "pointCost": 6.4,
  "data": {
    "type": "comments",
    "commentsCount": 3766092,
    "comments": [
      {
        "nativeId": "18040953380849914",
        "avatar": "https://scontent-atl3-2.cdninstagram.com/v/t51.82787-19/840333085_18642090745021526_6115295017589438883_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=111&ig_cache_k...",
        "nickname": "johan_s.v_",
        "time": "2026-11-06T06:10:42.000Z",
        "content": "Follow me",
        "profileUrl": "https://www.instagram.com/johan_s.v_/",
        "pk": "18040953380849914",
        "username": "johan_s.v_",
        "userPk": "1913621525",
        "isVerified": false,
        "isUnpublished": false,
        "likes": 1,
        "parentCommentId": null,
        "childCommentCount": null,
        "hasTranslation": false,
        "restrictedStatus": null,
        "isCovered": false
      }
    ],
    "pagination": {
      "comments": {
        "cursor": null,
        "hasMore": true
      }
    }
  },
  "meta": {
    "requestId": "pg-audit-r1-instagram-comments-1793954269885309400",
    "durationMs": 5239
  },
  "billing": {
    "unitPrice": 0.8,
    "ruleVersion": "social-primary-v2",
    "billedCount": 8,
    "pointCost": 6.4
  }
}

Points Usage

0.8 points per root comment; included replies are free. Supported explicit reply modes charge 0.8 points per direct reply; nested replies included with those results are free.

Empty results and failed requests are not charged. Duplicate IDs are counted once within a response. Separate calls and pages are billed separately. See Social Media Reviews API billing.

Try it