Instagram Works API
Collect works published by a Instagram account or channel.
API Description
Instagram Works API — Collect works published by a Instagram account or channel.
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. |
| options | No | object | Optional collection settings, described below. |
options Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| cursor | No | string | null | Continuation 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.
Each request collects one page. Continue with the returned cursor.
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. |
| pagination | object | Continuation cursor and whether more results are available. |
| works | object[] | Collected works. |
data.pagination Fields
| Field | Type | Description |
|---|---|---|
| cursor | string | null | Continuation cursor from the previous response. Pass the value unchanged. |
| hasMore | boolean | Whether more results are available. |
data.works[] Fields
| Field | Type | Description |
|---|---|---|
| url | string | null | Content URL. |
| type | string | Result type. |
| cover | string | null | Cover |
| copywriting | string | null | Copywriting |
| likes | number | null | Like count. |
| comments | number | null | Root comments in comment mode. |
| is_pinned | boolean | Is pinned |
| published_at | number | null | Published at |
| video_view_count | number | null | Video view count |
| mediaId | string | null | Media id |
| pk | string | null | Pk |
| shortcode | string | null | Shortcode |
| dimensions | object | Dimensions |
| isVideo | boolean | Is video |
| mediaType | number | null | Media type |
| carouselMediaCount | number | null | Carousel media count |
| videoUrl | string | null | Video url |
| displayUrl | string | null | Display url |
| accessibilityCaption | string | null | Accessibility caption |
| productType | string | null | Product type |
| location | any | Location |
| commentsDisabled | boolean | null | Comments disabled |
data.works[].dimensions Fields
| Field | Type | Description |
|---|---|---|
| width | number | Width |
| height | number | Height |
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 primary result.
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.

