LinkedIn Comment replies API
List up to the 10 newest replies to a comment on a LinkedIn post - reply text, replier name/URL/job title, timestamps, and likes.
Pricing
LinkedIn Comment replies API pricing
Try it
Get LinkedIn comment replies in one request
{
"data": {
"items": [
{
"actor": {
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"linkedinUrl": "https://example.com/page",
"name": "Example title",
"position": "example",
"type": "general"
},
"commentary": "example",
"contentAnnotations": [
{
"hyperlink": "https://example.com/page",
"length": 180,
"profileFirstName": "Alex",
"profileHandle": "alex_rivera",
"profileId": "a1b2c3d4",
"profileLastName": "Rivera",
"profileUrl": "https://example.com/page",
"start": 42,
"textLink": "https://example.com/page",
"type": "general"
}
],
"createdUtc": 12.5,
"edited": true,
"engagement": {
"likes": 12500,
"reactions": [
{
"count": null,
"type": null
}
]
},
"id": "a1b2c3d4",
"postId": "a1b2c3d4",
"url": "https://example.com/page"
}
]
},
"found": true,
"reason": "not_found"
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
One request, one response shape.
Every field you send and every field you get back, each with a real example.
Last verified 2026-10-23 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- urlstring
https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510749329649725442%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510749329649725442%2Curn%3Ali%3Aactivity%3A7510715600319467520%29
LinkedIn comment URL, as returned in the url field of linkedin.post_comments or copied with "Copy link to comment" (a /feed/update/... link carrying commentUrn and dashCommentUrn). A reply's URL returns the thread it belongs to. A post URL without dashCommentUrn is refused as invalid input, with no charge.
Response
JSON, one example value per field.
The person or company that replied.
- idstring
LinkedIn identifier of the replier.
- imagestring
Profile picture URL of the replier. Populated whenever the provider has data for the entity.
- linkedinUrlstring
Canonical LinkedIn URL of the replier. Populated whenever the provider has data for the entity.
- namestring
Display name of the replier. Populated whenever the provider has data for the entity.
- positionstring
Replier's headline or job title as displayed. Populated whenever the provider has data for the entity.
- typestring
Replier kind, e.g. 'profile' or 'company'.
Up to the 10 newest replies to the comment, newest first. Populated whenever the provider has data for the entity.
- commentarystring
Full text of the reply. Populated whenever the provider has data for the entity.
- createdUtcnumber
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- editedboolean
Whether the reply has been edited.
- idstring
Unique identifier of the reply. Populated whenever the provider has data for the entity.
- postIdstring
Identifier of the post the comment belongs to (e.g. activity:7510715600319467520).
- urlstring
Canonical permalink URL of the reply. Populated whenever the provider has data for the entity.
Structured mentions and links embedded in the reply text.
- hyperlinkstring
Canonical hyperlink attached to the annotation, when present.
- lengthinteger
Length of the annotated text span.
- profileFirstNamestring
First name of a mentioned profile, when present.
- profileHandlestring
Public LinkedIn handle of a mentioned profile, when present.
- profileIdstring
LinkedIn identifier of a mentioned profile, when present.
- profileLastNamestring
Last name of a mentioned profile, when present.
- profileUrlstring
Canonical LinkedIn URL of a mentioned profile, when present.
- startinteger
Zero-based start offset of the annotation in the reply text.
- textLinkstring
Canonical text link attached to the annotation, when present.
- typestring
Kind of content annotation.
Engagement metrics for the reply.
- likesinteger
Number of reactions on the reply.
Per-reaction-type breakdown of the reactions on the reply.
- countinteger
Number of reactions of this type.
- typestring
Reaction type, e.g. LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION.
- foundboolean
Whether the comment was found with at least one reply.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
About the LinkedIn Comment replies API
The AnyAPI LinkedIn Comment replies API returns LinkedIn comment replies data as normalized JSON from one POST call to /v1/run/linkedin.comment_replies. List up to the 10 newest replies to a comment on a LinkedIn post - reply text, replier name/URL/job title, timestamps, and likes. AnyAPI returns one normalized schema whichever source serves it. It costs from $2.60 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of LinkedIn comment replies calls through AnyAPI succeeded, with a median response time of 2.4 seconds across 1 measured calls.