Analytics

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

Query parameters

platformstring

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

profileIdstring

Filter by profile ID. Omit for all profiles.

accountIdstring

Filter by account ID

fromDatestring date-time

Inclusive start date (ISO 8601). Defaults to 180 days ago.

toDatestring date-time

Inclusive end date (ISO 8601). Defaults to now.

source'all' | 'late' | 'external'

Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.

attribution'publish' | 'received'

How each post's engagement is attributed to a day. "publish" (default) sums each post's lifetime total on its publish date. "received" buckets the per-day increase in engagement by the day it actually arrived (engagement-over-time), so engagement on older posts appears on the day it was gained rather than the post's publish date.

Response

Daily metrics and platform breakdown

Example response

{
  "dailyData": [
    {
      "date": "2025-12-01",
      "postCount": 3,
      "platforms": {
        "instagram": 2,
        "twitter": 1
      }
    }
  ],
  "platformBreakdown": [
    {
      "platform": "instagram",
      "postCount": 142
    }
  ]
}

Changes