LinkedIn Posts API
Send the address of a public profile or a company page and get its latest posts back as JSON, each with its text, author, publish time, reactions, comments and media.
- 100 free credits
- No card needed
- No scraper to build or maintain
curl "https://pipefetch.com/v1/linkedin/posts?page=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fapify&limit=6" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/linkedin/posts?page=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fapify&limit=6', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/linkedin/posts",
params={"page": "https://www.linkedin.com/company/apify", "limit": 6},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]What you get
- The latest posts of the page, as LinkedIn shows them to a visitor who is not logged in
- The full text of each post, with the people and companies it mentions, its links and its hashtags
- The author as an object: name, person or company, address, photo, and the headline and follower count when LinkedIn shows them
- Publish time, reaction count, comment count and the most used reaction types
- Media: the kind of content, image addresses, the cover of a video, and the address and title of a shared link
- For a repost, the page that reposted it; for a quote, the post it quotes
{
"data": {
"page": {
"type": "company",
"url": "https://www.linkedin.com/company/apify"
},
"posts": [
{
"id": "0000000000",
"url": "https://example.com/item",
"activityType": "post",
"text": "🧰 Introducing Server Actors: they let your applications and AI agents use tools from Apify Store as running HTTP services. Send requests directly thr…",
"publishedAt": "2026-11-18T13:18:32.424Z",
"author": {
"name": "Example Person",
"type": "company",
"url": "https://example.com/profile",
"username": "example_user",
"headline": null,
"followerCount": 50143,
"imageUrl": "https://example.com/avatar.jpg"
},
"repostedBy": null,
"reactionCount": 58,
"commentCount": 18,
"reactionTypes": [
"LIKE",
"PRAISE"
],
"engagementRate": 0.1516,
"mediaType": "video",
"imageUrls": [],
"videoThumbnailUrl": "https://media.licdn.com/dms/image/v2/D4D10AQFITfu70OLCZQ/videocover-high/B4DaHuzrMgJMAo-/0/1795007887564?e=2147483647&v=beta&t=hn5ek0xh6lGimp_qzPC2QPK…",
"linkUrl": null,
"linkTitle": null,
"hashtags": [],
"mentions": [],
"links": [
"http://apify.it/L087a?trk=organization_guest_main-feed-card-text"
],
"reshared": null,
"shareUrn": "0000000000"
},
{
"id": "0000000000",
"url": "https://example.com/item",
"activityType": "repost",
"text": "We scanned 165,000+ sites.\nOnly 0.2% are agent-ready.\n\nFive do it best: Fly.io, Telnyx, zenrows, rollstack, Apify.\n\nMake sure your business is ready. …",
"publishedAt": "2026-11-19T08:48:02.307Z",
"author": {
"name": "Example Person",
"type": "company",
"url": "https://example.com/profile",
"username": "example_user",
"headline": null,
"followerCount": 266,
"imageUrl": "https://example.com/avatar.jpg"
},
"repostedBy": {
"name": "Example Person",
"url": "https://example.com/profile"
},
"reactionCount": 54,
"commentCount": 1,
"reactionTypes": [
"LIKE",
"PRAISE"
],
"engagementRate": 20.6767,
"mediaType": "video",
"imageUrls": [],
"videoThumbnailUrl": "https://media.licdn.com/dms/image/v2/D4D05AQFsLV0JlshKpg/videocover-high/B4DaHv2ncvIcBI-/0/1795025435546?e=2147483647&v=beta&t=QIJ9y4Pq-JoQwoD_Levx6wT…",
"linkUrl": null,
"linkTitle": null,
"hashtags": [],
"mentions": [],
"links": [
"http://fly.io/?trk=organization_guest_main-feed-card-text"
],
"reshared": null,
"shareUrn": "0000000000"
}
]
},
"credits": {
"used": 1,
"remaining": 99
}
}One GET request
Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.
GET/v1/linkedin/posts
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
pagerequired |
string | Address of a person's public profile (https://www.linkedin.com/in/satyanadella) or of a company page (https://www.linkedin.com/company/apify), on any country subdomain. A showcase page works too. |
limitoptional |
integer | How many of the latest posts to return. LinkedIn shows a visitor who is not logged in about 10 per page, so a higher number returns what there is. Default: 10. From 1 to 10. |
Good to know
- Only what LinkedIn shows a visitor who is not logged in is read: the latest posts of the page, about 10, and nothing older. Comments and the list of people who reacted are not included.
- Reposts are included. activityType is post, quote or repost: a repost row holds the original post and its author, with the page that reposted it in repostedBy, and a quote holds the quoted post in reshared.
- publishedAt is an exact time, read from the post's id or from the page's own data. For a repost it can be the time of the repost and not of the original post.
- author.followerCount is filled only when the page shows the author's followers, and so is engagementRate: reactions plus comments as a percentage of those followers. A video post comes with its cover image, not the video file.
- A page that does not exist answers 404 page_not_found, a profile its member hides from visitors who are not logged in answers 404 profile_not_public, and a page that shows no posts answers 404 no_posts. None of them costs anything.
- LinkedIn limits how many requests one address may make. When it refuses a request, the answer is 502 upstream_error, which costs nothing and can be retried.
What people build with it
Follow what a company publishes
Read the latest posts of the companies you track, with the reactions and comments each one drew.
Prepare outreach
See what a prospect or their company posted this week before you write to them.
Keep a post archive
LinkedIn shows only the latest posts, so call the endpoint on a schedule and store the post ids you have not seen.
Content research
Compare which formats, topics and links draw reactions on the pages in your field.
Buy credits once. Use them whenever.
This endpoint costs 1 credit per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.
A request costs 1 credit. Requests that return nothing are free.
- $2.42 per 1,000 credits
- About $12.08 a month at this pace
- Lasts about 2.4 months at this pace
- Credits never expire
Questions and answers
Is this the official LinkedIn API?
No. Pipefetch is an independent service and is not affiliated with LinkedIn or Microsoft. It returns the posts a profile or a company page shows to a visitor who is not logged in, so you need no LinkedIn account, cookie or app: one Pipefetch API key is enough.
How many posts do I get?
The latest posts the page shows without a login, about 10, up to the limit you pass. Older posts are not available. To build a history, call the endpoint on a schedule and keep the post ids you have not seen.
Does it work for every profile?
No. A member can hide their profile from visitors who are not logged in: such a profile answers 404 profile_not_public and costs nothing. LinkedIn also limits how many requests one address may make. When it refuses a request, the answer is 502 upstream_error, which costs nothing and can be retried.
Are reposts included?
Yes. activityType says whether a row is the page's own post, a quote or a repost. A repost row holds the original post and its author, and repostedBy names the page that reposted it.
Can I search posts by keyword or get the comments?
No. This endpoint reads one profile or one company page. Keyword search, the comments under a post and the list of people who reacted are not included. You do get each post's reaction count and comment count.
Does the answer contain personal data?
Yes. Posts carry the names, profile addresses, headlines and photos of their authors and of the people they mention, which is personal data when it belongs to a person. If you store or process it, data-protection law such as the GDPR applies to you, and our terms forbid using the API to harass people or to build profiles of private individuals.
What does a request cost?
One request costs 1 credit. Credit packs start at $9 for 3,000 credits, never expire, and a request that returns no data is not charged. New accounts get 100 free credits without a card.
Step-by-step guides
How to get LinkedIn company data in Python
What LinkedIn's official API returns for a company and who may call it, and an HTTP API that reads the public page, with code for both.
Read the guideHow to get a LinkedIn company page's latest posts in Python
The official Posts API and whom it serves, LinkedIn's own embed for single posts, and an HTTP API for the latest posts of any public page.
Read the guide
Free tools for the same data
More LinkedIn APIs
-
1 credit
LinkedIn Company API
The public LinkedIn page of a company: industry, size, exact followers, headquarters, website, specialties and its latest posts.
GET /v1/linkedin/company -
1 credit
LinkedIn Jobs API
LinkedIn job search results for a title or keywords and a place: job title, company, location, posting date and link.
GET /v1/linkedin/jobs
Other sources
YouTubeInstagramWebsitesTikTokFacebookGoogleThreadsApp storesSteamXPinterestAirbnbReal estateKeywordsJob boardsEventbriteShopify storesPublic tenders
Make your first request in a minute
Sign in, copy your key and call an endpoint. Your account starts with 100 free credits.