LinkedIn Post Scraper avatar

LinkedIn Post Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
LinkedIn Post Scraper

LinkedIn Post Scraper

Scrape posts from any LinkedIn personal profile activity feed. Get post content, engagement metrics, media, and author details.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

19 hours ago

Last modified

Share

Scrape posts from any LinkedIn personal profile activity feed. Get full post content, engagement metrics (reactions, comments, reposts), media type, author info, and optionally the list of people who liked or commented on each post.

Features

  • Post content — full text of each post
  • Engagement metrics — reactions count, comments count, reposts count
  • Author info — name, headline, profile URL
  • Media detection — identifies text, image, video, article, document, and repost types
  • Article data — title and URL for article shares
  • Post timestamps — ISO 8601 UTC publish time
  • Optional interactors — collect likers and commenters per post (name, headline, profile URL)
  • Pagination — collect up to 200 posts per run

Input

FieldRequiredDescription
Profile URLLinkedIn profile URL or bare username (e.g. williamhgates)
LinkedIn CookieYour li_at session cookie value, or full browser cookie export
Max PostsNumber of posts to scrape (default: 10, max: 200)
Scrape InteractorsAlso collect likers + commenters per post (default: off)
Max Interactors Per PostMax likers + commenters per post when enabled (default: 50, max: 600)
  1. Log in to LinkedIn in your browser
  2. Open DevTools → Application (Chrome) or Storage (Firefox) → Cookies → www.linkedin.com
  3. Copy the value of the li_at cookie
  4. Paste it into the LinkedIn Cookie field

Alternatively, export all cookies as JSON using a browser extension like EditThisCookie and paste the full JSON array.

Output

Each post is one row in the dataset:

{
"postId": "7234567890123456789",
"postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7234567890123456789/",
"authorName": "Bill Gates",
"authorProfileUrl": "https://www.linkedin.com/in/williamhgates",
"authorHeadline": "Co-chair, Bill & Melinda Gates Foundation",
"postedAt": "2025-05-23T08:13:20+00:00",
"content": "Excited to share our annual letter on AI in healthcare...",
"mediaType": "text",
"reactionsCount": 54320,
"commentsCount": 2340,
"repostsCount": 1230,
"inputUrl": "williamhgates",
"scrapedAt": "2026-06-05T10:00:00+00:00"
}

When scrapeInteractors is enabled, each post also includes:

{
"likers": [
{ "name": "Jane Doe", "headline": "Software Engineer", "profileUrl": "https://www.linkedin.com/in/janedoe" }
],
"commenters": [
{ "name": "John Smith", "headline": "CTO at Acme", "profileUrl": "https://www.linkedin.com/in/johnsmith" }
]
}

Media Types

ValueDescription
textPlain text post
imagePost with one or more images
videoPost with a video
articleLinkedIn article or external article share
documentPDF or document share
repostReshared post

Limitations

  • Authentication required — a valid li_at cookie is required. The cookie expires periodically and must be refreshed.
  • Personal profiles only — company page posts are not supported by this actor.
  • Private profiles — profiles not connected to the cookie owner and not publicly visible will return no posts.
  • Post age — LinkedIn's API typically surfaces posts from the past 12 months.
  • Impressions — only visible to the post owner; not available for third-party profiles.

FAQs

Why do I need to provide a cookie? LinkedIn requires authentication to access the activity feed API. Without a valid session, the API returns no posts.

Is my cookie safe? Your cookie is marked as a secret input and is never logged or stored beyond the run. Use Apify's secret input feature to store it securely.

How many posts can I scrape? Up to 200 posts per run. LinkedIn's API may not surface posts older than approximately 12 months regardless of this limit.

What happens if the profile is private? The actor will log a warning and produce no output. No error is raised.

Can I scrape company page posts? Not with this actor. Company page posts use a different API endpoint. Use a dedicated company posts actor for that use case.

Explore the rest of the LinkedIn suite

Need a different LinkedIn surface? Pair this actor with any of the others in the LinkedIn Suite — all published under the same publisher and built to share the same cookie format and output conventions.

ActorWhat it scrapes
LinkedIn Comments ScraperAll comments + reply threads on a post
LinkedIn Company Employees ScraperEmployee list for any company (by URN)
LinkedIn Company Info ScraperCompany About page (size, HQ, industry, specialties)
LinkedIn Company Posts ScraperPosts published from a company page
LinkedIn Events ScraperEvents by keyword/URL with full event detail
LinkedIn Hashtag Posts ScraperPosts ranked under a #hashtag
LinkedIn Jobs ScraperJob listings via the public jobs-guest API
LinkedIn Jobs Scraper UltraSame as jobs-scraper + full detail enrichment
LinkedIn Learning Courses ScraperLinkedIn Learning course catalog by keyword
LinkedIn People Search ScraperPeople search with every LinkedIn facet (role, company, school, location, etc.)
LinkedIn Post Reactions ScraperReactors on a post (name, headline, reaction type)
LinkedIn Post Search ScraperPosts matching a keyword (with date/author/network filters)
LinkedIn Profile Posts ScraperAll posts/reposts/articles for one profile
LinkedIn Profile ScraperPublic profile fields (name, headline, positions, education, skills)
LinkedIn Profile Scraper ProProfile fields + extras (recommendations, organizations, languages)
LinkedIn Profile Scraper Pro UltraPro + premium fields (contact info, followers list when allowed)
LinkedIn Profile Scraper UltraProfile + the full upstream dash-120 surface
LinkedIn Profile Search by NameSearch profiles by person name (great for matching CSVs of names)
LinkedIn Schools Alumni ScraperAlumni list for any LinkedIn school page
LinkedIn Top Content ScraperTrending / top-engagement posts by topic
LinkedIn User Activity ScraperReactions + comments + posts feed for one profile

All actors share the same cookie input format (plain li_at OR full cookies JSON array) and the same omit-empty output convention.