Get a LinkedIn post
Read one LinkedIn post: its author, text and displayed counts.
post.get · $0.01 per completed request
When to use it
Use it when your agent has a post URL and needs its full loaded text.
Request
| Field | Type | Notes |
|---|---|---|
url | string | Absolute HTTPS LinkedIn /feed/update/urn:li:activity:<digits>/ URL, using the existing canonical activity validator. |
cursor | string | Exact referenceCursor from a prepared member Posts window. This opaque local token is not pagination or a provider ID. |
reference | string | Exact non-null reference from one item in that cursor's window. Native selection resolves the source post opened by Embed, not the member's repost event. Tokens are not trimmed or decoded. |
HTTP, against the local API:
POST http://127.0.0.1:3447/v1/operations/post.get
Authorization: Bearer <local-token>
Content-Type: application/json
{
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7515399685923196928/"
}
The same request through the CLI, which adds the local token for you:
relay post https://www.linkedin.com/feed/update/urn:li:activity:7515399685923196928/
Response
The result has operation, account, data, source and completeness. See Results. Fields in data:
| Field | Type | Notes |
|---|---|---|
postUrl | string | null required | Canonical LinkedIn activity URL without tracking parameters. |
author | object | null required | |
author.name | string required | |
author.url | string required | One unambiguous named member/company URL associated with the unique recognized post-menu name in the header before the first text region. |
text | string | null required | Existing rendered text from exactly one scoped post body. |
textBlocks | array of string required | Trimmed textContent of each loaded expandable-text region, kept separately in page source order. |
reactionsText | string | null required | Displayed reaction-count label from the existing single-region boundary, not a parsed total. |
commentsText | string | null required | Displayed comment-count label from the existing single-region boundary; no comment bodies are collected. |
repostsText | string | null required | Displayed repost-count label from the existing single-region boundary, not a parsed total. |
For the exact contract, run relay schema.
Price
$0.01 per completed request. No subscription. Known failures are not charged. The $5 welcome credit covers 500 requests.
Other operations
Get a LinkedIn profile · Get a LinkedIn company · List people at a LinkedIn company · Search LinkedIn people · Search LinkedIn companies · List your LinkedIn connections · List LinkedIn invitations · List LinkedIn conversations · Read a LinkedIn conversation · Send a LinkedIn message · List LinkedIn posts by a member or company · List comments on a LinkedIn post · List reactions on a LinkedIn post · Read your LinkedIn feed · List LinkedIn notifications