Appearance
Get LinkedIn aggregate stats
Returns aggregate analytics across all posts for a LinkedIn personal account. Only includes posts published through Zernio (LinkedIn API limitation). Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope. Saves (POST_SAVE) and sends (POST_SEND) are available for personal accounts; organization pages always return 0 for these two metrics because LinkedIn does not expose them on the organization analytics endpoint.
GET /v1/accounts/{accountId}/linkedin-aggregate-analytics
Returns aggregate analytics across all posts for a LinkedIn personal account. Only includes posts published through Zernio (LinkedIn API limitation). Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope. Saves (POST_SAVE) and sends (POST_SEND) are available for personal accounts; organization pages always return 0 for these two metrics because LinkedIn does not expose them on the organization analytics endpoint.
Parameters
accountId(path, string) required — The ID of the LinkedIn personal accountaggregation(query, string) — TOTAL (default, lifetime totals) or DAILY (time series). MEMBERS_REACHED not available with DAILY.startDate(query, string) — Start date (YYYY-MM-DD). If omitted, returns lifetime analytics.endDate(query, string) — End date (YYYY-MM-DD, exclusive). Defaults to today if omitted.metrics(query, string) — Comma-separated metrics: IMPRESSION, MEMBERS_REACHED, REACTION, COMMENT, RESHARE, POST_SAVE, POST_SEND. Omit for all.
Responses
200 — Aggregate analytics data
one of:
accountId(string)
platform(string)accountType(string)username(string)aggregation(string) (enum: TOTAL)dateRange(object)analytics(object)note(string)lastUpdated(string)accountId(string)
platform(string)accountType(string)username(string)aggregation(string) (enum: DAILY)dateRange(object)analytics(object) — Daily breakdown of each metric as date/count pairs. Reach not available with DAILY aggregation.skippedMetrics(array) — Metrics that were skipped due to API limitationsnote(string)lastUpdated(string)
400 — Invalid request
error(string)code(string)validOptions(array)
401
402 — Analytics access required. Legacy plans need the Analytics add-on; included by default on usage-based plans.
error(string)code(string)
403 — Missing required LinkedIn scope
error(string)code(string)requiredScope(string)action(string)
404 — Account not found