LinkedIn Post Scraper - Text, Reactions, Comments avatar

LinkedIn Post Scraper - Text, Reactions, Comments

Pricing

$5.00 / 1,000 linkedin post scrapeds

Go to Apify Store
LinkedIn Post Scraper - Text, Reactions, Comments

LinkedIn Post Scraper - Text, Reactions, Comments

Scrape public LinkedIn posts by URL or profile: full text, reactions, comment count, top comments, author and follower count. No login or cookie required.

Pricing

$5.00 / 1,000 linkedin post scrapeds

Rating

0.0

(0)

Developer

Gio

Gio

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

5

Monthly active users

7 days ago

Last modified

Share

Scrape public LinkedIn posts and get clean, structured data: the full post text, reaction count, comment count, top comments, the author's name, profile URL, and follower count. No LinkedIn login or cookie required.

Works two ways: paste specific post URLs, or give a profile URL and the actor discovers and scrapes that person's recent public posts.

Why this actor

Many LinkedIn post scrapers break whenever LinkedIn rewrites its page layout, because they read the visible timeline HTML. This actor reads LinkedIn's structured SocialMediaPosting data, which is served for SEO and stays stable across layout changes. That makes it far more resilient.

Input

FieldTypeDescription
modeString (required)posts to scrape specific post URLs, or profile to scrape a profile's recent posts.
postUrlsArrayPost URLs (mode = posts). Example: https://www.linkedin.com/posts/USERNAME_slug-activity-1234567890-abcd
profileUrlsArrayProfile URLs (mode = profile). Example: https://www.linkedin.com/in/username/
maxPostsIntegerIn profile mode, recent posts to scrape per profile. Default 20.
maxCommentsIntegerTop comments to include per post. Default 10. Set 0 to skip.
maxRetriesIntegerRetries per request. Default 3.

Example input (post URLs)

{
"mode": "posts",
"postUrls": [
"https://www.linkedin.com/posts/williamhgates_the-road-ahead-reaches-a-turning-point-in-activity-7142740845631365120-Mx61"
],
"maxComments": 10
}

Example input (profile)

{
"mode": "profile",
"profileUrls": ["https://www.linkedin.com/in/williamhgates/"],
"maxPosts": 20
}

Output

Each post is one dataset record:

{
"url": "https://www.linkedin.com/posts/williamhgates_...-activity-7142740845631365120-Mx61",
"postId": "7142740845631365120",
"headline": "The road ahead reaches a turning point in 2024",
"text": "As 2023 comes to a close, I find myself thinking more than ever about...",
"datePublished": "2023-12-19T05:02:03.268Z",
"authorName": "Bill Gates",
"authorUrl": "https://www.linkedin.com/in/williamhgates",
"authorFollowers": 40385125,
"reactions": 4447,
"commentCount": 368,
"shares": null,
"postImage": "https://media.licdn.com/dms/image/...",
"comments": [
{ "text": "Great read.", "authorName": "Jane Doe", "datePublished": "2023-12-19T05:31:28.875Z", "likes": 9 }
],
"scrapedAt": "2026-06-04T12:00:00.000Z"
}

How to get a post URL

Open any LinkedIn post, click the three dots in the top-right of the post, and choose Copy link to post. Paste that into postUrls.

Pricing

Pay per result. You are charged for each post record returned.

Free Apify users

Free users receive one mock sample record so they can preview the output shape. Real scraping requires a paid Apify plan, because the actor uses a paid unblocking proxy upstream.

Notes and limits

  • Only public posts are accessible. Private posts, or posts from accounts that hide activity, cannot be scraped.
  • Comment extraction returns the top comments LinkedIn renders publicly (typically up to 10), not the entire comment thread.
  • This actor does not require, ask for, or store your LinkedIn credentials.

If this actor helped you, please leave a review on the Apify Store.