Dataslayer
LinkedIn

LinkedIn Profile Comments

Extract comments written by one or more public LinkedIn profiles, with the commented-on post and engagement context.

runs · 30d
17
success · 30d
100.0%
runs all time
24
users · 30d
1
POST/v2/acts/data-slayer~linkedin-profile-comments/run-sync-get-dataset-items
request
curl -X POST "https://api.apify.com/v2/acts/data-slayer~linkedin-profile-comments/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "profile_urls": []
  }'
each result row42 fields
{
  "profile_url": string,
  "profile_identifier": string,
  "comment_text": string,
  "comment_created_at": string,
  "comment_created_at_timestamp": integer,
  "comment_url": string,
  "comment_urn": string,
  "comment_likes": integer,
  "comment_reply_count": integer,
  "comment_reactions": array,
  "commenter_id": string,
  "commenter_type": string,
  "commenter_name": string,
  "commenter_headline": string,
  // + 28 more fields
}

Output fields

42 documented fields per record. Showing the first 40.

FieldTypeDescription
profile_urlstringCanonical LinkedIn profile URL supplied in the input.
profile_identifierstringPublic identifier from the canonical profile URL.
comment_textstring · nullableText of the comment the profile wrote.
comment_created_atstring · nullableUTC timestamp of when the profile wrote the comment. This is not the commented-on post's publication time.
comment_created_at_timestampinteger · nullableUnix timestamp in milliseconds for comment_created_at.
comment_urlstring · nullableCanonical LinkedIn comment URL with tracking parameters removed.
comment_urnstring · nullableSource comment URN when supplied.
comment_likesinteger · nullableLikes reported on the comment itself.
comment_reply_countinteger · nullableReplies reported on the comment itself.
comment_reactionsarrayReaction counts reported on the comment itself.
commenter_idstring · nullableSource commenter URN or ID when supplied; never inferred from a public identifier.
commenter_typestring
commenter_namestring · nullableDisplay name of the commenting profile.
commenter_headlinestring · nullablePublic headline or occupation of the commenting profile.
commenter_linkedin_urlstring · nullableCanonical LinkedIn URL of the commenting profile.
commenter_image_urlstring · nullableCurrent source-hosted image URL; it can expire.
post_idstring · nullableNumeric LinkedIn post ID stored as a string for precision safety.
post_urnstring · nullableSource post URN, or a URN derived from an unambiguous post URL.
post_urlstring · nullableCanonical commented-on LinkedIn post URL with tracking parameters removed.
post_textstring · nullableText of the commented-on post.
post_created_atstring · nullableUTC publication timestamp of the commented-on post. This is not the comment timestamp.
post_share_urlstring · nullableSource share URL for the commented-on post when supplied.
post_author_idstring · nullableSource post-author URN or ID when supplied; never inferred from a public identifier.
post_author_identifierstring · nullable
post_author_typestring
post_author_namestring · nullable
post_author_headlinestring · nullable
post_author_linkedin_urlstring · nullable
post_author_image_urlstring · nullableCurrent source-hosted image URL; it can expire.
post_likesinteger · nullableLikes reported on the commented-on post at fetch time.
post_commentsinteger · nullableTotal comments reported on the commented-on post at fetch time.
post_sharesinteger · nullableTotal shares reported on the commented-on post at fetch time.
post_reactionsarrayAggregate reaction counts reported on the commented-on post.
post_relative_agestring · nullableSource display label such as 1d; not used for exact chronological calculations.
post_is_repostboolean · nullable
post_is_editedboolean · nullable
mentionsarrayMention objects supplied for the post, preserved without dropping source fields.
attachmentsarrayAttachment objects supplied for the post, preserved without dropping source fields.
shared_postobject · nullableShared-post context when supplied, preserved as a nested object.
input_indexintegerZero-based position of the normalized profile URL in the input.

Related scrapers

Frequently asked questions

What does LinkedIn Profile Comments return?+

Extract comments written by one or more public LinkedIn profiles, with the commented-on post and engagement context. It returns 42 documented fields per record.

How much does LinkedIn Profile Comments cost?+

It is priced at $2.00 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 17 times with a 100.0% 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 Profile Comments on Apify

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