Search Instagram audio
Search Instagram's audio catalog (licensed music or original sounds),
or list what is currently trending by omitting q. Returns up to ~30
assets; Meta exposes no pagination on this edge.
Pass the returned audioId as
platformSpecificData.audioConfiguration.audioId when creating a Reel
to publish it with that track.
Requires an Instagram account connected via Facebook Login. Meta
hosts this catalog on graph.facebook.com only, so accounts connected
with classic Instagram Login receive a 400
(instagram_audio_requires_facebook_login) and must be reconnected
choosing the Facebook option.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
The ID of the Instagram account
Query Parameters
Catalog to search: licensed music or original sounds from Reels.
"music" | "original_sound"Search keywords. Omit to get the current trending list.
1 <= length <= 200Response Body
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.searchInstagramAudio({ path: { accountId: 'account_abc123', }, query: { audioType: 'music', },});console.log(data);{
"audio": [
{
"audioId": "482851939985510",
"title": "string",
"audioType": "music",
"durationInMs": 0,
"displayArtist": "string",
"coverArtworkThumbnailUrl": "string",
"downloadUrl": "string",
"igUsername": "string",
"profilePictureUrl": "string",
"isAdsEligible": true,
"onPlatformAudioPreviewLink": "string"
}
]
}{
"error": "string",
"type": "invalid_request_error",
"code": "string",
"param": "string",
"platform": "string",
"platformError": {},
"details": {}
}{
"error": "Unauthorized"
}List active Instagram stories GET
Returns the IG Business/Creator account's currently-active stories. Meta keeps stories live for 24h; expired stories are not returned. Limitations propagated from Meta (these are NOT bugs): - 24h window only - Live videos excluded - Reshared stories not returned - `mediaUrl` may be null if Meta flagged the story for copyright - `caption`, `likeCount`, `commentsCount` do not apply to story media
Get Instagram audio metadata GET
Fetch one audio asset's metadata by ID. Use it to re-validate a stored `audioId` before a scheduled Reel publishes, or to refresh the preview `downloadUrl` (Meta expires preview URLs after roughly 1.5 days). Same connection requirement as the search endpoint: Facebook-Login Instagram accounts only.