Profile Posts
A member's latest posts, about 10.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
handle?stringThe member's name in its profile's link (williamhgates).
url?stringIts profile's link (https://www.linkedin.com/in/williamhgates), instead of handle.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.
data*array<>pagination*import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.linkedin.profilePosts({ handle: "williamhgates" });Example Response
{ "data": [ { "id": "7531543853288456193", "url": "https://www.linkedin.com/posts/williamhgates_how-ai-is-helping-kenyan-farmers-bill-gates-activity-7531543853288456193-Ku5w", "text": "In Kenya, TomorrowNow turns AI-powered weather forecasts into text messages with advice farmers can act on—in their own language, on the phones they already use. This is the kind of innovation that can help AI’s benefits reach more people.", "createdAt": "2026-11-26T02:26:23.941Z", "author": { "id": "williamhgates", "username": "williamhgates", "displayName": "Bill Gates", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-shrink_200_200/B56ZRi8g.aGsAY-/0/1736826818802?e=2147483647&v=beta&t=bKWfN6UwwtiCqFWsG7rBELbd48qJOAMLdxhBzzkJV0k", "verified": false, "url": "https://www.linkedin.com/in/williamhgates" }, "stats": { "views": null, "likes": 1139, "comments": 200, "shares": null, "saves": null, "engagementRate": null }, "media": [], "hashtags": [], "mentions": [], "ext": { "kind": "post", "title": null, "authorHeadline": null, "repostedBy": null, "urn": null, "reshared": null, "edited": false, "linkPreview": null, "captions": false, "language": null } }, { "id": "7531156249388843008", "url": "https://www.linkedin.com/posts/williamhgates_nick-kristof-is-masterful-at-getting-people-activity-7531156249388843008-vA8g", "text": "Nick Kristof is masterful at getting people to care about causes that are otherwise overlooked. This year, he’s supporting some incredible organizations through his Holiday Impact Prize.", "createdAt": "2026-11-25T00:46:11.970Z", "author": { "id": "williamhgates", "username": "williamhgates", "displayName": "Bill Gates", "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-shrink_200_200/B56ZRi8g.aGsAY-/0/1736826818802?e=2147483647&v=beta&t=bKWfN6UwwtiCqFWsG7rBELbd48qJOAMLdxhBzzkJV0k", "verified": false, "url": "https://www.linkedin.com/in/williamhgates" }, "stats": { "views": null, "likes": 444, "comments": null, "shares": null, "saves": null, "engagementRate": null }, "media": [], "hashtags": [], "mentions": [], "ext": { "kind": "post", "title": null, "authorHeadline": null, "repostedBy": null, "urn": null, "reshared": null, "edited": false, "linkPreview": null, "captions": false, "language": null } } ], "pagination": { "nextCursor": null, "hasMore": false }}