Zernio
APIFor you
Zernio
APIFor you
API Reference

Instagram

List the live broadcasts of an Instagram accountGETList the collaborators of an Instagram postGETList active Instagram storiesGETList the posts an Instagram account is tagged inGETSearch Instagram audioGETGet Instagram audio metadataGETLook up a public Instagram Business accountGETGet a comment that mentions an Instagram accountGETGet a post that mentions an Instagram account in its captionGETGet Instagram publishing limitGETGet Instagram story insightsGET
Dashboard
OverviewPlatformsAPI ReferenceResources
Instagram

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
/v1/accounts/{accountId}/instagram/mentions/media/{mediaId}

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

accountId*string

The ID of a connected Instagram account (Facebook Login).

mediaId*string

Instagram media ID of the post that mentions the account (digits only).

Match^[0-9]+$
Lengthlength <= 32

Response Body

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.instagram.getInstagramMentionedMedia({  path: {    accountId: 'account_abc123',    mediaId: '18027939643230671',  },});console.log(data);
{  "id": "string",  "caption": "string",  "mediaType": "string",  "mediaUrl": "string",  "timestamp": "string",  "username": "string",  "likeCount": 0,  "commentsCount": 0}
Was this page helpful?

Get a comment that mentions an Instagram account

Returns a comment in which another Instagram user @mentioned the connected account, with the post it was left on. Meta sends the comment ID in its mention notification and offers no list of mentions, so this reads one mention by ID. Meta answers an error when comments are disabled on that post. 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 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.