Read-only

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.

get_cached_post_analyticsGET/api/v1/analytics/posts/cached
crispy — bash

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
  }
]
Permission scope
core
Access
Read-only
Category
Analytics

What you can build

Rank your last 20 posts by engagement rate to find your best performers
Compare how video posts perform against text posts at a glance
Surface your top-impression content to inform your next post
Pull a fast performance snapshot without hitting per-post lookups one by one

Parameters

Inputs accepted by get_cached_post_analytics.

NameTypeDescription
limitnumberMax posts to return (1-50, default 20)
sort_by"impressions" | "reactions" | "comments" | "reposts" | "engagement_rate"Sort posts by this metric (default: impressions)
content_typestringFilter by content type: text, image, video, document, poll, article

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.