Skip to content
HoneyguideOpen on Apify (opens in a new tab)

LinkedIn

LinkedIn Post Comments

Extract root comments and available top replies from public LinkedIn post URLs, including commenter names, profile URLs, headlines, timestamps, reply totals, and reaction breakdowns. Batch up to 1,000 posts and export structured JSON, CSV, or Excel—no LinkedIn cookies or login required.

users, last 30 days
1
runs, last 30 days
28
runs, all time
73
users, all time
3

Live figures from Apify's public API, refreshed every hour.

LinkedIn Post Comments specifications

PlatformLinkedIn
Apify actordata-slayer/linkedin-post-comments
Pricefrom $1.50 per 1,000 results
Inputspost_urlsmax_comments_per_post
Output26 documented fields per row
Export formatsJSON, CSV, Excel, XML, HTML
LinkedIn login or cookiesNot required
IntegrationsApify REST API, JavaScript and Python clients, n8n, Make, Zapier
Last updatedSeptember 25, 2026 (version 1.0.5)

Run it from code

Replace the example input with your own. You need an Apify API token, which you can create in your Apify account settings.

POST /v2/acts/data-slayer~linkedin-post-comments/run-sync-get-dataset-items
request
curl -X POST "https://api.apify.com/v2/acts/data-slayer~linkedin-post-comments/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "post_urls": [
      "https://www.linkedin.com/feed/update/urn:li:activity:7408723748973056001"
    ],
    "max_comments_per_post": 100
  }'
each result row26 fields
{
  "post_url": string,
  "post_id": string | null,
  "post_comment_count": integer | null,
  "comment_id": string | null,
  "comment_url": string | null,
  "comment_text": string | null,
  "commented_at": string | null,
  "commented_at_timestamp": integer | null,
  "is_pinned": boolean,
  "is_edited": boolean,
  "reply_count": integer,
  "top_reply_count": integer,
  "total_reaction_count": integer,
  "like_count": integer,
  // + 12 more fields
}

Input parameters

2 parameters you can set for each run.

parametertypedescription
post_urlsrequiredarray

LinkedIn Post URLs

Required. Add 1–1,000 public LinkedIn post URLs. Supported formats include linkedin.com/posts/…-activity-…, linkedin.com/posts/…-ugcPost-…, and linkedin.com/feed/update/urn:li:activity:…. Tracking parameters are removed. Comment-specific URLs are normalized to their parent post; targeted single-comment scraping is not supported.

max_comments_per_postinteger

Maximum comments per post

Maximum number of root comments to save for each post. Reply data returned with those comments does not count toward this limit. Enter 0 to fetch all available comments, with a 100-page safety cap per post.

Output fields

Each result is one row with these 26 fields, taken from the scraper's dataset schema.

fieldtypedescription
post_urlstringCanonical LinkedIn post URL supplied in the input.
post_idstring | nullNumeric LinkedIn activity identifier kept as a string for precision safety.
post_comment_countinteger | nullTotal root-comment count reported by the source when available.
comment_idstring | nullNumeric LinkedIn comment identifier kept as a string for precision safety.
comment_urlstring | nullComment URL
comment_textstring | nullComment text
commented_atstring | nullISO 8601 UTC timestamp derived from commented_at_timestamp.
commented_at_timestampinteger | nullUnix timestamp in milliseconds.
is_pinnedbooleanPinned
is_editedbooleanEdited
reply_countintegerTotal replies reported for the root comment.
top_reply_countintegerNumber of reply objects included in top_replies; this can be lower than reply_count.
total_reaction_countintegerTotal reactions
like_countintegerLikes
praise_countintegerPraise reactions
empathy_countintegerEmpathy reactions
appreciation_countintegerAppreciation reactions
interest_countintegerInterest reactions
other_reaction_countintegerAny non-negative reaction counters not represented by the five named fields.
commenter_idstring | nullStable LinkedIn member or entity ID when supplied by the source.
commenter_typestringCommenter type
commenter_namestring | nullCommenter name
commenter_headlinestring | nullCommenter headline
commenter_linkedin_urlstring | nullCommenter LinkedIn URL
commenter_image_urlstring | nullCommenter image URL
top_repliesarrayTop reply details returned with this root comment. These do not count toward max_comments_per_post.

Pricing

Pay-per-event pricing, billed through your Apify account. Where plan tiers are listed, paid Apify plans get a lower price per event.

eventpriceper 1,000, by Apify plan
Post comment result

One unique root LinkedIn post comment written to the default dataset. Available top replies nested in that record are included.

$0.002 each
Free
$2.00
Bronze
$2.00
Silver
$2.00
Gold
$1.50
Platinum
$1.50
Diamond
$1.50

Questions

How much does LinkedIn Post Comments cost?

LinkedIn Post Comments uses pay-per-event pricing on Apify. The main charge is $0.002 per post comment result, which is $2.00 per 1,000. On higher Apify plans the price drops to $1.50 per 1,000.

Do I need to log in to LinkedIn or share cookies?

No. LinkedIn Post Comments works without your LinkedIn login or cookies. You only need an Apify account to run it.

Can I use LinkedIn Post Comments through an API?

Yes. Send a POST request to the Apify API with your input and read the results as JSON, or use Apify's official clients for JavaScript and Python. The code examples on this page are ready to copy.

What data does LinkedIn Post Comments return?

Each result is a structured row. Its dataset schema lists 26 fields, including post_url, post_id, post_comment_count, comment_id, and comment_url.

What formats can I export?

Results are stored in an Apify dataset. You can read it through the API as JSON, or download it as CSV, Excel, XML or HTML.

More LinkedIn scrapers

All LinkedIn scrapers
  • Paste a LinkedIn post URL and get the numbers behind it: likes, comments, shares, the full reaction breakdown, author details, post text and media attachments. No cookies, no login.

    runs/30d
    7,952
    users/30d
    27
    LinkedIn$4.00 / 1K results
  • LinkedIn Company Posts Scraper - extract public data cookieless.

    runs/30d
    4,869
    users/30d
    46
    LinkedIn$4.00 / 1K results
  • LinkedIn Profile Posts Scraper - extract public data cookieless.

    runs/30d
    1,095
    users/30d
    49
    LinkedIn$4.00 / 1K results
  • Paste a LinkedIn post URL and get everyone who engaged with it — commenters, reactors, reposters — deduplicated into one list with full LinkedIn profile data. No cookies, no login.

    runs/30d
    111
    users/30d
    5
    LinkedIn$6.00 / 1K results
  • Extract people and entities that reacted to public LinkedIn posts. Get reaction type, name, headline, LinkedIn URL, IDs, and timestamps in clean JSON or CSV—no cookies or LinkedIn login required.

    runs/30d
    38
    users/30d
    3
    LinkedInfrom $1.50 / 1K results
  • Extract reposts and reshares from public LinkedIn post URLs, including reposter names, profile URLs when available, headlines, repost text, timestamps, and content-author details. Batch up to 1,000 posts and export structured JSON, CSV, or Excel—no LinkedIn cookies or login required.

    runs/30d
    32
    users/30d
    2
    LinkedInfrom $1.50 / 1K results