LinkedIn Comments
Comments on any post, with replies and commenter profiles.
per event $0.004
What it does
Pulls every comment on a LinkedIn post, optionally including threaded replies. Each comment includes the commenter's profile snapshot and the reaction count, so you can turn engaged audiences into leads with full context.
Input
Request body
| Field | Type | Description | |
|---|---|---|---|
| posts | string[] | required | LinkedIn post URLs to extract comments from. |
| includeReplies | boolean | optional | Include threaded replies. Default: true. |
| maxComments | number | optional | Max comments per post. Default: unlimited. |
Output
Comment object
| Field | Type | Description | |
|---|---|---|---|
| commentId | string | required | Unique identifier for the comment. |
| text | string | required | Comment body. |
| commenter | object | required | Full profile snapshot of the commenter. |
| postedAt | ISO date | required | When the comment was posted. |
| replies | object[] | optional | Threaded replies (same shape as comments). |
| reactionCount | number | required | Number of reactions on the comment. |
Example request
curl -X POST \
"https://api.apify.com/v2/acts/QEsyXru1TiU6s7ItR/runs?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"posts": ["https://www.linkedin.com/feed/update/urn:li:activity:..."],
"includeReplies": true
}' Features
- Auto-pagination — all comments returned in one run.
- Threaded replies — nested under each parent comment.
- Full commenter profile — name, headline, company, profile URL.
- Classified errors — every error is tagged
client(your input/access) ortransient(our side or upstream), so your retry logic stays clean. - No LinkedIn account — zero account-burning risk.
Errors & limits
INVALID_INPUT— malformed post URL.POST_NOT_FOUND— post is private, deleted, or comments are disabled.RATE_LIMITED— temporary throttle; retry with backoff.
Changelog
- 1.0.x — initial release with threaded replies and full commenter profiles.
AT SCALE
Running high volumes?
Skip the marketplace tiers and get unit pricing scoped to your real call volume — direct line to the team that runs the pipeline.
Get volume pricing