Instagram Post API
Collect Instagram post details and available author, media and comment data.
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
Request Headers
| Parameters | Parameter value | Type | Description |
|---|---|---|---|
| Content-Type | application/json | string | Data format |
| Authorization | Bearer xxx | string | Authorization Token |
Collection takes up to approximately 75 seconds. Set your client timeout to 90 seconds.
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| target | Yes | string | Target 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
| Field | Type | Description |
|---|---|---|
| code | integer | Status code; 0 indicates success. |
| message | string | Response message; ok on success. |
| pointCost | number | Points charged for this request. |
| data | object | Collected data, with fields described below. |
| meta | object | Request identifier and duration in milliseconds. |
| billing | object | Charged units, unit price and billing rule version. |
data Fields
| Field | Type | Description |
|---|---|---|
| type | string | Result type. |
| poster | object | Poster |
| post | object | Post, video or business details. |
| comments | object[] | Root comments in comment mode. |
| pagination | object | Continuation cursor and whether more results are available. |
data.poster Fields
| Field | Type | Description |
|---|---|---|
| avatarCanvas | string | null | Avatar canvas |
| nickname | string | null | Author display name. |
| profileUrl | string | null | Author profile URL. |
| pk | string | number | null | Pk |
| username | string | null | Username |
| fullName | string | null | Full name |
| avatar | string | null | Avatar URL. |
| isVerified | boolean | Is verified |
| isPrivate | boolean | Is private |
data.post Fields
| Field | Type | Description |
|---|---|---|
| captionText | string | null | Caption text |
| hashtags | string[] | Hashtags |
| mentions | string[] | Mentions |
| videoSrc | null | Video src |
| publishedAt | object | null | Publication time. |
| likes | number | null | Like count. |
| commentCount | number | null | Comment count |
| shortcode | string | null | Shortcode |
| pk | string | number | null | Pk |
| url | string | Content URL. |
| typename | string | null | Typename |
| productType | string | null | Product type |
| mediaType | number | null | Media type |
| captionIsEdited | boolean | Caption is edited |
| captionCreatedAt | string | null | Caption created at |
| plays | number | null | Plays |
| views | number | null | View count. |
| likeAndViewCountsDisabled | boolean | Like and view counts disabled |
| commentsDisabled | boolean | null | Comments disabled |
| commentingDisabledForViewer | boolean | null | Commenting disabled for viewer |
| width | number | null | Width |
| height | number | null | Height |
| isPaidPartnership | boolean | Is paid partnership |
| accessibilityCaption | string | null | Accessibility caption |
| cover | string | null | Cover |
| videoUrl | string | null | Video url |
| videoVersions | object[] | Video versions |
| imageCandidates | object[] | Image candidates |
| carousel | object[] | Carousel |
| music | object | null | Music |
| originalSound | object | null | Original sound |
| coauthors | object[] | Coauthors |
| location | object | null | Location |
data.post.publishedAt Fields
| Field | Type | Description |
|---|---|---|
| text | string | null | Text value. |
| value | number | null | Parsed value. |
data.post.videoVersions[] Fields
| Field | Type | Description |
|---|---|---|
| type | number | null | Result type. |
| width | number | null | Width |
| height | number | null | Height |
| url | string | Content URL. |
data.post.imageCandidates[] Fields
| Field | Type | Description |
|---|---|---|
| width | number | null | Width |
| height | number | null | Height |
| url | string | Content URL. |
data.post.carousel[] Fields
| Field | Type | Description |
|---|---|---|
| pk | string | number | null | Pk |
| mediaType | number | null | Media type |
| width | number | null | Width |
| height | number | null | Height |
| accessibilityCaption | string | null | Accessibility caption |
| videoVersions | object[] | Video versions |
| imageCandidates | object[] | Image candidates |
data.post.music Fields
| Field | Type | Description |
|---|---|---|
| audioClusterId | string | number | null | Audio cluster id |
| title | string | null | Title |
| artist | string | null | Artist |
| coverArtUrl | string | null | Cover art url |
data.post.originalSound Fields
| Field | Type | Description |
|---|---|---|
| audioAssetId | string | number | null | Audio asset id |
| originalAudioTitle | string | null | Original audio title |
| consumptionInfo | object | null | Consumption info |
data.post.coauthors[] Fields
| Field | Type | Description |
|---|---|---|
| pk | string | number | null | Pk |
| username | string | null | Username |
data.post.location Fields
| Field | Type | Description |
|---|---|---|
| pk | string | number | null | Pk |
| name | string | null | Name |
| slug | string | null | Slug |
data.comments[] Fields
| Field | Type | Description |
|---|---|---|
| nativeId | string | Native id |
| avatar | string | null | Avatar URL. |
| nickname | string | null | Author display name. |
| time | string | null | Publication time. |
| content | string | null | Content text; may be null for records without text. |
| profileUrl | string | null | Author profile URL. |
| pk | string | number | null | Pk |
| username | string | null | Username |
| userPk | string | number | null | User pk |
| isVerified | boolean | Is verified |
| isUnpublished | boolean | Is unpublished |
| likes | number | null | Like count. |
| parentCommentId | string | number | null | Parent comment id |
| childCommentCount | number | null | Child comment count |
| hasTranslation | boolean | Has translation |
| restrictedStatus | number | null | Restricted status |
| isCovered | boolean | Is covered |
data.pagination Fields
| Field | Type | Description |
|---|---|---|
| comments | object | Root comments in comment mode. |
data.pagination.comments Fields
| Field | Type | Description |
|---|---|---|
| cursor | string | null | Continuation cursor from the previous response. Pass the value unchanged. |
| hasMore | boolean | Whether more results are available. |
Request Example
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.
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.

