GET /accounts/{id}/linkedin-aggregate-analytics

Personal accounts: totals (TOTAL) or a daily series (DAILY) across every post the member authored. Organization pages use /analytics/linkedin/org-aggregate-analytics

GET
/accounts/{id}/linkedin-aggregate-analytics

Authorization

BearerAuth
headerAuthorizationBearer <token>

API key sk_...

Path Parameters

id*string

LinkedIn account id

Query Parameters

aggregation?string

TOTAL (default) or DAILY

Value in"TOTAL""DAILY"
fromDate?string

Start (omit for lifetime; required for DAILY)

Formatdate
toDate?string

End, exclusive (default today)

Formatdate
startDate?string

Alias of fromDate

Formatdate
endDate?string

Alias of toDate

Formatdate
metrics?string

Comma-separated: IMPRESSION, MEMBERS_REACHED, REACTION, COMMENT, RESHARE, POST_SAVE, POST_SEND (default all)

Response Body

{accountId, platform, accountType, username, aggregation, dateRange, analytics, skippedMetrics?, note, lastUpdated}

application/json
  1. response
accountId?string
platform?"linkedin"
Value in"linkedin"
accountType?string
Value in"personal""organization"
username?string
aggregation?string
Value in"TOTAL""DAILY"
dateRange?|null
analytics?

TOTAL: impressions, reach, reactions, comments, shares, saves, sends, engagementRate. DAILY: each metric as [{date, count}] (no reach)

skippedMetrics?array<string>
note?string
lastUpdated?string
Example Request
curl -X GET 'https://example.com/api/v1/accounts/string/linkedin-aggregate-analytics'
Example Response
{  "accountId": "string",  "platform": "linkedin",  "accountType": "personal",  "username": "string",  "aggregation": "TOTAL",  "dateRange": {},  "analytics": {},  "skippedMetrics": [    "string"  ],  "note": "string",  "lastUpdated": "string"}