Platforms/LinkedIn/Profile posts

LinkedIn Profile Posts API

GET ยท 1 credit

Send a member's handle or profile link, and get their latest posts: about 8, as their Activity section shows them logged out.

GET /v1/linkedin/profiles/posts

What people use it for

  • Thought-leadership tracking: follow what an executive or creator posts about.
  • Content research: see which posts by a public voice get the most reactions.

How it works with other endpoints

Start from the same input Profile takes. Each post's id goes to Post for its full counts and media, and to Post comments.

Limits

  • About 8 posts; no next page.
  • Text, date and reactions only; Post has the rest.

Example request

const url = `${process.env.API_URL}/v1/linkedin/profiles/posts?handle=williamhgates`;

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

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

Parameters

ParameterRequiredDescription
handleNoA member's handle: the part of their profile's link after /in/ (williamhgates). Give handle or url.
urlNoA profile's link: linkedin.com/in/<handle>, with anything after it. Give handle or url.

Example response

{
  "data": [
    {
      "id": "7448000000000000001",
      "url": "https://www.linkedin.com/posts/williamhgates_activity-7448000000000000001",
      "title": null,
      "text": "Some of the books I enjoyed most this year.",
      "created_at": "2026-11-24T16:00:00Z",
      "author": "Bill Gates",
      "author_url": "https://www.linkedin.com/in/williamhgates",
      "author_followers": null,
      "likes": 52000,
      "comment_count": null,
      "image": null,
      "video_url": null,
      "video_duration": null
    }
  ],
  "page": null,
  "meta": {
    "platform": "linkedin",
    "endpoint": "profile_posts",
    "params": {
      "handle": "williamhgates"
    },
    "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

How many posts can I get?

About 8: the ones the profile's Activity section shows a logged-out visitor. There is no next page.

Why are comment_count and image empty?

The Activity list gives each post's text, date and reactions. Send a post's id to Post for its comments, image or video.

How do I read a post's comments?

Send its id or link to Post comments.

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