LinkedIn Post Detail API
Query LinkedIn post detail. Empty results and failures are free.
POST https://api.goanyapi.com/api/v1/linkedin/post/detailRequest and input parameters
Synchronous POST JSON query. There are no Path or Query parameters and no asynchronous task.
| Parameter | Location | Type | Required | Default | Constraints and meaning |
|---|---|---|---|---|---|
| Authorization | Header | string | Yes | — | Bearer YOUR_API_KEY |
| Content-Type | Header | string | Yes | application/json | application/json |
| url | JSON body | string | Yes | — | Complete HTTPS resource URL; takes precedence over resource identifiers |
Conditional requirements (required lists mandatory fields; satisfy at least one anyOf branch, exactly one oneOf branch, and every allOf branch):
{
"required": [
"url"
]
}Request example
POST /api/v1/linkedin/post/detail
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://www.linkedin.com/posts/karin-dodis_web-data-collection-for-businesses-bright-activity-7176601589682434049-Aakz"
}Output fields
| Field path | Type | Meaning |
|---|---|---|
| code | string | ok on success; public error code otherwise |
| message | string | Request status message |
| data.result | object / null | Business result; actual null, empty and missing values are preserved |
| data.creditsUsed | integer | Actual charge; empty results and failures are free |
| data.remainingCredits | number | Account balance after settlement |
| data.result.url | string | Public resource URL |
| data.result.id | string | Record identifier |
| data.result.user_id | string | user_id: public business value; may be empty or absent |
| data.result.author | object | Public author details |
| data.result.author.name | string | Display name |
| data.result.author.image | object | image: public business value; may be empty or absent |
| data.result.author.image.url | string | Public resource URL |
| data.result.author.image.@type | string | @type: public business value; may be empty or absent |
| data.result.author.url | string | Public resource URL |
| data.result.author.@type | string | @type: public business value; may be empty or absent |
| data.result.author.interactionStatistic | object | interactionStatistic: public business value; may be empty or absent |
| data.result.author.interactionStatistic.@type | string | @type: public business value; may be empty or absent |
| data.result.author.interactionStatistic.interactionType | string | interactionType: public business value; may be empty or absent |
| data.result.author.interactionStatistic.userInteractionCount | integer | userInteractionCount: public business value; may be empty or absent |
| data.result.title | string | Title |
| data.result.post_text | string | post_text: public business value; may be empty or absent |
| data.result.date_posted | string | date_posted: public business value; may be empty or absent |
| data.result.num_likes | integer | num_likes: public business value; may be empty or absent |
| data.result.num_comments | integer | num_comments: public business value; may be empty or absent |
| data.result.top_visible_comments | array | top_visible_comments: public business value; may be empty or absent |
| data.result.top_visible_comments[].@type | string | @type: public business value; may be empty or absent |
| data.result.top_visible_comments[].datePublished | string | datePublished: public business value; may be empty or absent |
| data.result.top_visible_comments[].text | string | Text content |
| data.result.top_visible_comments[].author | object | Public author details |
| data.result.top_visible_comments[].author.@type | string | @type: public business value; may be empty or absent |
| data.result.top_visible_comments[].author.name | string | Display name |
| data.result.top_visible_comments[].interactionStatistic | object | interactionStatistic: public business value; may be empty or absent |
| data.result.top_visible_comments[].interactionStatistic.@type | string | @type: public business value; may be empty or absent |
| data.result.top_visible_comments[].interactionStatistic.interactionType | string | interactionType: public business value; may be empty or absent |
| data.result.top_visible_comments[].interactionStatistic.userInteractionCount | integer | userInteractionCount: public business value; may be empty or absent |
| data.result.images | array | images: public business value; may be empty or absent |
Real response example
Captured: 2026-11-25T10:22:13Z. Real public response excerpt; only data.creditsUsed and data.remainingCredits are omitted. Charges and balance depend on the actual request.
{
"code": "ok",
"message": "ok",
"data": {
"result": {
"url": "https://www.linkedin.com/posts/karin-dodis_web-data-collection-for-businesses-bright-activity-7176601589682434049-Aakz",
"id": "7176601589682434049",
"user_id": "karin-dodis",
"author": {
"name": "Karin Dodis",
"image": {
"url": "https://media.licdn.com/dms/image/v2/C4D03AQHQ6z9XfK01gQ/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1652722173913?e=2147483647&v=beta&t=CZeDNm7vC2NbnykEF61o5THF4z6iLYLH8SBEuiKiX-U",
"@type": "ImageObject"
},
"url": "https://il.linkedin.com/in/karin-dodis",
"@type": "Person",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "http://schema.org/FollowAction",
"userInteractionCount": 4321
}
},
"title": "Hey data enthusiasts,",
"post_text": "Hey data enthusiasts,\nBright Data has an awesome collection of free datasets waiting for you to dive into. Whether you're a seasoned analyst or just starting out, these datasets are a goldmine of potential for your projects. From Wikipedia to ESPN and beyond, there's something here for everyone. Use them to fuel your next big idea, hone your skills, and add some serious value to your resume",
"date_posted": "2024-03-21T15:32:33.770Z",
"num_likes": 12,
"num_comments": 6,
"top_visible_comments": [
{
"@type": "Comment",
"datePublished": "2025-10-02T01:07:30.330Z",
"text": "Karin Dodis These datasets sound amazing! Excited to explore and see what I can create.",
"author": {
"@type": "Person",
"name": "Ido Arieli Noga"
},
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "http://schema.org/LikeAction",
"userInteractionCount": 0
}
},
{
"@type": "Comment",
"datePublished": "2024-12-28T09:27:24.118Z",
"text": "תודה רבה לך על השיתוף.\n",
"author": {
"@type": "Person",
"name": "Adam Avnon"
},
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "http://schema.org/LikeAction",
"userInteractionCount": 0
}
},
{
"@type": "Comment",
"datePublished": "2024-06-19T14:18:08.671Z",
"text": "תודה רבה על השיתוף!\nשיתפתי את הפוסט שלך בקבוצה בווצאפ:\nhttps://chat.whatsapp.com/HWWA9nLQYhW9DH97x227hJ",
"author": {
"@type": "Person",
"name": "Daniel Davidov"
},
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "http://schema.org/LikeAction",
"userInteractionCount": 0
}
},
{
"@type": "Comment",
"datePublished": "2024-05-27T05:27:54.326Z",
"text": "תודה רבה לך על השיתוף🙂\nאני מאוד אשמח לראות אותך בקבוצה שלי:\nhttps://chat.whatsapp.com/DsQ1OBdSeGsBd6rKgnnE1L",
"author": {
"@type": "Person",
"name": "Netanel Stern"
},
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "http://schema.org/LikeAction",
"userInteractionCount": 0
}
}
],
"images": [
"https://media.licdn.com/dms/image/sync/v2/C4E27AQFZ0sMtmMfkgQ/articleshare-proxy-image-offsite-ads_627_1200/articleshare-proxy-image-offsite-ads_627_1200/0/1771943236890?e=2147483647&v=beta&t=jSGIrBh4j7dDSZFZs2fATfzBmkdVo-x2aCxDzZVJ-SI"
]
}
}
}Pagination and billing
This operation does not support cursor pagination; do not invent a next page.
…
Successful nonempty requests use the current database-configured price. Empty results and failures are free; each page is billed separately. Empty optional fields do not make a record empty. Missing fields, null, empty strings and arrays are preserved. Saved media URLs and cursors may expire; query again for current values.
Status codes
| HTTP | Meaning |
|---|---|
| 200 | Success; results may be empty |
| 400 | Invalid parameters or JSON |
| 401 | Missing or invalid authentication |
| 402 | Insufficient credits |
| 429 | Rate limit exceeded |
| 502 | The data request could not complete |
| 503 | API or pricing is not configured |