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

Other

Get an analytics dashboardGETGet Facebook Page demographicsGETGet Instagram online followersGET
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Posting Analytics

Get Instagram online followers

Returns how many of an Instagram account's followers were online in each hour, for every day of the last 30 days that Meta has data for. Hour keys are "0" to "23" as Meta returns them. endTime is the end_time Meta returns for that day. Meta does not document the timezone of the hour keys. Data is delayed up to 48 hours, so the most recent days are left out until Meta fills them. Requires at least 100 followers; for smaller accounts days is empty. Requires the Analytics add-on.


GET
/v1/analytics/instagram/online-followers

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

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.analytics.getInstagramOnlineFollowers({  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "success": true,  "accountId": "64e1a2b3c4d5e6f7a8b9c0d1",  "platform": "instagram",  "metric": "online_followers",  "days": [    {      "endTime": "2026-10-01T07:00:00+0000",      "hours": {        "0": 120,        "1": 98,        "2": 75,        "3": 61,        "4": 58,        "5": 70,        "6": 104,        "7": 150,        "8": 188,        "9": 210,        "10": 225,        "11": 231,        "12": 240,        "13": 236,        "14": 229,        "15": 233,        "16": 245,        "17": 262,        "18": 281,        "19": 290,        "20": 284,        "21": 251,        "22": 203,        "23": 158      }    },    {      "endTime": "2026-10-02T07:00:00+0000",      "hours": {        "0": 117,        "1": 95,        "2": 77,        "3": 63,        "4": 55,        "5": 72,        "6": 101,        "7": 148,        "8": 190,        "9": 207,        "10": 222,        "11": 235,        "12": 238,        "13": 230,        "14": 226,        "15": 239,        "16": 248,        "17": 266,        "18": 279,        "19": 293,        "20": 280,        "21": 249,        "22": 206,        "23": 160      }    }  ],  "note": "Followers online per hour over the last 30 days. Meta delays data up to 48 hours and returns nothing for accounts under 100 followers."}
Was this page helpful?

Get Facebook Page demographics

Returns the follower breakdown of a connected Facebook Page by country and/or city, from Meta's latest daily snapshot. Country keys are ISO 3166-1 alpha-2 codes; city keys are "City, Region, Country" strings as Meta returns them. Meta removed age and gender demographics for Pages (page_fans_gender_age) on November 15 2025 with no replacement, so only country and city are available. Meta reports small counts at a privacy floor, so the long tail can show identical low values. Requires the Analytics add-on.

List conversation analytics

Per-conversation listing with per-row totals + first/last message timestamps. The inbox analog of GET /v1/analytics (posts listing): same filter shape, same pagination, same sort/order semantics. Use as the entry point for the per-conversation analytics drawer at /v1/analytics/inbox/conversations/{conversationId}. Rows are enriched with the conversation's participant info (`participantName`, `participantUsername`, `participantPicture`) and last-message preview by joining the Conversation document scoped to the caller's team. Max date range is 365 days.