Facebook Pixel
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/latest

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.

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

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
profileIdstringNoTarget LinkedIn profile public ID (e.g., "john-doe-123")
profileUrnstringNoTarget LinkedIn profile URN (e.g., "urn:li:fsd_profile:ABC123")
countnumberNoNumber of recent posts to retrieve (max 20)
includeRepostsbooleanNoWhether to include reposts/shares in results

Example

{
  "accountId": "string",
  "profileId": "string",
  "profileUrn": "string",
  "count": 1,
  "includeReposts": true
}

Responses

StatusDescription
200Posts retrieved successfully