OverviewProductsPlatformsAPI ReferenceResources
Posting Analytics

Get Instagram insights

GEThttps://zernio.com/api/v1/analytics/instagram/account-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 (30 for accounts connected through Facebook Login), defaults to last 30 days.

Authentication

AuthorizationBearer tokenRequired

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

Query parameters

accountIdstringRequired

The Zernio SocialAccount ID for the Instagram account

metricsstring

Comma-separated list of metrics. Defaults to "reach,views,accounts_engaged,total_interactions".

Valid metrics: reach, views, accounts_engaged, total_interactions, comments, likes, saves, shares, replies, reposts, follows_and_unfollows, profile_links_taps, profile_views, website_clicks.

Only "reach" supports metricType=time_series. All other metrics (including follows_and_unfollows, profile_views and website_clicks) are total_value only. This is an Instagram Graph API limitation, not a Zernio one: the IG API returns no time-series data for these metrics.

For a daily running follower count, use /v1/analytics/instagram/follower-history instead.

fromDatestring (date)

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

toDatestring (date)

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

sinceDeprecatedstring (date)

Alias of fromDate, kept for existing callers

untilDeprecatedstring (date)

Alias of toDate, kept for existing callers

metricTypestringDefault total_valueOne of time_series | total_value

"total_value" (default) returns aggregated totals and supports breakdowns. "time_series" returns daily values but only works with the "reach" metric.

breakdownstring

Breakdown dimension (only valid with metricType=total_value). Valid values per metric: reach and views take follow_type or media_product_type; follows_and_unfollows takes follow_type; profile_links_taps takes contact_button_type; comments, likes, saves, shares and total_interactions take media_product_type.

Responses

Success· the request worked

Errors· the request failed

GET/v1/analytics/instagram/account-insights
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.analytics.getInstagramAccountInsights({  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "success": true,  "accountId": "64e1a2b3c4d5e6f7a8b9c0d1",  "platform": "instagram",  "dateRange": {    "since": "2026-03-01",    "until": "2026-03-22"  },  "metricType": "time_series",  "metrics": {    "reach": {      "total": 12500,      "values": [        {          "date": "2026-03-01",          "value": 420        },        {          "date": "2026-03-02",          "value": 385        }      ]    },    "views": {      "total": 45000,      "values": [        {          "date": "2026-03-01",          "value": 1520        },        {          "date": "2026-03-02",          "value": 1380        }      ]    }  },  "dataDelay": "Data may be delayed up to 48 hours"}
OpenAPI specification
Was this page helpful?