LinkedIn Scraper
Comment Engagements
List replies and reactions under one LinkedIn comment, by comment URL or ID, optionally filtered to recent replies.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| inputTypestring · required | string | required | One of: Default: |
| urlstring · required if inputType is url | string | required if inputType is url | Full LinkedIn comment URL |
| commentUrnstring · required if inputType is commentUrn | string | required if inputType is commentUrn | LinkedIn comment URN Example: |
| scrapeCommentsboolean · optional | boolean | optional | Default: |
| scrapeReactionsboolean · optional | boolean | optional | Default: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"error": {
"type": "string"
},
"status": {
"type": "string"
},
"replies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique comment identifier"
},
"actor": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string",
"description": "Commenter name"
},
"author": {
"type": "boolean",
"description": "Whether commenter is the original post author"
},
"picture": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"additionalProperties": true
},
"position": {
"type": "string",
"description": "Current position"
},
"pictureUrl": {
"type": "string",
"description": "Profile picture URL"
},
"linkedinUrl": {
"type": "string",
"description": "Commenter profile URL"
}
},
"description": "Person who commented",
"additionalProperties": true
},
"edited": {
"type": "boolean",
"description": "Whether the comment was edited"
},
"pinned": {
"type": "boolean",
"description": "Whether the comment is pinned"
},
"postId": {
"type": "string",
"description": "ID of the parent post"
},
"createdAt": {
"type": "string",
"description": "ISO 8601 timestamp of creation"
},
"commentary": {
"type": "string",
"description": "Text content of the comment"
},
"contributed": {
"type": "boolean",
"description": "Whether the commenter is a contributor"
},
"linkedinUrl": {
"type": "string",
"description": "Direct URL to the comment"
},
"numComments": {
"type": "number",
"description": "Number of replies"
},
"createdAtTimestamp": {
"type": "number",
"description": "Unix timestamp in milliseconds"
},
"reactionTypeCounts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Reaction type (LIKE, EMPATHY, PRAISE, etc.)"
},
"count": {
"type": "number",
"description": "Count of this reaction type"
}
},
"additionalProperties": true
},
"description": "Reaction breakdown"
}
},
"additionalProperties": true
},
"description": "Reply comments"
},
"reactions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique reaction identifier"
},
"actor": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string",
"description": "Name of the person who reacted"
},
"picture": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"additionalProperties": true
},
"position": {
"type": "string",
"description": "Current position"
},
"pictureUrl": {
"type": "string",
"description": "Profile picture URL"
},
"linkedinUrl": {
"type": "string",
"description": "LinkedIn profile URL"
}
},
"description": "Person who reacted",
"additionalProperties": true
},
"postId": {
"type": "string",
"description": "ID of the post that was reacted to"
},
"reactionType": {
"type": "string",
"description": "Type of reaction (LIKE, CELEBRATE, etc.)"
}
},
"additionalProperties": true
},
"description": "Reactions on the comment"
}
},
"additionalProperties": true
}