LinkedIn Post Scraper
Pricing
from $3.00 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
19 hours ago
Last modified
Categories
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
| Field | Required | Description |
|---|---|---|
| Profile URL | ✅ | LinkedIn profile URL or bare username (e.g. williamhgates) |
| LinkedIn Cookie | ✅ | Your li_at session cookie value, or full browser cookie export |
| Max Posts | — | Number of posts to scrape (default: 10, max: 200) |
| Scrape Interactors | — | Also collect likers + commenters per post (default: off) |
| Max Interactors Per Post | — | Max likers + commenters per post when enabled (default: 50, max: 600) |
How to get your LinkedIn cookie
- Log in to LinkedIn in your browser
- Open DevTools → Application (Chrome) or Storage (Firefox) → Cookies →
www.linkedin.com - Copy the value of the
li_atcookie - 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
| Value | Description |
|---|---|
text | Plain text post |
image | Post with one or more images |
video | Post with a video |
article | LinkedIn article or external article share |
document | PDF or document share |
repost | Reshared post |
Limitations
- Authentication required — a valid
li_atcookie 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.
| Actor | What it scrapes |
|---|---|
| LinkedIn Comments Scraper | All comments + reply threads on a post |
| LinkedIn Company Employees Scraper | Employee list for any company (by URN) |
| LinkedIn Company Info Scraper | Company About page (size, HQ, industry, specialties) |
| LinkedIn Company Posts Scraper | Posts published from a company page |
| LinkedIn Events Scraper | Events by keyword/URL with full event detail |
| LinkedIn Hashtag Posts Scraper | Posts ranked under a #hashtag |
| LinkedIn Jobs Scraper | Job listings via the public jobs-guest API |
| LinkedIn Jobs Scraper Ultra | Same as jobs-scraper + full detail enrichment |
| LinkedIn Learning Courses Scraper | LinkedIn Learning course catalog by keyword |
| LinkedIn People Search Scraper | People search with every LinkedIn facet (role, company, school, location, etc.) |
| LinkedIn Post Reactions Scraper | Reactors on a post (name, headline, reaction type) |
| LinkedIn Post Search Scraper | Posts matching a keyword (with date/author/network filters) |
| LinkedIn Profile Posts Scraper | All posts/reposts/articles for one profile |
| LinkedIn Profile Scraper | Public profile fields (name, headline, positions, education, skills) |
| LinkedIn Profile Scraper Pro | Profile fields + extras (recommendations, organizations, languages) |
| LinkedIn Profile Scraper Pro Ultra | Pro + premium fields (contact info, followers list when allowed) |
| LinkedIn Profile Scraper Ultra | Profile + the full upstream dash-120 surface |
| LinkedIn Profile Search by Name | Search profiles by person name (great for matching CSVs of names) |
| LinkedIn Schools Alumni Scraper | Alumni list for any LinkedIn school page |
| LinkedIn Top Content Scraper | Trending / top-engagement posts by topic |
| LinkedIn User Activity Scraper | Reactions + 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.