Get Cached Post Analytics
Returns metrics for your recent posts, including impressions, reactions, comments, reposts, and engagement rate, sortable by any of those dimensions and filterable by content type. It serves cached data with a live fallback and returns an empty array when nothing is cached. Note that the comments count reflects LinkedIn's total including replies, so it runs higher than the top-level count from list_post_comments.
Example prompt: Show my top 10 posts from the last month sorted by engagement rate, video only
[
{
"post_id": "urn:li:activity:7012345678901234567",
"content_type": "video",
"impressions": 6120,
"reactions": 198,
"comments": 41,
"reposts": 12,
"engagement_rate": 4.1
}
]What you can build
Parameters
Inputs accepted by get_cached_post_analytics.
| Name | Type | Description |
|---|---|---|
| limit | number | Max posts to return (1-50, default 20) |
| sort_by | "impressions" | "reactions" | "comments" | "reposts" | "engagement_rate" | Sort posts by this metric (default: impressions) |
| content_type | string | Filter by content type: text, image, video, document, poll, article |
Related tools
Get Post Analytics
Pull impressions, reactions, comments, and reposts for any LinkedIn post by ID so your agent can measure reach and engagement instantly.
Get Analytics
One unified analytics endpoint for posts, profile, campaigns, invitations, messages, and more across day, week, or month periods.
Get Content Patterns
Discover what makes your LinkedIn posts perform with patterns across hook styles, post lengths, CTA impact, and posting times.
The complete LinkedIn API. Ready when you are.
Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.