List comments a LinkedIn user has written
Returns the public comments a LinkedIn user has left on posts, newest first, with the post each comment belongs to. Paginate with `cursor`.
Pricing — $$ · min $0.02
Minimum 18 credits ($0.02) per call. Records returned above the minimum bill 1 credit ($0.001) each.
Authorization
bearerAuth UnifAPI API key. Provider credentials are managed by UnifAPI.
In: header
Path Parameters
LinkedIn vanity username (as in linkedin.com/in/{username}) or entity id (ACoAA…).
1 <= length <= 500Query Parameters
Opaque pagination cursor from a previous response's pagination.next_cursor. Omit for the first page.
1 <= length <= 16384Header Parameters
Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md
"2026-07-01"Value in
- "2026-07-01"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/linkedin/users/string/comments"{ "request_id": "string", "data": [ { "post": { "header": "string", "text": "string", "text_attributes": [ { "length": 0, "text": "string", "type": "string", "entity_id": "string" } ], "url": "string", "entity_id": "string", "author": { "name": "string", "headline": "string", "entity_id": "string", "id": "string", "url": "string", "profile_picture_url": "string", "type": "string" }, "posted_at": 0, "is_edited": true, "engagements": { "total_reactions": 0, "comments_count": 0, "reposts_count": 0, "reactions": [ { "reaction_type": "string", "reaction_count": 0 } ] }, "media_content": [ { "type": "string", "url": "string", "text": "string" } ], "reshared_post_content": { "header": "string", "text": "string", "text_attributes": [ { "length": 0, "text": "string", "type": "string", "entity_id": "string" } ], "url": "string", "entity_id": "string", "author": { "name": "string", "headline": "string", "entity_id": "string", "id": "string", "url": "string", "profile_picture_url": "string", "type": "string" }, "posted_at": 0, "is_edited": true, "engagements": { "total_reactions": 0, "comments_count": 0, "reposts_count": 0, "reactions": [ { "reaction_type": "string", "reaction_count": 0 } ] }, "media_content": [ { "type": "string", "url": "string", "text": "string" } ], "reshared_post_content": null, "reposted_by": { "name": "string", "headline": "string", "entity_id": "string", "id": "string", "url": "string", "profile_picture_url": "string", "type": "string" }, "reposted_at": 0 }, "reposted_by": { "name": "string", "headline": "string", "entity_id": "string", "id": "string", "url": "string", "profile_picture_url": "string", "type": "string" }, "reposted_at": 0 }, "comment": { "author": { "name": "string", "headline": "string", "entity_id": "string", "id": "string", "url": "string", "profile_picture_url": "string", "type": "string" }, "comment": "string", "created_at": 0, "permalink": "string", "is_edited": true, "engagements": { "total_reactions": 0, "comments_count": 0, "reposts_count": 0, "reactions": [ { "reaction_type": "string", "reaction_count": 0 } ] }, "replies": [ { "author": { "name": "string", "headline": "string", "entity_id": "string", "id": "string", "url": "string", "profile_picture_url": "string", "type": "string" }, "comment": "string", "created_at": 0, "permalink": "string", "is_edited": true, "engagements": { "total_reactions": 0, "comments_count": 0, "reposts_count": 0, "reactions": [ { "reaction_type": "string", "reaction_count": 0 } ] } } ] } } ], "pagination": { "has_more": true, "next_cursor": "string" }, "billing": { "credits_charged": 0, "records_charged": 0, "balance_remaining": 0, "truncated_due_to_balance": true }}