LinkedIn Post Comments Mass scraper avatar

LinkedIn Post Comments Mass scraper

Pricing

from $2.99 / 1,000 results

Go to Apify Store
LinkedIn Post Comments Mass scraper

LinkedIn Post Comments Mass scraper

Extract LinkedIn post comments, scrape comments or replies to comments as well as comment social activities such as likes and reactions without compromising security or violating platform policies.

Pricing

from $2.99 / 1,000 results

Rating

0.0

(0)

Developer

ScrapeAI

ScrapeAI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Our powerful tool helps you extract LinkedIn post comments, scrape comments or replies to comments as well as comment social activities such as likes and reactions without compromising security or violating platform policies. It is very helpful for engagement analysis and outreach purposes.

Key Benefits

  • No cookies or account required: Access comments data without sharing cookies or risking account restrictions
  • Low pricing: $2 per 1k comments.
  • Fast response times: Deliver data in seconds ๐Ÿš€
  • No caching: Fresh real-time data on demand.

How It Works

(Required) List of Post URLs or post comments URL to scrape (posts):

  • When a post URL is provided, the actor will scrape all comments under the post. It will also collect up to 5 replies to comments nested inside comments. Note that the total count of results will count root comments and replies according to your input configuration.
  • When a post comment URL is provided, the actor will scrape only that specific comment with nested replies. If you enable scrapeReplies, replies will be counted as separate results.

Other Parameters (Optional):

  • maxItems: Maximum number of comments to scrape per each post. If set to 0, it will scrape all available pages per post.
  • postedLimit: Limit comments to those posted within a certain timeframe. Supported values: any, 24h, week, month, 3months, 6months, year. Default is any.
  • scrapeReplies: Whether to scrape replies to comments.
  • profileScraperMode: Set this to short for basic author info or main to enrich comment actors with main profile data (position, profile picture, etc.).

Data You'll Receive

  • Comment URL (linkedinUrl)
  • Comment text (commentary)
  • Number of replies, likes, shares, impressions (numComments, numShares, numImpressions)
  • Reaction type counts (reactionTypeCounts: like, love, insightful, etc.)
  • Actor's name (actor.name)
  • Actor's LinkedIn URL (actor.linkedinUrl)
  • Actor's position (actor.position)
  • Actor's profile picture URL (actor.pictureUrl)
  • Comment creation date (createdAt and createdAtTimestamp)
  • Post ID (postId)

โฌ‡๏ธ Input Parameters

ParameterTypeRequiredDescription
postsarrayRequiredList of LinkedIn post URLs or post comment URLs to scrape
maxItemsintegerOptionalMaximum number of comments to scrape per post (default: 10, 0 = all)
postedLimitstringOptionalTimeframe filter: any, 24h, week, month, 3months, 6months, year
scrapeRepliesbooleanOptionalWhether to scrape replies to comments
profileScraperModestringOptionalshort (basic profile info) or main (enriched detailed profile info)

Example Input JSON

{
"posts": [
"https://www.linkedin.com/posts/microsoft-events_microsoft-build-has-arrived-in-seattle-and-ugcPost-7329991434395160578-GnK7?utm_source=share&utm_medium=member_desktop&rcm=ACoAACzazy4B3ajZsA0WxWr6m4S77iItYbYCLZM",
"https://www.linkedin.com/feed/update/urn:li:activity:7320867199693246465/",
"https://www.linkedin.com/feed/update/urn:li:ugcPost:7396563121059872768?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7396563121059872768%2C7396565439390076928%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287396565439390076928%2Curn%3Ali%3AugcPost%3A7396563121059872768%29"
],
"maxItems": 10,
"profileScraperMode": "short"
}

โฌ†๏ธ Sample Output Data

{
"type": "comment",
"id": "7331190065471078400",
"linkedinUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7328838056403173380?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7328838056403173380%2C7331190065471078400%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287331190065471078400%2Curn%3Ali%3Aactivity%3A7328838056403173380%29",
"commentary": "โค๏ธ",
"createdAt": "2025-05-22T05:31:58.534Z",
"numComments": 0,
"numShares": null,
"numImpressions": null,
"reactionTypeCounts": [
{
"type": "LIKE",
"count": 1
}
],
"actor": {
"id": "ACoAAFsE9LEBl7BKtsoGeoDZz0IvKfmiGgiEtX8",
"name": "Leek Gai",
"linkedinUrl": "https://www.linkedin.com/in/leek-gai-3a94a6367",
"position": "Student at Bugema University",
"pictureUrl": "https://media.licdn.com/dms/image/v2/D4D03AQFWtueH_5zHYQ/profile-displayphoto-shrink_800_800/B4DZb4IP4IG0Ac-/0/1747919636435?e=1753315200&v=beta&t=ykKTPu2Mkc6i9uyRaHXm8yziqM3dkd18zLaRQ8dCLdg",
"picture": {
"url": "https://media.licdn.com/dms/image/v2/D4D03AQFWtueH_5zHYQ/profile-displayphoto-shrink_800_800/B4DZb4IP4IG0Ac-/0/1747919636435?e=1753315200&v=beta&t=ykKTPu2Mkc6i9uyRaHXm8yziqM3dkd18zLaRQ8dCLdg",
"width": 800,
"height": 800,
"expiresAt": 1753315200000
},
"author": false
},
"createdAtTimestamp": 1747891918534,
"pinned": false,
"contributed": false,
"edited": false,
"postId": "7328838056403173380"
}

Linkedin Post Comment API

The actor stores results in an Apify dataset. You can export data in various formats such as CSV, JSON, XLS, etc. You can scrape and access data on demand using the API.