LinkedIn
LinkedIn posts API
Get a person’s or company’s latest public posts. Call the LinkedIn posts API and get JSON back in one request. 1 credit per call. Failed calls cost nothing.
POST
Get a person's or company's latest public posts
Returns a person’s or company’s latest public posts. The profile or company is identified by its URL or ID.
Request
Exactly one ofprofileUrl, profileId, companyUrl or companyId is required. A request that sets more than one, or none, fails with invalidRequest.
Response
If successful, the response body contains the standard envelope.data.results[] contains the latest public posts, each with its text, likes and date.
The following example is a real response, truncated: each list shows one item and long strings are cut.
For every field, see the response schema on this page.
Returns the most recent public posts that LinkedIn displays for the page, including reposts. This is typically at most 10 posts. Older posts are not available, and this method is not paginated.
Billing
Each successful request consumes 1 credit, regardless of the number of items returned. Requests that fail, or that return no items, are not billed.Pagination
This method is not paginated. A single request returns the complete result.Related methods
- LinkedIn profile: Accepts the same
profileUrlorprofileId. Returns a person’s profile. - LinkedIn company: Accepts the same
companyUrlorcompanyId. Returns a company’s profile, size and industry.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Link to the LinkedIn profile, like https://www.linkedin.com/in/satyanadella. Send this or profileId.
LinkedIn profile slug, like satyanadella. Send this or profileUrl.
Link to the LinkedIn company, like https://www.linkedin.com/company/microsoft. Send this or companyId.
LinkedIn company slug, like microsoft. Send this or companyUrl.