Platforms/LinkedIn/Post

LinkedIn Post API

GET ยท 1 credit

Send a post's or article's id or link, and get its text, author, date, reactions, comments, and its image or video.

GET /v1/linkedin/posts

What people use it for

  • Campaign reporting: read a set of posts every day and chart their reactions and comments.
  • Link enrichment: turn a pasted LinkedIn post link into its text, author and image.
  • Content research: compare how posts by different authors perform, with their reach in author_followers.

How it works with other endpoints

Post ids come from Profile posts and Company posts. The same id goes to Post comments, and a video post's to Post transcript.

Limits

  • One post or article a call.
  • A deleted post answers 404 NOT_FOUND.

Example request

const url = `${process.env.API_URL}/v1/linkedin/posts?post_id=7449849039522545666`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
post_idNoA post's id: the digits after urn:li:activity: in its link, or after activity- in a /posts/ link. Give post_id or url.
urlNoA post's or article's link: linkedin.com/posts/..., /feed/update/urn:li:activity:<id> or /pulse/.... Give post_id or url.

Example response

{
  "data": {
    "id": "7449849039522545666",
    "url": "https://www.linkedin.com/posts/google_activity-7449849039522545666",
    "title": null,
    "text": "Applications are open for our 2027 apprenticeship programs.",
    "created_at": "2026-11-28T15:00:00Z",
    "author": "Google",
    "author_url": "https://www.linkedin.com/company/google",
    "author_followers": 38000000,
    "likes": 8400,
    "comment_count": 310,
    "image": "https://media.licdn.com/dms/image/company-post.jpg",
    "video_url": null,
    "video_duration": null
  },
  "page": null,
  "meta": {
    "platform": "linkedin",
    "endpoint": "post",
    "params": {
      "post_id": "7449849039522545666"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Which links does it take?

linkedin.com/posts/..., /feed/update/urn:li:activity:<id> and /pulse/... for articles, or the post's id alone.

Does it work on articles?

Yes. An article has its title, and its text is the opening lines; its id is null.

Does it give the author's followers?

Yes, in author_followers. Only this endpoint gives them.

How do I get what's said in a video post?

Send its id to Post transcript.

Works with

On other platforms

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required