OverviewPlatformsAPI ReferenceResources

Get Instagram publishing limit

GEThttps://zernio.com/api/v1/accounts/{accountId}/instagram/publishing-limit

Returns the account's remaining content-publishing quota for Instagram's rolling 24-hour window, so you can pace publishing and warn before the cap is reached.

quotaUsage counts containers published since the start of the window. Always compare against the returned quotaTotal rather than hardcoding a number: Meta's prose documentation and the live API disagree on the value, and the live value is authoritative.

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

accountIdstringRequired

The ID of the Instagram account

Responses

Success· the request worked

Errors· the request failed

Get a post that mentions an Instagram account in its caption

Returns a post in which another Instagram user @mentioned the connected account in the caption. Meta sends the media ID in its mention notification and offers no list of mentions, so this reads one mention by ID. Mentions in Stories are not supported by Meta. Requires an Instagram account connected via **Facebook Login**. Meta serves mentions on graph.facebook.com only, so accounts connected with classic Instagram Login receive a 400 (`instagram_mentions_require_facebook_login`) and must be reconnected choosing the Facebook option.

Get Instagram story insights

Returns metrics for a single story. The `source` field discriminates between three states: - `live`: fetched from Meta in real time (story is still active) - `cached`: fetched from a persisted `story_insights` webhook payload (story has expired but we received its final-state metrics from Meta) - `unavailable`: story has expired and Meta sent no `story_insights` webhook for it Meta sends that webhook most reliably for accounts connected with Facebook Login or with their linked Facebook Page connected. So read insights while the story is live if you need final numbers. Meta can report an expired story as an empty successful result rather than an error. So an expired story resolves to `cached` or `unavailable` even though the upstream request itself succeeded. ### Field semantics Field semantics follow Meta's API. - Counts below 5 may be returned as 0 due to Meta's privacy floor on small audiences. - The `navigation` field is the sum of `tapsForward + tapsBack + exits + swipesForward`.

GET/v1/accounts/{accountId}/instagram/publishing-limit
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.instagram.getInstagramPublishingLimit({  path: {    accountId: 'account_abc123',  },});console.log(data);
{  "quotaUsage": 3,  "quotaTotal": 50,  "quotaDurationSeconds": 86400}
OpenAPI specification
Was this page helpful?