People/Get Profile Comments
GET
/api/profile/{identifier}/commentsGet Profile Comments
Retrieve comments made by a LinkedIn profile on posts.
1 credit
Authentication required
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| identifier | string | Required | Profile username, URL, or URN |
| start | integer | Optional | Pagination offsetDefault: 0 |
| count | integer | Optional | Results per page (max 50)Default: 10 |
Response Example
{
"comments": [
{
"comment_urn": "urn:li:comment:(activity:7408723748973056001,7408723949095772161)",
"text": "I've known and admired Hannah for several years...",
"created_time": 1766377436899,
"is_edited": false,
"author": {
"name": "Bill Gates",
"headline": "Chair, Gates Foundation"
},
"parent_post": {
"activity_id": "urn:li:activity:7407555915035348992",
"content_preview": "I read a lot throughout the year..."
},
"engagement": {
"likes": 45,
"replies": 21
}
}
],
"pagination": {
"start": 0,
"count": 5,
"has_more": true
}
}Try it out
No API keys found. Create a key to use the playground.
Profile username, URL, or URN
Pagination offset
Results per page (max 50)
Code Examples
curl -X GET "https://api.heyscraper.io/api/profile/<identifier>/comments" \ -H "X-API-Key: hs_live_your_api_key"