Read-only

Get Analytics

A single analytics endpoint that returns metrics by time period and dimension, covering campaigns, invitations, messages, posts, reactions, comments, profile, and content. The post, profile, and content dimensions use live sub-handlers, while aggregate dimensions like posts and campaigns serve a nightly cache that is 1 to 23 hours old. Use dimension='post' with an id for per-post metrics, or refresh to force a recompute. Returns empty slices when no data exists yet.

get_analyticsGET/api/v1/analytics/content
crispy — bash

Example prompt: Give me last week's analytics across campaigns, invitations, and messages

{
  "period": "week",
  "dimension": "all",
  "invitations": { "sent": 96, "accepted": 31 },
  "messages": { "sent": 54, "replies": 12 },
  "campaigns": { "active": 3 }
}
Permission scope
core
Access
Read-only
Category
Analytics

What you can build

Pull a full week of campaign, invitation, and message metrics in one call
Get a live per-post breakdown by passing dimension='post' and an ID
Track profile views and follower growth over the last 30 days
Power a content dashboard from a single, consistent analytics source

Parameters

Inputs accepted by get_analytics.

NameTypeDescription
period"day" | "week" | "month"Time period. 'day'=yesterday, 'week'=last 7 days, 'month'=last 30 days.
dimension"campaigns" | "invitations" | "messages" | "posts" | "reactions" | "comments" | "all" | "post" | "profile" | "content"Analytics dimension. 'post' (singular): per-post metrics, requires id. 'profile': profile views/followers. 'content': content dashboard. 'posts' (plural): aggregate daily posts stats.
idstringPost ID or URN required when dimension='post' (e.g. 'urn:li:activity:1234'). Ignored for other dimensions.
expandstring[]Reserved for future sub-slice expansion.
refreshbooleanForce recompute before returning cached data.

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.