Zernio
Zernio
API Reference

Posting Analytics

Cross-platform

Get post analyticsGETAnalytics changed since a cursorGETSync an external postPOSTGet post analytics timelineGETGet daily aggregated metricsGETGet best times to postGETGet content performance decayGETGet frequency vs engagementGETGet follower statsGET

Instagram

Get Instagram insightsGETGet Instagram follower historyGETGet Instagram demographicsGET

YouTube

Get YouTube channel insightsGETGet YouTube daily viewsGETGet YouTube video retention curveGETGet YouTube demographicsGET

LinkedIn

Get LinkedIn aggregate statsGETGet LinkedIn org analyticsGETGet LinkedIn post statsGETGet LinkedIn post reactionsGET

Facebook

Get Facebook Page insightsGETGet Facebook post reactionsGETGet Facebook post monetization earningsGET

TikTok

Get TikTok account-level insightsGET

Google Business

Get Google Business Profile performance metricsGETGet Google Business Profile search keywordsGET
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Posting 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

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Query Parameters

platform?string

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

profileId?string

Filter by profile ID. Omit for all profiles.

accountId?string

Filter by account ID

fromDate?string

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

Formatdate-time
toDate?string

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

Formatdate-time
source?string

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

Default"all"

Value in

  • "all"
  • "late"
  • "external"
attribution?string

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.

Default"publish"

Value in

  • "publish"
  • "received"

Response Body

application/json

application/json

application/json

{  "dailyData": [    {      "date": "2025-12-01",      "postCount": 3,      "platforms": {        "instagram": 2,        "twitter": 1      },      "metrics": {        "impressions": 4520,        "reach": 3200,        "likes": 312,        "comments": 45,        "shares": 28,        "saves": 67,        "clicks": 89,        "views": 1560      }    }  ],  "platformBreakdown": [    {      "platform": "instagram",      "postCount": 142,      "impressions": 89400,      "reach": 62100,      "likes": 8930,      "comments": 1204,      "shares": 567,      "saves": 2103,      "clicks": 3402,      "views": 45200    }  ]}
Was this page helpful?

Get post analytics timeline

Returns a daily timeline of analytics metrics for a specific post, showing how impressions, likes, and other metrics evolved day-by-day since publishing. Each row represents one day of data per platform. For multi-platform Zernio posts, returns separate rows for each platform. Requires the Analytics add-on.

Get best times to post

Returns the best times to post based on historical engagement data. Groups all published posts by day of week and hour (UTC), calculating average engagement per slot. Use this to auto-schedule posts at optimal times. Requires the Analytics add-on.