Get Posts
Fetch posts from a LinkedIn profile with engagement metrics
Endpoint
Authentication
Include your API key in the request header:Parameters
https://www.linkedin.com/in/usernameurn:li:member:123456789
- Minimum: 1
- Maximum: 50
- Default: 10
Response
Example Request
Example Response
Errors
See Error Handling for the full list of error codes and recommended handling.400—MISSING_PARAMETER/INVALID_URN401—INVALID_API_KEY404—COMPANY_NOT_FOUND429—RATE_LIMITED/QUOTA_EXHAUSTED500—INTERNAL_ERROR503—SERVICE_UNAVAILABLE
Notes
count parameter value. Failed requests (errors) do not count against your quota.Authorizations
Query Parameters
The LinkedIn profile to fetch. Accepts a profile URN (recommended for consistency, since a profile's public identifier can change over time while the URN does not; example urn:li:fsd_profile:ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc), a public identifier/slug (also fine; example williamhgates), or a full profile URL (example https://www.linkedin.com/in/williamhgates; a trailing slash is ignored). The slug is the last path segment of a profile URL, so pass just the slug, not the /in/ prefix.
"urn:li:fsd_profile:ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc"
Number of posts to fetch (default: 10)
1 <= x <= 50Offset for pagination (default: 0)
x >= 0Token for fetching the next page of posts. Use the paginationToken from the previous response.
Response
Successfully fetched posts
Activity URN. References the post in the urn:li:activity:* namespace.
"urn:li:activity:1234567890"
Share URN. References the same post as id but in the urn:li:share:* or urn:li:ugcPost:* namespace (depends on the post type).
"urn:li:ugcPost:7123456789012345678"
"This is a LinkedIn post content..."
Number of times the post was reshared.