Get LinkedIn post analytics
Input
postUrl requiredThe post identity: a urn (urn:li:activity:<id>, e.g. from get_profile_posts), a /feed/update/urn:li:activity:<id>/ URL, a /posts/<slug>-<id>-<code>/ permalink, a lnkd.in shortened share link, or a bare numeric activity id. Must be a post authored by the logged-in account.
Output
urn requiredThe activity/ugcPost urn the analytics were read for (join key with get_profile_posts).
analyticsUrl requiredtopDemographics requiredDefault 'All' view: the top bucket per available category (Location, Seniority, Company size, Industry, Job title, Company). [] when demographics are unavailable for the post.
saves optionalsends optionalSends on LinkedIn (DM shares).
reposts optionalcomments optionalreactions optionallinkVisits optionalVisits to links from this post.
impressions optionalmembersReached optionalUnique members reached; read deterministically off the page's own membersReachedFeature container, not the LLM. null on older posts that predate this metric.
profileViewers optionalProfile viewers attributed to this post.
followersGained optionallinkEngagements optionalTotal link engagements; null when the post has no link.
socialEngagements optionalTotal social engagements = reactions + comments + reposts + saves + sends.
