LinkedIn Profile Posts & Comments Scraper (No Cookies) avatar

LinkedIn Profile Posts & Comments Scraper (No Cookies)

Pricing

from $1.00 / 1,000 post scrapeds

Go to Apify Store
LinkedIn Profile Posts & Comments Scraper (No Cookies)

LinkedIn Profile Posts & Comments Scraper (No Cookies)

Scrape a LinkedIn profile's public posts and up to 50 comments per post by default, with nested replies included free. No cookies or login. Posts and comments come back in one dataset, ready to export as JSON, CSV or Excel.

Pricing

from $1.00 / 1,000 post scrapeds

Rating

0.0

(0)

Developer

Capable Cauldron

Capable Cauldron

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

This LinkedIn profile posts and comments scraper collects a profile's posts and the comment threads under them in one run, with no cookies or login. Collect up to 50 comments per post by default, with replies included free inside each comment. Post and comment rows cost $2 per 1,000 each on the free tier; Apify's free plan includes $5 of monthly platform credit, enough for up to 2,500 combined rows before start and platform charges.

Click Try for free, paste a profile, and start. Apify handles scheduling, API access, webhooks and integrations so you can repeat the same export without building your own scraper.

See a real run in 47 seconds:

LinkedIn Profile Posts & Comments Scraper demo video, 47 seconds

▶️ Watch the 47-second demo (MP4, 22 MB, opens in your browser) · Transcript

What can this LinkedIn profile posts and comments scraper do?

  • 💬 Collect recent profile posts and their comment threads together.
  • 🧵 Keep replies nested under the right top-level comment, free of extra event charges.
  • 📊 Export author details, post text, reaction totals and reaction counts by type.
  • 📷 Preserve available image variants, video, documents, articles, polls and company mentions.
  • 🗓️ Filter posts and comments independently by age, and choose recent or relevant comments.

Each post keeps its source profile and original-post details when it is a repost. The run removes duplicate profiles and duplicate post IDs across profiles. It does not collect lists of people who reacted or reposted. Availability depends on what is publicly accessible; counts and media links can change after collection.

How to use this LinkedIn profile posts and comments scraper

  1. Click Try for free and sign in to Apify.
  2. Paste person profile URLs or usernames into LinkedIn profiles.
  3. Keep the default 10 posts and 50 comments per post for a first export, or reduce those limits to try a small sample.
  4. Choose a date window if you only need recent activity. Most recent comment order works well for monitoring.
  5. Click Start, wait for the run to finish, and open the dataset.
  6. Choose Posts or Comments, then export JSON, CSV, Excel or another available format.

Company pages, school pages and post links are not accepted as input. Private or unavailable profiles may produce no rows. A clear run summary explains which inputs could not be used.

How much does it cost to use the LinkedIn profile posts and comments scraper?

EventPrice per 1,000 delivered rows (FREE/BRONZE)
Post scraped$2.00
Top-level comment scraped$2.00
Nested replyFree

Volume discounts on paid Apify plans apply to both paid events: SILVER is $1.50 per 1,000; GOLD, PLATINUM and DIAMOND are $1.00 per 1,000. Only rows delivered are charged. There is no per-profile event fee.

For example, 10 posts with 50 comments each produce 510 billed rows and cost $1.02 in event fees at the free-tier rate. Three posts with 20 comments each cost $0.126. Ten posts with comments turned off cost $0.02. These examples exclude the automatic Apify Actor-start fee and any platform charges shown for your run. Apify's $5 monthly free plan credit covers up to 2,500 combined rows before those charges. Use the run's maximum total charge setting to cap spending.

Input

FieldDefaultDescription
profileUrlsrequiredProfile URLs or bare usernames. Company, school and post URLs are not supported. Duplicate profiles are removed.
maxPostsPerProfile10Maximum number of recent posts returned for each profile.
postedLimitanyKeep posts published within this time window.
includeRepoststrueInclude shared posts. Reposts use the original post comment thread.
scrapeCommentstrueReturn top-level comments with replies nested inside each comment. Replies are free.
maxCommentsPerPost50Maximum top-level comments returned per post. Replies stay nested and do not count toward this limit. Only delivered top-level comments are billed; a post may have fewer available comments.
commentsSortmostrecentChoose most recent or most relevant comments.
commentsPostedLimitanyKeep comments published within the selected time window.

The post limit applies per profile. The comment limit applies per post and counts only top-level comments. Replies returned with those comments stay nested even when the top-level comment limit is small. Date windows are rolling durations: month is 30 days, three months 90 days, six months 180 days and year 365 days. A date filter may return fewer rows than the limits.

{"profileUrls":["https://www.linkedin.com/in/williamhgates/"],"maxPostsPerProfile":3,"maxCommentsPerPost":50,"commentsSort":"mostRecent"}

Output

The dataset contains type: "post" and type: "comment" rows. The overview view shows posts; the comments view shows top-level comments. Nested replies are available in JSON. CSV exports can flatten the author object; JSON is best when you want complete reply threads and media variants.

This abbreviated, illustrative example shows the shape produced by the Bill Gates input above. Actual text, counts and dates depend on when you run it.

[
{"type":"post","id":"7526456102226403328","postUrl":"https://www.linkedin.com/feed/update/urn:li:activity:7526456102226403328/","text":"When your family’s food and livelihood depend on the right timing, a reliable weather forecast is invaluable.","author":{"name":"Bill Gates","username":"williamhgates"},"commentsScraped":46,"sourceProfile":"https://www.linkedin.com/in/williamhgates/"},
{"type":"comment","id":"7526799623076753408","postId":"7526456102226403328","text":"good!","author":{"name":"榎原雅良"},"replies":[],"isPinned":false,"isEdited":false}
]

Post rows include ISO publication dates and millisecond timestamps, share URLs, media, company mentions, original-author details, total reactions and each reaction type, comment and repost counts. Comment rows include permalinks, creation dates, commenter headline and profile picture, edited and pinned flags, reply counts and nested replies. commentsScraped is the number of top-level comments fetched and selected for that post. The post row is saved first. If a charge limit stops comment delivery, this count can exceed the number of saved comments; count comment rows with the matching postId for the delivered total. The OUTPUT record contains status, counts, messages and request accounting. Every delivered comment has its post row saved before it.

Use cases

Start with one of these six prefilled examples:

API and integrations

Use capable_cauldron/linkedin-profile-posts-comments-scraper with the Apify API. Keep your API token in an environment variable.

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('capable_cauldron/linkedin-profile-posts-comments-scraper').call({ profileUrls: ['williamhgates'], maxPostsPerProfile: 3 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('capable_cauldron/linkedin-profile-posts-comments-scraper').call(run_input={'profileUrls':['williamhgates'],'maxPostsPerProfile':3})
items = client.dataset(run['defaultDatasetId']).list_items().items
$apify call capable_cauldron/linkedin-profile-posts-comments-scraper --input '{"profileUrls":["williamhgates"],"maxPostsPerProfile":3}'

Connect results to Make, Zapier, n8n or your own webhook consumer. Apify schedules can run the same input regularly, and the dataset API supports retrieving results after completion.

FAQ

Do I need LinkedIn cookies or an account?

No. This Actor reads public data without LinkedIn cookies or login. You do need an Apify account to run it.

Why did I receive fewer than 50 comments?

The post may have fewer available comments, the date filter may exclude older ones, or the public source may return a shorter page. Fifty is the default maximum, not a guarantee. Reply objects do not count against that top-level limit. Public counts can include replies and inaccessible comments, so they may exceed the rows available.

Can I scrape company pages or individual post links?

This Actor accepts person profiles only. Use a dedicated post-comments Actor for a post URL. Reposts use the original comment thread when the original post ID is available.

You are responsible for evaluating applicable laws, LinkedIn's terms, privacy obligations and your intended use. Public visibility does not remove those obligations. Collect only what you need and handle personal data responsibly.

Can I scrape LinkedIn profile posts and comments with Python?

Yes. The Python API example above starts a run and downloads its dataset. Poll or wait for completion before exporting all rows. A profile that cannot be found ends successfully with a plain reason and no data event charges.

Other Actors by capable_cauldron

ActorWhat it does
App Store Reviews ScraperReviews and ratings for iPhone and iPad apps, grouped by app and country
Bulk Email ValidatorSyntax, mail-routing, disposable-domain and role-inbox checks
Company Job Postings ScraperOpen roles and hiring summaries from supported company job boards
GTM Account EnrichmentPublic company contacts, technologies and hiring signals with an account fit score
Investor Database SearchFilter investors by stage, industry and geography and export available partner contacts
LinkedIn Comment ScraperLinkedIn comments and replies using your own session cookies
LinkedIn Post Comments ScraperComments, replies and reactions on public LinkedIn posts without cookies
LinkedIn Profile Posts ScraperPublic profile posts with 56 enriched fields, including engagement and content metadata
Ad Scraper: Meta, Google, LinkedIn & TikTokCompetitor ads from Meta, Google, LinkedIn and TikTok in one dataset
TikTok Shop USA ScraperUS product, shop, creator and shoppable-video data from TikTok Shop
Website Contact ScraperPublic emails, phone numbers and social profile links from company websites
Website Tech Stack DetectorVisible website technologies and the evidence supporting each detection
Verified Work Email FinderVerified professional emails from LinkedIn URLs or a name and company domain
LinkedIn Post Search ScraperKeyword searches for public LinkedIn posts with text, authors and engagement

Support

Open an issue on the Actor's Issues tab with the run ID and a short description. Please keep credentials out of issue reports. We aim to respond within two business days and also take custom scraping and integration work.