Dataslayer
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.

runs · 30d
39
success · 30d
92.3%
runs all time
97
users · 30d
2
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"
    ]
  }'
each result row26 fields
{
  "post_url": string,
  "post_id": string,
  "post_comment_count": integer,
  "comment_id": string,
  "comment_url": string,
  "comment_text": string,
  "commented_at": string,
  "commented_at_timestamp": integer,
  "is_pinned": boolean,
  "is_edited": boolean,
  "reply_count": integer,
  "top_reply_count": integer,
  "total_reaction_count": integer,
  "like_count": integer,
  // + 12 more fields
}

Output fields

26 documented fields per record. Showing the first 26.

FieldTypeDescription
post_urlstringCanonical LinkedIn post URL supplied in the input.
post_idstring · nullableNumeric LinkedIn activity identifier kept as a string for precision safety.
post_comment_countinteger · nullableTotal root-comment count reported by the source when available.
comment_idstring · nullableNumeric LinkedIn comment identifier kept as a string for precision safety.
comment_urlstring · nullable
comment_textstring · nullable
commented_atstring · nullableISO 8601 UTC timestamp derived from commented_at_timestamp.
commented_at_timestampinteger · nullableUnix timestamp in milliseconds.
is_pinnedboolean
is_editedboolean
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_countinteger
like_countinteger
praise_countinteger
empathy_countinteger
appreciation_countinteger
interest_countinteger
other_reaction_countintegerAny non-negative reaction counters not represented by the five named fields.
commenter_idstring · nullableStable LinkedIn member or entity ID when supplied by the source.
commenter_typestring
commenter_namestring · nullable
commenter_headlinestring · nullable
commenter_linkedin_urlstring · nullable
commenter_image_urlstring · nullable
top_repliesarrayTop reply details returned with this root comment. These do not count toward max_comments_per_post.

Related scrapers

Frequently asked questions

What does LinkedIn Post Comments return?+

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. It returns 26 documented fields per record.

How much does LinkedIn Post Comments cost?+

It is priced at $1.50 per 1,000 results (lowest tier), billed through your Apify account. Failed runs are not billed as results.

What format does the data come back in?+

Typed JSON records by default. You can also download a run's dataset as CSV or Excel, or stream it into your own stack.

How reliable is this scraper?+

Over the last 30 days it ran 39 times with a 92.3% success rate.

How do I run it?+

POST a JSON body to the actor's run endpoint with your Apify token, or open it on Apify and start a run from the console.

Run LinkedIn Post Comments on Apify

One request, structured rows back. Pay per result through your Apify account.