Skip to content

Get daily aggregated metrics

Returns daily aggregated analytics metrics and a per-platform breakdown. Each day includes post count, platform distribution, and summed metrics (impressions, reach, likes, comments, shares, saves, clicks, views). Defaults to the last 180 days. Requires the Analytics add-on.

GET /v1/analytics/daily-metrics

Returns daily aggregated analytics metrics and a per-platform breakdown. Each day includes post count, platform distribution, and summed metrics (impressions, reach, likes, comments, shares, saves, clicks, views). Defaults to the last 180 days. Requires the Analytics add-on.

Parameters

  • platform (query, string) — Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.

  • profileId (query, string) — Filter by profile ID. Omit for all profiles.

  • accountId (query, string) — Filter by social account ID

  • fromDate (query, string) — Inclusive start date (ISO 8601). Defaults to 180 days ago.

  • toDate (query, string) — Inclusive end date (ISO 8601). Defaults to now.

  • source (query, string) — Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.

Responses

200 — Daily metrics and platform breakdown

  • dailyData (array)
  • platformBreakdown (array)

401

402 — Analytics access required. Legacy plans need the Analytics add-on; included by default on usage-based plans.

  • error (string)
  • code (string)