LinkedIn Post Scraper
Pricing
from $0.70 / 1,000 results
LinkedIn Post Scraper
Scrape public LinkedIn posts from company pages, profiles, post links, searches and keywords with no login or cookies. Full text, author, media, reactions and comments. Date and type filters, auto proxy fallback. Export JSON, CSV or Excel.
Pricing
from $0.70 / 1,000 results
Rating
1.0
(1)
Developer
Data Minds
Maintained by CommunityActor stats
0
Bookmarked
43
Total users
17
Monthly active users
11 hours ago
Last modified
Categories
Features
Share
๐ What is LinkedIn Post Scraper?
๐ Company, profile and keyword posts ยท ๐ฆ Export to JSON, CSV or Excel ยท ๐ API ready ยท ๐ค Works with AI agents
LinkedIn Post Scraper collects public LinkedIn posts from company pages, school pages, profiles, single post links, post-search links and keywords, and returns one clean row per post. Add your links or topics, press Start, and you get the text, author, reactions, comments, media, hashtags and publish date in one table. It is built for marketers, analysts and researchers who want LinkedIn post data without a login and without writing code.
- ๐ Track competitors: follow what a company posts and see which posts earn the most reactions and comments.
- ๐ Research content that works: collect posts on a topic or hashtag and study their format, length and media.
- ๐ Watch your brand: gather posts that mention your company, product or campaign name.
- ๐ค Find influencers and creators: see who writes about a subject, how many followers they have and how much engagement they get.
- ๐ Measure engagement: get LinkedIn post engagement data with total interactions and an interaction rate against the author's followers.
- ๐ค Keep it running: schedule runs and send the results to your sheet, your app or your AI agent.
โจ What can LinkedIn Post Scraper do?
- ๐งฉ Mix company pages, profiles, post links and keywords in one run, each with its own post limit.
- ๐ Reach older posts than the few that LinkedIn shows to visitors.
- ๐ฏ Filter by post type, author type, minimum reactions or comments, words, hashtags and date.
- ๐ฆ Export the results as JSON, CSV, Excel, XML or HTML, or fetch them through the API.
๐ฆ What data can LinkedIn Post Scraper extract?
Every row in the results table is one post. The fields are grouped below; the main ones are described in the Output section. The Output tab also has ready-made views for the overview, authors, engagement, media, comments and source.
| Data | Fields |
|---|---|
| ๐ Post link and IDs | urn, activityId, attributedUrn, url, shareUrl |
| ๐ Dates | postedAt, postedAtTimestamp, postedAtRelative, isEdited, _scrapedAt |
| ๐ค Author | author (type, name, url, slug, followers, imageUrl, isInfluencer) |
| ๐ Text and tags | text, hashtags, mentions, links |
| ๐งฑ Post type and reposts | postType, isRepost, repostedBy, reshared |
| ๐ฌ Media | media (videos, images, article, document) |
| ๐ Engagement | engagement (reactions, comments, topReactionTypes, total, ratePct) |
| ๐ฌ Comments | comments, commentsAvailable, commentsTruncated |
| ๐ Source and status | _source (url, type, discoveredVia), _status, _note, _parseWarnings, _schemaVersion |
| ๐งช Raw data | raw (only when Include raw data is on) |
โ Note: LinkedIn shows visitors about 10 comments per post and a total reaction count. You get everything the public page shows. Fields that LinkedIn does not show to visitors are left out instead of being guessed.
โ What can't LinkedIn Post Scraper extract?
- โ The list of people who reacted to a post. It is not available to visitors.
- โ Private posts and posts that need a login, or sit behind a connection or group wall.
- โ Impression counts. Only the owner of a post can see them.
For people and company data instead of posts, try LinkedIn People Search Scraper.
๐ How to scrape LinkedIn posts
LinkedIn Post Scraper is designed for an easy start, even if you have never extracted data from the web before.
- ๐ Create a free Apify account using your email.
- ๐ Open LinkedIn Post Scraper and go to the Input tab.
- ๐ Paste company pages, profiles, post links or post-search links into LinkedIn URLs, or type topics and hashtags into Keywords.
- ๐ฏ Set Max posts per input and, if you like, a date, post type or reaction filter.
- ๐ Click Start and wait for the run to finish.
- ๐ค Open the Output tab to view the posts as a table, or download them as JSON, CSV, Excel, XML or HTML.
๐ Quick start: a good first run is one company page with a limit of 10 posts.
{"urls": ["https://www.linkedin.com/company/amazon"],"maxItems": 10,"numComments": 5}
๐ฐ How much does it cost to scrape LinkedIn posts?
LinkedIn Post Scraper uses a pay per event model, with prices from $0.001 per result ($1.00 per 1,000 results) on the Gold plan. You pay for each post saved as a result. Rows that only report a post hidden from visitors, a deleted post or a post that could not be read are saved without a charge. Apify platform usage is billed in addition.
| Apify plan | Price per result | Price per 1,000 results |
|---|---|---|
| ๐ Free | $0.0015 | $1.50 |
| ๐ฅ Bronze | $0.0013 | $1.30 |
| ๐ฅ Silver | $0.0012 | $1.20 |
| ๐ฅ Gold | $0.001 | $1.00 |
Each run also has one start event of $0.00005, which covers the default 1 GB of memory.
โ Good to know: you pay only for posts that are saved as results. The run stops cleanly when your spend limit is reached.
What a run costs (result price only, start event not included):
| Results | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
| 100 | 100 x $0.0015 = $0.15 | 100 x $0.0013 = $0.13 | 100 x $0.0012 = $0.12 | 100 x $0.001 = $0.10 |
| 1,000 | 1,000 x $0.0015 = $1.50 | 1,000 x $0.0013 = $1.30 | 1,000 x $0.0012 = $1.20 | 1,000 x $0.001 = $1.00 |
| 10,000 | 10,000 x $0.0015 = $15.00 | 10,000 x $0.0013 = $13.00 | 10,000 x $0.0012 = $12.00 | 10,000 x $0.001 = $10.00 |
๐ฐ Is scraping LinkedIn posts free?
You can start for free. The Apify Free plan includes $5 of monthly credit. At the Free price of $0.0015 per result, $5 / $0.0015 = about 3,333 results before platform usage. Paid plans lower the price per result, as the table shows.
๐ง Input
Add the LinkedIn links or topics you want to read, then narrow the results with optional filters. Set the input in the Input tab or send it as JSON through the API. You need at least one link or one keyword.
| Field | Type | Default | What it does |
|---|---|---|---|
urls | array of strings | none | Company pages, school pages, profiles (/in/...), single post links or post-search links. One per line. |
keywords | array of strings | none | Topics or hashtags, for example generative ai or #worktrendindex. Each keyword is collected on its own. |
maxItems | integer | 10 | Maximum posts for each link and each keyword, from 1 upwards. A single post link always gives one post. |
scrapeUntil | string | none | Skip posts older than this. Use a date such as 2026-01-31 or a value like 7 days, 2 weeks, 3 months or 1 year. |
deepScrape | boolean | true | Open every post for comments, the exact publish time, the full text and related-post details. Turn off for a faster, lighter run. |
numComments | integer | 5 | Comments to collect for each post, from 0 to 100. Needs deepScrape. LinkedIn shows visitors only about 10 per post. |
fetchDocumentDetails | boolean | false | For document and carousel posts, add every page as an image plus the text of the document. |
rawData | boolean | false | Add the unprocessed post data under raw. Makes rows larger. |
discoverMorePosts | boolean | true | Also look for older posts of the same author so your maximum can be reached. Turn off for the newest posts only. |
includeGated | boolean | true | For a post link that LinkedIn hides from visitors, add a row with the link, date and a status instead of dropping it. These rows are free. |
postTypes | array | none | Keep only these kinds of posts: text, image, video, article, document, reshare or unknown. Empty keeps all. |
authorTypes | array | none | Keep only posts by person or by company. Empty keeps both. |
includeReposts | boolean | true | Turn off to drop posts that repost someone else's post. |
includeProfileActivity | boolean | false | For profile links, also collect posts the person reposted or reacted to, not only their own posts. |
minReactions | integer | none | Keep only posts with at least this many reactions. |
minComments | integer | none | Keep only posts with at least this many comments. |
mustContain | array of strings | none | Keep posts whose text contains at least one of these words or phrases. Not case sensitive. |
mustNotContain | array of strings | none | Drop posts whose text contains any of these words or phrases. |
hashtags | array of strings | none | Keep posts that use at least one of these hashtags, with or without the # sign. |
saveMedia | boolean | false | Save post images, videos and document pages in the run storage and add their links to each post. Files over 50 MB are skipped. |
maxConcurrency | integer | 4 | How many pages are loaded at the same time (1 to 32). |
requestDelaySeconds | number | 1 | Minimum pause in seconds between two requests to the same site. Raise it when pages are refused. |
maxRetries | integer | 4 | How many times a failed page is tried again (0 to 10). |
proxyConfiguration | object | {"useApifyProxy": false} | Optional network settings for the run. The defaults work for most runs. |
Minimal input:
{"urls": ["https://www.linkedin.com/company/amazon"]}
Advanced input: up to 50 recent posts per input from a company page, a profile and two topics, from the last 3 months, only video and document posts by companies with at least 100 reactions, and saved media files:
{"urls": ["https://www.linkedin.com/company/amazon", "https://www.linkedin.com/in/satyanadella"],"keywords": ["generative ai", "#worktrendindex"],"maxItems": 50,"scrapeUntil": "3 months","numComments": 10,"postTypes": ["video", "document"],"authorTypes": ["company"],"minReactions": 100,"saveMedia": true}
The limit counts per input: 3 links with maxItems 20 give up to 60 posts. Filters run on the collected posts, so use a higher maximum when you filter a lot. See the input tab for the full schema.
๐ก Tip: Start with a low
maxItemsto check the sample, then raise it for the full run.
๐ค Output
Results are stored in a dataset, which you can open in the Output or Storage tab. View them as a table or JSON, pick only the fields you need, and download them as JSON, CSV, Excel, XML or HTML. A LinkedIn posts export is one click away from the same page. The Output tab has six views: Overview, Authors, Engagement, Media, Comments and Source.
Through the API, read the rows from this URL pattern:
https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json
Add &view=overview (or authors, engagement, media, comments, source) to get one of the views. A run summary with counts and the final message is saved under the key RUN_SUMMARY in the run's key-value store, and downloaded media files are saved there too.
The main fields of each post row:
| Field | Type | Description |
|---|---|---|
url | string | Link to the post. |
activityId | string | Numeric post ID. |
urn | string | Post ID in URN form. |
postedAt | string | When the post was published (ISO 8601). |
postedAtTimestamp | integer | Publish time as epoch milliseconds. |
postedAtRelative | string | Publish time as LinkedIn shows it, for example 5h. |
isEdited | boolean | True when the post was edited. |
author | object | Who wrote the post: type, name, url, slug, followers, imageUrl, isInfluencer. |
text | string | Full text of the post. |
hashtags | array | Hashtags used in the post. |
mentions | array | People and companies mentioned. |
links | array | Links inside the post. |
postType | string | text, image, video, article, document, reshare or unknown. |
isRepost | boolean | True when the post is a repost. |
repostedBy | object or string | Who reposted it. |
reshared | object | The original post when this row is a reshare. |
media | object | Videos, images, article and document of the post. |
engagement | object | reactions, comments, topReactionTypes, total and ratePct (total interactions as a percent of the author's followers). |
comments | array | Collected comments. |
commentsAvailable | integer | Number of comments collected. |
commentsTruncated | boolean | True when more comments exist than were visible. |
raw | object | Unprocessed data, only with rawData. |
_source | object | The input the post came from: url, type and discoveredVia. |
_scrapedAt | string | When the row was collected (ISO 8601). |
_status | string | ok, gated, deleted or error. |
_note | string | Short note about the row. |
_parseWarnings | array | Fields that could not be read. |
_schemaVersion | string | Version of the output format. |
An abridged example row:
{"url": "https://www.linkedin.com/posts/amazon_big-day-for-amazon-devices-and-services-activity-7521214471340511233-VIm2","postedAt": "2026-10-28T14:21:07.374+00:00","postedAtTimestamp": 1793197267374,"author": { "type": "company", "name": "Amazon", "url": "https://www.linkedin.com/company/amazon", "followers": 37778920 },"text": "Big day for Amazon Devices and Services ...","postType": "video","hashtags": [],"engagement": { "reactions": 746, "comments": 75, "topReactionTypes": ["LIKE", "EMPATHY", "PRAISE"], "total": 821, "ratePct": 0.0022 },"comments": [ { "text": "The best memories are on the frame ...", "author": { "name": "example-user" }, "reactions": 3 } ],"commentsAvailable": 5,"commentsTruncated": true,"_status": "ok"}
Each item in comments has these fields:
| Field | Type | Description |
|---|---|---|
id | string | Comment ID. |
urn | string | Comment ID in URN form. |
parentUrn | string | ID of the comment it answers, for replies. |
text | string | Comment text. |
postedAt | string | When the comment was posted. |
postedAtRelative | string | Time as LinkedIn shows it, for example 2d. |
reactions | integer | Reactions on the comment. |
link | string | Link to the comment. |
author | object | Who wrote the comment, with name and profile link. |
fromPostAuthor | boolean | True when the post author wrote the comment. |
A post that LinkedIn hides from visitors, or that no longer exists, is saved as a short row with the link, the date taken from the post ID, and _status set to gated, deleted or error, plus a _note. These rows are not charged.
๐ก Tips and advanced usage
โก How to get faster or cheaper results
- โก Turn off Open every post for full details when you only need the list of posts with reaction counts.
- ๐ฌ Set Comments per post to 0 when you do not need comments.
- ๐
Use Only posts newer than so older posts are not collected. Pick a date such as
2026-01-31or type7 days,2 weeksor3 months. - ๐ฏ Use the post type, reaction and hashtag filters instead of collecting everything and filtering later.
๐ How to track competitor and brand posts
Run the Actor on a schedule for the company pages of your competitors and compare their LinkedIn competitor posts over time. Reactions, comments and the interaction rate show which posts work, and the hashtags and media show how they are made. Add your brand or product name as a keyword to collect LinkedIn brand mentions posts in the same table, and compare topics week by week to see what is trending.
๐ค Posts from profiles and companies
Add a profile link to scrape LinkedIn profile posts, or a company or school page to scrape LinkedIn company posts. Turn on Include profile activity to add what a person reposted or reacted to. Each row shows the author type, so you can spot LinkedIn influencer posts by looking at author.followers and author.isInfluencer.
๐ Posts by topic or hashtag
To scrape LinkedIn posts by keyword, type a topic or a hashtag into Keywords, one per line. Paste a post-search link into LinkedIn URLs to collect the results of that search. Use Hashtags (any) to keep only posts that carry a tag.
๐ฌ Comments on posts
To scrape LinkedIn post comments, keep Open every post for full details on and set Comments per post. Each comment has its text, time, reactions and author, and the Comments view shows one row per comment. The commentsTruncated field tells you when LinkedIn showed fewer comments than the post has.
๐ What is in the engagement numbers?
The follower count and the interaction rate sit in the same row: author.followers holds the follower count and engagement.ratePct shows total interactions as a percent of it. Use it to compare authors of very different size.
๐ท How to get carousel and document posts
For a LinkedIn carousel post, turn on Get document and carousel pages to add the data of every page as an image plus the text. The same option reads the pages of a LinkedIn document post.
๐ How to reach older posts
LinkedIn shows visitors only the newest posts of a company or profile. With Look for older posts on, which is the default, the Actor also looks for older posts of the same author so a higher maximum can be reached. Turn it off when you only need the newest posts and want the fastest run.
๐งฉ How to scrape many pages and topics at once
Add all your links and keywords to one run. Each input is read separately and gets its own limit, and the _source field tells you which input every post came from.
๐ฆ How to export LinkedIn posts to CSV
Open the Output tab of the finished run, choose Export, select CSV and pick the fields you need. The same menu offers JSON, Excel, XML and HTML. The Comments view exports one row per comment. For scheduled exports, use the API or an integration instead.
๐ Why did I get fewer posts than my limit?
The author may have fewer public posts, LinkedIn may show visitors only part of the history, or your filters may remove some posts. Keep Look for older posts on, raise Max posts per input when you filter a lot, and remove a filter to run a small test again. The run status message tells you how many posts were found.
๐ How to use the date filter
Use the LinkedIn post date filter Only posts newer than to keep a run small and current. A relative value such as 7 days is counted from the day of the run, which suits scheduled jobs.
โ Known issues
- โ LinkedIn shows about 10 comments per post to visitors, so Comments per post above 10 cannot return more.
- โ Some posts are hidden from visitors. For a post link you entered, the run adds a free row with the status
gated. - โ Links to LinkedIn jobs, events and feed pages are skipped with a message.
๐ Integrations and API
๐ Can I use LinkedIn Post Scraper as an API?
Yes. Start runs, read results and schedule jobs through the Apify API. Use your token from Settings > API & Integrations.
| Action | Method and URL |
|---|---|
| ๐ Start a run | POST https://api.apify.com/v2/actors/data_minds~linkedin-post-scraper/runs |
| โก Run and get the results in one call | POST https://api.apify.com/v2/actors/data_minds~linkedin-post-scraper/run-sync-get-dataset-items |
| ๐ฅ Read results of a run | GET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json |
| ๐ OpenAPI definition | GET https://api.apify.com/v2/actors/data_minds~linkedin-post-scraper/builds/default/openapi.json |
curl
curl -X POST "https://api.apify.com/v2/actors/data_minds~linkedin-post-scraper/run-sync-get-dataset-items" \-H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"urls": ["https://www.linkedin.com/company/amazon"], "maxItems": 10, "numComments": 5}'
Python
To scrape LinkedIn posts with Python, install the apify-client package and call the Actor.
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("data_minds/linkedin-post-scraper").call(run_input={"urls": ["https://www.linkedin.com/company/amazon"], "maxItems": 10})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["postedAt"], item["engagement"]["reactions"], item["text"][:80])
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('data_minds/linkedin-post-scraper').call({urls: ['https://www.linkedin.com/company/amazon'],maxItems: 10,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
CLI
$echo '{"urls": ["https://www.linkedin.com/company/amazon"], "maxItems": 10}' | apify call data_minds/linkedin-post-scraper --silent --output-dataset
The one-call endpoint suits runs that finish in about five minutes. Use the start-a-run endpoint for longer jobs. More code is on the API tab.
๐งฉ Can I connect LinkedIn Post Scraper to other apps?
Yes. Connect LinkedIn Post Scraper with Make, Zapier, n8n, Slack, Google Sheets, Google Drive, Airbyte, GitHub and more through Apify integrations. Use webhooks to send new posts to your team whenever a run finishes, and schedules to run it every day or week.
๐ค Can I use LinkedIn Post Scraper with AI agents (MCP server)?
Yes. AI agents can call it directly through the hosted Apify MCP server. The Server tab of this Actor shows the same connection settings.
{"mcpServers": {"apify": {"type": "http","url": "https://mcp.apify.com?tools=data_minds/linkedin-post-scraper"}}}
The hosted server signs you in with OAuth the first time you connect, so no API token belongs in this configuration. If your client cannot use OAuth, send the header Authorization: Bearer <YOUR_APIFY_TOKEN>.
๐ Other LinkedIn scrapers
| Scraper | What it does |
|---|---|
| ๐ LinkedIn Ads Library Scraper | Collects public LinkedIn ads by keyword, advertiser, payer, company page or Ad Library link: ad text, creative, call to action, landing page and, for EU ads, impressions, targeting and run dates. |
| ๐ LinkedIn Ads Scraper | Collects public LinkedIn ads by keyword, advertiser, payer, company page or Ad Library link: ad text, creative, call to action, landing page and, for EU ads, impressions, targeting and run dates. |
| ๐ LinkedIn People Search Scraper | Finds public LinkedIn profiles by keyword, job title, seniority, location, company and school, with seniority, function and education. |
| ๐ LinkedIn Post Details Scraper (No Cookies) | Reads public LinkedIn posts from links or IDs: text, author, reactions, comments, media, links and the original post inside a repost. |
โ FAQ
๐ก Is it legal to scrape LinkedIn posts?
Web scraping is generally legal if you extract publicly available data. However, you should respect personal data, for example under GDPR, and intellectual property regulations, only collect personal data with a legitimate reason, and take LinkedIn's User Agreement into account before you run it.
๐ง How does LinkedIn Post Scraper work?
You add LinkedIn company pages, profiles, post links, post-search links or keywords, optionally set filters and a limit per input, and press Start. The Actor reads the public posts that LinkedIn shows to visitors and returns one row per post. Rows for hidden or deleted posts carry a status instead.
๐ Do I need a LinkedIn account or cookies?
No. You give links or keywords and get rows with text, author, reactions, comments and media. There is no login field and no cookie field in the input. Because only the public view is read, posts that need a login are returned as short status rows instead of full posts.
๐ Can I use LinkedIn Post Scraper as an API?
Yes. Start a run with the Apify API, pass your links as JSON, and read the dataset items when it finishes. A one-call endpoint returns results directly for short runs, and an OpenAPI definition is available. Ready-made curl, Python, JavaScript and CLI examples are in the Integrations and API section above.
๐ค Can I use LinkedIn Post Scraper with AI agents (MCP server)?
Yes. Add the hosted Apify MCP server URL with the tools parameter set to data_minds/linkedin-post-scraper, and your AI assistant can run the Actor and read the results. The first connection signs you in with OAuth. The Server tab of the Actor shows the same connection settings.
๐งฉ Can I connect LinkedIn Post Scraper to Google Sheets, Make or Zapier?
Yes. Apify integrations connect the Actor with Google Sheets, Make, Zapier, n8n, Slack and many other tools. Schedule a run, then use a webhook or an integration to send each new batch of LinkedIn posts to your sheet, chat or workflow automatically when the run finishes.
๐ Why did I get fewer posts than my limit?
LinkedIn shows visitors only part of a page's history, and your filters may remove some posts after they are collected. Keep Look for older posts on, raise Max posts per input when you filter a lot, and check the run status message, which says how many posts each run returned.
๐ Why do the numbers differ from what LinkedIn shows?
Each row is a snapshot taken at the time of the run, shown in the _scrapedAt field. Reactions and comments keep changing. Visitors also see only about 10 comments per post, so commentsAvailable can be lower than the comment total, and commentsTruncated is then true. Open the post link to compare.
โ Why is LinkedIn Post Scraper not working for a link?
The link may not be a supported page, such as a job, event or feed link, or the post may be hidden from visitors. Check the _status and _note fields and the run status message. If the link is public and still fails, report it on the Issues tab.
๐ฌ Support and feedback
Found a bug or have a feature request? Please create an issue on the Issues tab.
Need a custom solution or more data? Contact us at hello.dataminds@gmail.com.
Built and maintained by data_minds. This Actor is an independent tool and is not affiliated with, endorsed by or sponsored by LinkedIn.