ApiUncategorized
Get latest posts from a profile
Retrieve the most recent posts from a LinkedIn profile. Useful for monitoring competitor content, tracking influencer activity, or finding engagement opportunities. Can include or exclude reposts/shares.
POST
/posts/latestGet latest posts from a profile
Retrieve the most recent posts from a LinkedIn profile. Useful for monitoring competitor content, tracking influencer activity, or finding engagement opportunities. Can include or exclude reposts/shares.
Authentication requiredPosts
Code Examples
curl -X POST '/linkedin/posts/latest' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"accountId":"string","profileId":"string","profileUrn":"string","count":1,"includeReposts":true}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
profileId | string | No | Target LinkedIn profile public ID (e.g., "john-doe-123") |
profileUrn | string | No | Target LinkedIn profile URN (e.g., "urn:li:fsd_profile:ABC123") |
count | number | No | Number of recent posts to retrieve (max 20) |
includeReposts | boolean | No | Whether to include reposts/shares in results |
Example
{
"accountId": "string",
"profileId": "string",
"profileUrn": "string",
"count": 1,
"includeReposts": true
}Responses
| Status | Description |
|---|---|
| 200 | Posts retrieved successfully |
