LinkedIn Post Scraper avatar

LinkedIn Post Scraper

Pricing

from $0.70 / 1,000 results

Go to Apify Store
LinkedIn Post Scraper

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

Data Minds

Maintained by Community

Actor stats

0

Bookmarked

43

Total users

17

Monthly active users

11 hours ago

Last modified

Categories

Features

Limited permissions

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.

DataFields
๐Ÿ†” Post link and IDsurn, activityId, attributedUrn, url, shareUrl
๐Ÿ“… DatespostedAt, postedAtTimestamp, postedAtRelative, isEdited, _scrapedAt
๐Ÿ‘ค Authorauthor (type, name, url, slug, followers, imageUrl, isInfluencer)
๐Ÿ“ Text and tagstext, hashtags, mentions, links
๐Ÿงฑ Post type and repostspostType, isRepost, repostedBy, reshared
๐ŸŽฌ Mediamedia (videos, images, article, document)
๐Ÿ‘ Engagementengagement (reactions, comments, topReactionTypes, total, ratePct)
๐Ÿ’ฌ Commentscomments, commentsAvailable, commentsTruncated
๐Ÿ”— Source and status_source (url, type, discoveredVia), _status, _note, _parseWarnings, _schemaVersion
๐Ÿงช Raw dataraw (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.

  1. ๐Ÿ”‘ Create a free Apify account using your email.
  2. ๐ŸŒ Open LinkedIn Post Scraper and go to the Input tab.
  3. ๐Ÿ”— Paste company pages, profiles, post links or post-search links into LinkedIn URLs, or type topics and hashtags into Keywords.
  4. ๐ŸŽฏ Set Max posts per input and, if you like, a date, post type or reaction filter.
  5. ๐Ÿš€ Click Start and wait for the run to finish.
  6. ๐Ÿ“ค 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 planPrice per resultPrice 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):

ResultsFreeBronzeSilverGold
100100 x $0.0015 = $0.15100 x $0.0013 = $0.13100 x $0.0012 = $0.12100 x $0.001 = $0.10
1,0001,000 x $0.0015 = $1.501,000 x $0.0013 = $1.301,000 x $0.0012 = $1.201,000 x $0.001 = $1.00
10,00010,000 x $0.0015 = $15.0010,000 x $0.0013 = $13.0010,000 x $0.0012 = $12.0010,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.

FieldTypeDefaultWhat it does
urlsarray of stringsnoneCompany pages, school pages, profiles (/in/...), single post links or post-search links. One per line.
keywordsarray of stringsnoneTopics or hashtags, for example generative ai or #worktrendindex. Each keyword is collected on its own.
maxItemsinteger10Maximum posts for each link and each keyword, from 1 upwards. A single post link always gives one post.
scrapeUntilstringnoneSkip 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.
deepScrapebooleantrueOpen every post for comments, the exact publish time, the full text and related-post details. Turn off for a faster, lighter run.
numCommentsinteger5Comments to collect for each post, from 0 to 100. Needs deepScrape. LinkedIn shows visitors only about 10 per post.
fetchDocumentDetailsbooleanfalseFor document and carousel posts, add every page as an image plus the text of the document.
rawDatabooleanfalseAdd the unprocessed post data under raw. Makes rows larger.
discoverMorePostsbooleantrueAlso look for older posts of the same author so your maximum can be reached. Turn off for the newest posts only.
includeGatedbooleantrueFor 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.
postTypesarraynoneKeep only these kinds of posts: text, image, video, article, document, reshare or unknown. Empty keeps all.
authorTypesarraynoneKeep only posts by person or by company. Empty keeps both.
includeRepostsbooleantrueTurn off to drop posts that repost someone else's post.
includeProfileActivitybooleanfalseFor profile links, also collect posts the person reposted or reacted to, not only their own posts.
minReactionsintegernoneKeep only posts with at least this many reactions.
minCommentsintegernoneKeep only posts with at least this many comments.
mustContainarray of stringsnoneKeep posts whose text contains at least one of these words or phrases. Not case sensitive.
mustNotContainarray of stringsnoneDrop posts whose text contains any of these words or phrases.
hashtagsarray of stringsnoneKeep posts that use at least one of these hashtags, with or without the # sign.
saveMediabooleanfalseSave post images, videos and document pages in the run storage and add their links to each post. Files over 50 MB are skipped.
maxConcurrencyinteger4How many pages are loaded at the same time (1 to 32).
requestDelaySecondsnumber1Minimum pause in seconds between two requests to the same site. Raise it when pages are refused.
maxRetriesinteger4How many times a failed page is tried again (0 to 10).
proxyConfigurationobject{"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 maxItems to 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:

FieldTypeDescription
urlstringLink to the post.
activityIdstringNumeric post ID.
urnstringPost ID in URN form.
postedAtstringWhen the post was published (ISO 8601).
postedAtTimestampintegerPublish time as epoch milliseconds.
postedAtRelativestringPublish time as LinkedIn shows it, for example 5h.
isEditedbooleanTrue when the post was edited.
authorobjectWho wrote the post: type, name, url, slug, followers, imageUrl, isInfluencer.
textstringFull text of the post.
hashtagsarrayHashtags used in the post.
mentionsarrayPeople and companies mentioned.
linksarrayLinks inside the post.
postTypestringtext, image, video, article, document, reshare or unknown.
isRepostbooleanTrue when the post is a repost.
repostedByobject or stringWho reposted it.
resharedobjectThe original post when this row is a reshare.
mediaobjectVideos, images, article and document of the post.
engagementobjectreactions, comments, topReactionTypes, total and ratePct (total interactions as a percent of the author's followers).
commentsarrayCollected comments.
commentsAvailableintegerNumber of comments collected.
commentsTruncatedbooleanTrue when more comments exist than were visible.
rawobjectUnprocessed data, only with rawData.
_sourceobjectThe input the post came from: url, type and discoveredVia.
_scrapedAtstringWhen the row was collected (ISO 8601).
_statusstringok, gated, deleted or error.
_notestringShort note about the row.
_parseWarningsarrayFields that could not be read.
_schemaVersionstringVersion 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:

FieldTypeDescription
idstringComment ID.
urnstringComment ID in URN form.
parentUrnstringID of the comment it answers, for replies.
textstringComment text.
postedAtstringWhen the comment was posted.
postedAtRelativestringTime as LinkedIn shows it, for example 2d.
reactionsintegerReactions on the comment.
linkstringLink to the comment.
authorobjectWho wrote the comment, with name and profile link.
fromPostAuthorbooleanTrue 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-31 or type 7 days, 2 weeks or 3 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.

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.

ActionMethod and URL
๐Ÿš€ Start a runPOST https://api.apify.com/v2/actors/data_minds~linkedin-post-scraper/runs
โšก Run and get the results in one callPOST https://api.apify.com/v2/actors/data_minds~linkedin-post-scraper/run-sync-get-dataset-items
๐Ÿ“ฅ Read results of a runGET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json
๐Ÿ”Œ OpenAPI definitionGET 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 ApifyClient
client = 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

ScraperWhat it does
๐Ÿ”— LinkedIn Ads Library ScraperCollects 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 ScraperCollects 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 ScraperFinds 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

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.