Analytics

Get LinkedIn aggregate stats

Changed on

Returns aggregate analytics across all posts for a LinkedIn personal account. Covers every post authored by the member, whether or not it was published through Zernio (LinkedIn aggregates by member, not by post). 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

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/accounts/{accountId}/linkedin-aggregate-analytics
  • Auth: HTTP bearer

Path parameters

accountIdstring required

The ID of the LinkedIn personal account

Query parameters

aggregation'TOTAL' | 'DAILY'

TOTAL (default, lifetime totals) or DAILY (time series). MEMBERS_REACHED not available with DAILY.

fromDatestring date

Start date (YYYY-MM-DD). If omitted, returns lifetime analytics.

toDatestring date

End date (YYYY-MM-DD, exclusive). Defaults to today if omitted.

startDatestring date

Alias of fromDate, kept for existing callers

endDatestring date

Alias of toDate, kept for existing callers

metricsstring

Comma-separated metrics: IMPRESSION, MEMBERS_REACHED, REACTION, COMMENT, RESHARE, POST_SAVE, POST_SEND. Omit for all.

Response

Aggregate analytics data

OR

Example response

{
  "platform": "linkedin",
  "accountType": "personal"
}

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status