People/Get Profile Posts
GET
/api/profile/{identifier}/postsGet Profile Posts
Retrieve posts from a LinkedIn profile with engagement metrics.
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
{
"posts": [
{
"post_id": "urn:li:activity:7287840379064365056",
"activity_id": "7287840379064365056",
"linkedin_url": "https://www.linkedin.com/feed/update/urn:li:activity:7287840379064365056/",
"content": "I'm at the @DavosConference this week...",
"posted_ago": "3d",
"is_reshare": false,
"author": {
"name": "Bill Gates",
"headline": "Co-chair, Bill & Melinda Gates Foundation"
},
"engagement": {
"likes": 3498,
"comments": 537,
"shares": 0
}
}
],
"pagination": {
"total_results": 100,
"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>/posts" \ -H "X-API-Key: hs_live_your_api_key"