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 Instagram follower history

Returns a daily running Instagram follower count time series, served from Zernio's cross-platform daily snapshotter. Exists because Meta removed follower_count from the /insights endpoint in Graph API v22+ and never exposed a historical daily series via any public API.

Response envelope matches /v1/analytics/instagram/account-insights so the same client handling works. Max 89 days, defaults to last 30 days. Requires the Analytics add-on.


GET
/v1/analytics/instagram/follower-history

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Query Parameters

accountId*string

The Zernio SocialAccount ID for the Instagram account.

metrics?string

Comma-separated list. Defaults to "follower_count,followers_gained,followers_lost".

  • follower_count : per-day raw follower count
  • followers_gained : sum of positive daily deltas
  • followers_lost : sum of absolute negative daily deltas
since?string

Start date (YYYY-MM-DD). Defaults to 30 days ago.

Formatdate
until?string

End date (YYYY-MM-DD). Defaults to today.

Formatdate
metricType?string

"total_value" returns aggregated totals (latest for follower_count, sum for gained/lost). "time_series" returns per-day values in the "values" array.

Default"total_value"

Value in

  • "time_series"
  • "total_value"

Response Body

application/json

application/json

{  "success": true,  "accountId": "string",  "platform": "facebook",  "dateRange": {    "since": "2019-08-24",    "until": "2019-08-24"  },  "metricType": "time_series",  "breakdown": "string",  "metrics": {    "property1": {      "total": 0,      "values": [        {          "date": "2019-08-24",          "value": 0        }      ],      "breakdowns": [        {          "dimension": "string",          "value": 0        }      ],      "unit": "micro_amount",      "currency": "string"    },    "property2": {      "total": 0,      "values": [        {          "date": "2019-08-24",          "value": 0        }      ],      "breakdowns": [        {          "dimension": "string",          "value": 0        }      ],      "unit": "micro_amount",      "currency": "string"    }  },  "unavailableMetrics": [    {      "metric": "string",      "reason": "not_enrolled",      "message": "string"    }  ],  "dataDelay": "string"}
Was this page helpful?

Get Instagram insights

Returns account-level Instagram insights such as reach, views, accounts engaged, and total interactions. These metrics reflect the entire account's performance across all content surfaces (feed, stories, explore, profile), and are fundamentally different from post-level metrics. Data may be delayed up to 48 hours. Max 90 days, defaults to last 30 days. Requires the Analytics add-on.

Get Instagram demographics

Returns audience demographic insights for an Instagram account, broken down by age, city, country, and/or gender. Requires at least 100 followers. Returns top 45 entries per dimension. Data may be delayed up to 48 hours. Requires the Analytics add-on.