Threads Post API
Collect Threads post details and available author, media and comment data.
API Description
Threads Post API — Collect Threads 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. |
data.poster Fields
| Field | Type | Description |
|---|---|---|
| username | string | null | Username |
| fullName | string | null | Full name |
| avatar | string | null | Avatar URL. |
| profileUrl | string | null | Author profile URL. |
| isVerified | boolean | Is verified |
| pk | string | number | null | Pk |
data.post Fields
| Field | Type | Description |
|---|---|---|
| code | string | Status code; 0 indicates success. |
| postUrl | string | null | Post url |
| captionText | string | null | Caption text |
| hashtags | string[] | Hashtags |
| mentions | string[] | Mentions |
| media | object[] | Media |
| publishedAt | object | null | Publication time. |
| likes | number | null | Like count. |
| commentsCount | number | null | Platform-reported comment total; not the number billed. |
| repostsCount | number | null | Reposts count |
| sharesCount | number | null | Shares count |
| quotesCount | number | null | Quotes count |
| views | number | null | View count. |
| pk | string | number | null | Pk |
| isReply | boolean | Is reply |
| replyTo | string | null | Reply to |
| accessibilityCaption | string | null | Accessibility caption |
| linkPreview | object | null | Link preview |
| links | string[] | Links |
data.post.media[] Fields
| Field | Type | Description |
|---|---|---|
| type | string | Result type. |
| imageUrl | string | null | Image url |
| videoUrl | string | null | Video url |
| width | number | null | Width |
| height | number | null | Height |
| accessibilityCaption | string | null | Accessibility caption |
data.post.publishedAt Fields
| Field | Type | Description |
|---|---|---|
| text | string | null | Text value. |
| value | number | null | Parsed value. |
data.post.linkPreview Fields
| Field | Type | Description |
|---|---|---|
| url | string | null | Content URL. |
| displayUrl | string | null | Display url |
| title | string | null | Title |
| imageUrl | string | null | Image url |
data.comments[] Fields
| Field | Type | Description |
|---|---|---|
| code | string | Status code; 0 indicates success. |
| avatar | string | null | Avatar URL. |
| username | string | null | Username |
| fullName | string | null | Full name |
| profileUrl | string | null | Author profile URL. |
| content | string | null | Content text; may be null for records without text. |
| time | object | null | Publication time. |
| likes | number | null | Like count. |
| replyCount | number | Platform-reported reply count. |
| replyTo | string | null | Reply to |
| isAuthorReply | boolean | Is author reply |
| pk | string | number | null | Pk |
| commentUrl | string | null | Comment url |
| authorPk | string | number | null | Author pk |
| isVerified | boolean | Is verified |
| hashtags | string[] | Hashtags |
| mentions | string[] | Mentions |
| media | object[] | Media |
| links | string[] | Links |
data.comments[].time Fields
| Field | Type | Description |
|---|---|---|
| text | string | null | Text value. |
| value | number | null | Parsed value. |
data.comments[].media[] Fields
| Field | Type | Description |
|---|---|---|
| type | string | Result type. |
| imageUrl | string | null | Image url |
| videoUrl | string | null | Video url |
| width | number | null | Width |
| height | number | null | Height |
| accessibilityCaption | string | null | Accessibility caption |
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.

