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.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
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."}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.