API · LinkedIn
GET /linkedin/posts/{post}
One public LinkedIn post with its author, reaction and comment counts and visible comments.
| Request | GET /v1/linkedin/posts/{post} |
| Operation id | linkedin.post.get |
| Cost | 5 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
One public LinkedIn post with its author, reaction and comment counts and visible comments.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
post | string | yes | The post URL (linkedin.com/posts/… or /feed/update/urn:li:activity:…), its activity id or URN. Example: 7528601878516084736. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The post. | LinkedInPost |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | LinkedIn has no such public page, or it was removed. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | LinkedIn is temporarily unavailable. Retryable; nothing was charged. | Error |
LinkedInPost fields
| Field | Type | Description |
|---|---|---|
activity_id | string | null | |
urn | string | |
url | string | null | |
published_at | string | null | |
text | string | null | |
author | object | |
reactions_count | integer | null | |
comments_count | integer | null | |
comments | object[] | The comments the public page shows (up to ~10). |
has_video | boolean | |
has_captions | boolean | |
posting | object | |
card | object |
Errors use one shape everywhere; see Errors for every code and what to do.