LinkedIn Post API
The LinkedIn Post API retrieves detailed data for a single LinkedIn post, including engagement metrics, full post text, any attached media, and author information.
Endpoint
https://api.socialkit.dev/linkedin/postExample Request
GET https://api.socialkit.dev/linkedin/post?access_key=<your-access-key>&url=https://www.linkedin.com/posts/jeffweiner08_leadership-activity-7209876543210123456-AbCdResponse
{
"success": true,
"data": {
"url": "https://www.linkedin.com/posts/jeffweiner08_leadership-activity-7209876543210123456-AbCd",
"post": {
"id": "7209876543210123456",
"text": "Compassionate management isn't about being soft — it's about understanding what motivates people and helping them reach their potential. The most effective leaders I've worked with combine high expectations with genuine empathy.",
"likes": 9800,
"comments": 640,
"shares": 1200,
"imageUrl": "https://media.licdn.com/dms/image/D4E22AQF_example/feedshare-shrink_1280/0/1719000000000",
"videoUrl": null,
"publishedAt": "2026-06-18T11:00:00.000Z",
"author": {
"name": "Jeff Weiner",
"url": "https://www.linkedin.com/in/jeffweiner08/"
}
}
}
}Parameters
url string Required
The full URL of the LinkedIn post (e.g. https://www.linkedin.com/posts/jeffweiner08_leadership-activity-7209876543210123456-AbCd).
access_key string Required
Your API access key. Can be provided via the access_key query parameter, x-access-key header, or request body.
cache boolean Optional Defaults to false
Cache the response for faster subsequent requests.
cache_ttl number Optional Defaults to 2592000
Cache the response for a custom TTL (in seconds). Maximum 2592000 seconds (1 month), minimum 3600 seconds (1 hour).
Response Fields
The API returns the following data fields:
url: The original LinkedIn post URL providedpost: Object containing the full post dataid: Unique post ID stringtext: The full text content of the postlikes: Total like/reaction count (number)comments: Total comment count (number)shares: Total share/repost count (number)imageUrl: URL to the post’s primary image, ornullif no image is attachedvideoUrl: URL to an attached video, ornullif no video is presentpublishedAt: ISO 8601 timestamp of when the post was publishedauthor: Object containingnameandurlof the post author
Use Cases
- Engagement Snapshots: Capture real-time metrics for a specific LinkedIn post
- Content Research: Analyze the format and messaging of high-performing posts
- Social Proof: Display live like and comment counts for embeds or case studies
- Press Monitoring: Extract structured data from posts cited in articles or reports
- Viral Content Analysis: Study posts that gain outsized reach for content strategy insights
- Attribution: Verify author and publication date before quoting or republishing
- Alert Pipelines: Trigger workflows when a tracked post surpasses engagement thresholds
Notes
- Only publicly visible posts are supported; private or restricted posts will return an error
- Engagement metrics are retrieved in real-time and may change between requests
imageUrlisnullfor text-only posts;videoUrlisnullfor non-video posts- Both personal member posts and company page posts are supported