Introducing the Instagram APIRead more →

LinkedIn Post API. Send a post link or ID.

Post or article with exact reactions and comments. We handle the proxies, blocks and platform changes.

LinkedIn Post API at a glance

Returns a public LinkedIn post or Pulse article from its link, URN or activity ID, with exact reaction and comment counts and its top comments. You also get the text with hashtags and mentions, the exact publish time, the author (member or Page) with their headline and follower count, images, the native video file, a document's pages, the link card and the post a reshare quotes. An article adds its full body, cover image, last edit and the author's other articles.

GET /v1/linkedin/post

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 22 typed fields null when unknown
  • url is all it needs, e.g. https://www.linkedin.com/feed/update/urn:li:activity:7522801130767224832
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 22 fields back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://www.linkedin.com/feed/update/urn:li:activity:7522801130767224832
GET /v1/linkedin/postTry in
const params = new URLSearchParams({
  url: "https://www.linkedin.com/feed/update/urn:li:activity:7522801130767224832/",
});
const res = await fetch(`https://socialtap.dev/v1/linkedin/post?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/linkedin/postLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 21 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field LinkedIn doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    A LinkedIn post or article: a post's link as the share menu gives it (linkedin.com/posts/<author>_<slug>-activity-<id>-<code>), its feed or embed link (linkedin.com/feed/update/urn:li:activity:<id>, also urn:li:share: and urn:li:ugcPost:), an article's (linkedin.com/pulse/<slug>), on any country host, or a post's bare URN (urn:li:activity:<id>) or activity ID.

  • Write one parser

    LinkedIn, TikTok, Instagram and 18 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native post ID (string; Instagram shortcode, Reddit with its t3_ prefix).
urlstring
Canonical post URL.
typestring
Normalized content shape. New values may be added; treat unknown values as other.
platform_typestring
The platform's own product label, lowercase (reel, short, story, live, tweet, …).
titlestring
Headline (YouTube title, Reddit title); null on caption-only platforms.
textstring
Caption, description or body as plain text.
languagestring
BCP-47 language of text, when the platform states it.

What teams build with the LinkedIn Post API.

  • Track engagement on company and creator posts

  • Collect posts and articles for a brand report

  • Pull a post's top comments and their authors

  • Archive a post's text, images, video and documents

Good to know before you build.

  • like_count totals every reaction type (like, celebrate, support, love, insightful, funny), as LinkedIn counts them.
  • id is the post's activity ID whatever link you send. An article has its own ID, and its /pulse/ link, the only one that opens it, is its url.
  • A repost without commentary returns the original post (its id, author and text), with the repost's activity ID in platform_specific.linkedin.repost_activity_id.
  • A deleted post and one its author limited to their connections both return not_found: LinkedIn answers them alike.
  • view_count, share_count and repost_count are null because LinkedIn doesn't show them logged out. Images beyond the ones the page shows are counted in platform_specific.linkedin.hidden_image_count.
  • top_comments holds the comments LinkedIn shows logged out, about ten at most.
  • When the post's page is unavailable, the answer comes from its embed card, without top comments (see unknown_fields), a member author's exact follower count, or a video's title, size and length.

1 credit per request. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful requestPer 1,000 requests
Public page page1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the LinkedIn Post API.

More in the API reference.

Can I pass a share or UGC post link?
Yes. urn:li:share:<id> and urn:li:ugcPost:<id> are other numbers for the same post: the answer's id is its activity ID and platform_specific.linkedin.content_urn the URN of its content.
How much does the LinkedIn Post API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs