Skip to main content
Return likes, comments, reach, and engagement rate per platform and workspace-wide totals. This endpoint reads only from the Postsiva database — it does not call LinkedIn, Meta, or other external APIs on each request.

Base URL & auth

Requires an Analytics plan feature (REQUIRE_ANALYTICS). Blocked workspaces receive a plan upgrade message. See Authentication.

GET /unified/analytics

Query parameters

Omit platforms to aggregate all supported networks the workspace has connected (OAuth batch + Threads from workspace DB). Disconnected platforms appear with zero counts and an explanatory message.

Example — LinkedIn org + Facebook pages only

Response structure

Per-platform slice (platforms.linkedin, etc.)

Workspace totals (totals)

Cross-platform sums for the filtered set, typically:

Example response

DB-only vs live refresh

Analytics numbers reflect what Postsiva has stored from prior syncs and post activity. For the freshest per-post breakdown, use Posts with refresh_stats=true, then rely on analytics for rollups.

Engagement rate formula

Most platforms:
Capped at 1.0. When total_reach is 0, rate is 0. Pinterest uses platform-specific save/click semantics — see the slice message.

MCP equivalent

Same parameters: optional platforms, Facebook page ids, LinkedIn org ids. Connect at https://mcp.postsiva.com/mcpMCP tools.
  • Posts — list posts and optionally refresh stats from platforms
  • Comments — unified inbox on recent posts
  • Authentication — plan gates for analytics