Analytics

Get daily analytics metrics

Returns daily aggregate metrics and a per-platform breakdown. Publish attribution assigns lifetime metrics to the post's publish date; received attribution assigns metric deltas to the day they were observed.

get/v1/analytics/daily-metrics

Request

  • Base URL: https://api.postzen.dev
  • URL: https://api.postzen.dev/v1/analytics/daily-metrics
  • Auth: HTTP bearer

Query parameters

platform'x' | 'instagram' | 'tiktok' | 'linkedin' | 'facebook' | 'youtube' | 'threads' | 'pinterest' | 'bluesky' | 'telegram'

Filter by platform.

profileIdstring

Filter by PostZen profile id.

accountIdstring

Filter by connected social account id.

string date
OR
string date-time

Inclusive range start. Defaults to 180 days before toDate.

string date
OR
string date-time

Inclusive range end. Defaults to the current time.

source'all' | 'postzen' | 'external'

Filter by PostZen-published or externally imported posts.

attribution'publish' | 'received'

Controls whether lifetime metrics are assigned to publish dates or daily deltas to receipt dates.

Response

Daily metrics returned.

Changes

No recorded changes to this operation across all 1 revision of this API.