API Description

Instagram Post API — Collect Instagram post details and available author, media and comment data.

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

Request URL

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

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.

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

Included comments are limited to one page. Use the corresponding comments operation for more.

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.
posterobjectPoster
postobjectPost, video or business details.
commentsobject[]Root comments in comment mode.
paginationobjectContinuation cursor and whether more results are available.

data.poster Fields

FieldTypeDescription
avatarCanvasstring | nullAvatar canvas
nicknamestring | nullAuthor display name.
profileUrlstring | nullAuthor profile URL.
pkstring | number | nullPk
usernamestring | nullUsername
fullNamestring | nullFull name
avatarstring | nullAvatar URL.
isVerifiedbooleanIs verified
isPrivatebooleanIs private

data.post Fields

FieldTypeDescription
captionTextstring | nullCaption text
hashtagsstring[]Hashtags
mentionsstring[]Mentions
videoSrcnullVideo src
publishedAtobject | nullPublication time.
likesnumber | nullLike count.
commentCountnumber | nullComment count
shortcodestring | nullShortcode
pkstring | number | nullPk
urlstringContent URL.
typenamestring | nullTypename
productTypestring | nullProduct type
mediaTypenumber | nullMedia type
captionIsEditedbooleanCaption is edited
captionCreatedAtstring | nullCaption created at
playsnumber | nullPlays
viewsnumber | nullView count.
likeAndViewCountsDisabledbooleanLike and view counts disabled
commentsDisabledboolean | nullComments disabled
commentingDisabledForViewerboolean | nullCommenting disabled for viewer
widthnumber | nullWidth
heightnumber | nullHeight
isPaidPartnershipbooleanIs paid partnership
accessibilityCaptionstring | nullAccessibility caption
coverstring | nullCover
videoUrlstring | nullVideo url
videoVersionsobject[]Video versions
imageCandidatesobject[]Image candidates
carouselobject[]Carousel
musicobject | nullMusic
originalSoundobject | nullOriginal sound
coauthorsobject[]Coauthors
locationobject | nullLocation

data.post.publishedAt Fields

FieldTypeDescription
textstring | nullText value.
valuenumber | nullParsed value.

data.post.videoVersions[] Fields

FieldTypeDescription
typenumber | nullResult type.
widthnumber | nullWidth
heightnumber | nullHeight
urlstringContent URL.

data.post.imageCandidates[] Fields

FieldTypeDescription
widthnumber | nullWidth
heightnumber | nullHeight
urlstringContent URL.

data.post.carousel[] Fields

FieldTypeDescription
pkstring | number | nullPk
mediaTypenumber | nullMedia type
widthnumber | nullWidth
heightnumber | nullHeight
accessibilityCaptionstring | nullAccessibility caption
videoVersionsobject[]Video versions
imageCandidatesobject[]Image candidates

data.post.music Fields

FieldTypeDescription
audioClusterIdstring | number | nullAudio cluster id
titlestring | nullTitle
artiststring | nullArtist
coverArtUrlstring | nullCover art url

data.post.originalSound Fields

FieldTypeDescription
audioAssetIdstring | number | nullAudio asset id
originalAudioTitlestring | nullOriginal audio title
consumptionInfoobject | nullConsumption info

data.post.coauthors[] Fields

FieldTypeDescription
pkstring | number | nullPk
usernamestring | nullUsername

data.post.location Fields

FieldTypeDescription
pkstring | number | nullPk
namestring | nullName
slugstring | nullSlug

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-post \
  --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": 0.8,
  "data": {
    "type": "post",
    "poster": {
      "avatarCanvas": "https://scontent-yyz1-1.cdninstagram.com/v/t51.2885-19/457303548_1264782478234846_477750340754769289_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=110&ig_cache_key=...",
      "nickname": "world_record_egg",
      "profileUrl": "https://www.instagram.com/world_record_egg/",
      "pk": "10013772027",
      "username": "world_record_egg",
      "fullName": "Just An Egg 🥚",
      "avatar": "https://scontent-yyz1-1.cdninstagram.com/v/t51.2885-19/457303548_1264782478234846_477750340754769289_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=110&ig_cache_key=...",
      "isVerified": true,
      "isPrivate": false
    },
    "post": {
      "captionText": "Let’s set a world record together and get the most liked post on Instagram. Beating the current world record held by Kylie Jenner (18 million)! We got this 🙌...",
      "hashtags": [
        "LikeTheEgg"
      ],
      "mentions": [],
      "videoSrc": null,
      "publishedAt": {
        "text": "2019-01-04T17:05:45.000Z",
        "value": 1546621545000
      },
      "likes": 60248022,
      "commentCount": 3766092,
      "shortcode": "BsOGulcndj-",
      "pk": "1949525278281554174",
      "url": "https://www.instagram.com/p/BsOGulcndj-/",
      "typename": "XIGPolarisImageMedia",
      "productType": "feed",
      "mediaType": 1,
      "captionIsEdited": true,
      "captionCreatedAt": "2019-01-13T00:22:29.000Z",
      "plays": null,
      "views": null,
      "likeAndViewCountsDisabled": false,
      "commentsDisabled": null,
      "commentingDisabledForViewer": null,
      "width": 584,
      "height": 584,
      "isPaidPartnership": false,
      "accessibilityCaption": "Photo by Just An Egg 🥚 on January 04, 2019.",
      "cover": "https://scontent-yyz1-1.cdninstagram.com/v/t51.82787-15/625727639_18338153224242257_3827527793310630488_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=104&ig_cache_key=MT...",
      "videoUrl": null,
      "videoVersions": [],
      "imageCandidates": [
        {
          "width": null,
          "height": null,
          "url": "https://scontent-yyz1-1.cdninstagram.com/v/t51.82787-15/625727639_18338153224242257_3827527793310630488_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=104&ig_cache_key=MT..."
        }
      ],
      "carousel": [],
      "music": null,
      "originalSound": null,
      "coauthors": [],
      "location": null
    },
    "comments": [
      {
        "nativeId": "18040953380849914",
        "avatar": "https://scontent-yyz1-1.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-post-1793954257936298000",
    "durationMs": 5950
  },
  "billing": {
    "unitPrice": 0.8,
    "ruleVersion": "social-primary-v2",
    "billedCount": 1,
    "pointCost": 0.8
  }
}

Points Usage

0.8 points per post, video or business. Included comments, replies and author details 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