Guides

Analytics workflow

Read cached LinkedIn analytics through the Public API: accounts, KPI summaries, performance series, and top posts.

Public analytics endpoints are read-only and return cached/imported analytics from Postiv tables. They do not force LinkedIn refreshes, so responses are fast and safe to poll.

accountId is required on every analytics endpoint: use an account id from GET /api/public/analytics/accounts (each maps to one LinkedIn profile) for per-profile numbers, or accountId=all for an explicit workspace-wide aggregate.

Example

Top posts by impressions
curl "https://postiv.ai/api/public/analytics/top-posts?accountId=all&limit=10&sort=impressions" \
  -H "Authorization: Bearer pk_postiv_..."