List posts
Returns all LinkedIn posts for a profile with scraped lead counts (reactions, comments, reshares). Supports pagination and filtering by date range. Requires leads scraping to be enabled for the profile.
GET
/linkedin/leads/{profileId}/postsAuthorization
AuthorizationBearer token · headerrequiredAPI key authentication. Generate an API key from your workspace settings.
Path parameters
profileIdstring<uuid>requiredLinkedIn profile ID (UUID)
Query parameters
startDatestring<date-time>Filter posts published on or after this date
endDatestring<date-time>Filter posts published on or before this date
limitintegerMaximum number of posts to return (1-100)
min 1 · max 100 · default: 20
cursorstringPagination cursor from previous response
Responses
200
List of LinkedIn posts with lead counts
postsLinkedInLeadPost[]Show propertiesHide properties
Array of
LinkedInLeadPostidstring<uuid>urlstring<uri>LinkedIn post URL
commentarystring | nullPost text content
publishedAtstring<date-time> | nulllikeCountinteger | nullcommentCountinteger | nullshareCountinteger | nullscrapedLeadsCountobjectShow propertiesHide properties
reactionsintegercommentsintegerresharesintegernextCursorstring | nullCursor for fetching the next page
hasMorebooleanWhether more posts are available
401
Unauthorized - Missing or invalid API key
codestringmessagestring403
Forbidden - Insufficient permissions
codestringmessagestring404
Not Found - Resource does not exist
codestringmessagestring