---
title: "Get daily aggregated metrics"
method: GET
path: "/v1/analytics/daily-metrics"
tags: ["Analytics"]
---

# Get daily aggregated metrics

`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.

## Query parameters

- `platform` string
- `profileId` string
- `accountId` string
- `fromDate` string, date-time
- `toDate` string, date-time
- `source` 'all' | 'late' | 'external'
- `attribution` 'publish' | 'received'

## Response `200`

Daily metrics and platform breakdown

- object
  - `dailyData` object[]
    - `date` string
    - `postCount` integer
    - `platforms` object
    - `metrics` object
      - `impressions` integer
      - `reach` integer
      - `likes` integer
      - `comments` integer
      - `shares` integer
      - `saves` integer
      - `clicks` integer
      - `views` integer
  - `platformBreakdown` object[]
    - `platform` string
    - `postCount` integer
    - `impressions` integer
    - `reach` integer
    - `likes` integer
    - `comments` integer
    - `shares` integer
    - `saves` integer
    - `clicks` integer
    - `views` integer

## Other responses

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

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/f81ca70ea6b9/schema)
