← All operations

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

FieldTypeNotes
urlstringAbsolute HTTPS LinkedIn /feed/update/urn:li:activity:<digits>/ URL, using the existing canonical activity validator.
cursorstringExact referenceCursor from a prepared member Posts window. This opaque local token is not pagination or a provider ID.
referencestringExact 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:

FieldTypeNotes
postUrlstring | null requiredCanonical LinkedIn activity URL without tracking parameters.
authorobject | null required
author.namestring required
author.urlstring requiredOne unambiguous named member/company URL associated with the unique recognized post-menu name in the header before the first text region.
textstring | null requiredExisting rendered text from exactly one scoped post body.
textBlocksarray of string requiredTrimmed textContent of each loaded expandable-text region, kept separately in page source order.
reactionsTextstring | null requiredDisplayed reaction-count label from the existing single-region boundary, not a parsed total.
commentsTextstring | null requiredDisplayed comment-count label from the existing single-region boundary; no comment bodies are collected.
repostsTextstring | null requiredDisplayed 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.

Onboard your agent

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