Instagram Reels using a music track API

Read the Reels that use the same piece of music, from one audio_id: text, like_count, view_count and author_username on each row, plus an audio_info object with the title and reels_count, for $0.56 per 1,000 calls.

  • A music page link works as input
  • Each row has video_url
  • Failed calls and empty results are not charged

API health

24h health
Normal
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

Last 24 hours

Last 30 days

  1. 1Request

    POST /api/v1/social
    {
      "platform": "instagram",
      "action": "audio_posts",
      "params": {
        "audio_id": "29431066483154650"
      }
    }
  2. 2JSON response

    {
      "results": [
        {
          "post_id": string,
          "text": string,
          "media_type": string,
          "like_count": number
        },
        …
      ]
    }
  3. 3Rows

    post_idtextmedia_typelike_count
    stringstringstringnumber
  4. 4CSV

    instagram-audio_posts-sample.csv post_id,url,text,media_type,like_count,comment_count,view_count,author_username,author_name,posted_at,location,id,image_url,video_url,author_id,width,height,is_comments_disabled,author_follower_count,hashtags,top_comments,product_type,play_count,fb_play_count,fb_like_count,fb_comment_count,share_count,repost_count,duration_sec,duration_seconds,duration_estimated,image_count,video_count,video_url_expires_at,video_hd_url,video_hd_height,audio_url,video_hd_expires_at,is_paid_partnership,is_pinned,likes_hidden,caption_is_edited,accessibility_caption,author_is_verified,author_is_private,author_avatar_url,posted_at_estimated,mentions,tagged_users,coauthors,sponsors,media,music,platform,location_detail,audio_info

A request with audio_id goes in. One response returns a page of Reels that use that music, each row with view_count, video_url and more. These become table rows and a CSV file.

What data you get

The table below lists the fields each row returns, with their types and meanings. It shows no values. Each row is one Reel that uses the music. The audio_info object describes the music you queried and is the same on every row.

FieldTypeMeaning
post_idstringPost shortcode: the part of the link after /p/ or /reel/ (not a numeric ID).
urlstringLink to the record on the platform.
textstringBody text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so).
media_typestringOnly two values: video (videos; Reels are also video) and image (images; carousel posts are also recorded as image, and when product_type is present, a product_type of carousel_container marks a carousel).
like_countnumberLikes. null means the platform or this capability does not disclose it; it is not 0.
comment_countnumberComments. null means not disclosed, not 0.
view_countnumberViews or plays. null means not disclosed, not 0.
author_usernamestringAuthor's username (@handle), usually usable in URLs.
author_namestringAuthor's display name.
posted_atstringPublish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it.
locationstringLocation description passed through as is; the format varies by platform.
idstringThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
image_urlstringImage link. Capabilities with several images may return an image_urls array.
video_urlstringVideo file URL: the complete mp4 with sound, playable directly. For a carousel post with videos, it is the first video; absent when the post is not a video. The link is signed and expires; when video_url_expires_at is present, go by it.
author_idstringAuthor's unique ID on the platform.
widthnumberWidth of the original image or video, in pixels.
heightnumberHeight of the original image or video, in pixels.
is_comments_disabledbooleanWhether comments are turned off on the post.
author_follower_countnumberAuthor's follower count. null means not disclosed.
hashtagsarrayHashtags in the text, in order of appearance; absent when there are none.
top_comments—A few comments shown under the post; each entry has the text (text) and the commenter (author_username). Absent when there are none.
product_typestringContent format as Instagram classifies it: feed (regular post), clips (Reels), carousel_container (carousel), longform (long video).
play_countnumberPlay count.
fb_play_count—Play count on Facebook, when the author also published this post on Facebook; appears only on such posts.
fb_like_count—Like count on Facebook, when the author also published this post on Facebook; appears only on such posts.
fb_comment_count—Comment count on Facebook, when the author also published this post on Facebook; appears only on such posts.
share_countnumberShares. null means not disclosed, not 0.
repost_countnumberReposts (as distinct from quote posts). null means not disclosed.
duration_secnumberDuration, in seconds.
duration_secondsnumberDuration in seconds. null for content that is not video or audio.
duration_estimatedbooleantrue means duration_sec is a whole number of seconds read from the video link, at most 1 second off the exact duration. Appears only when the duration was read this way.
image_countnumberNumber of images: 1 for a single-image post; for a carousel post, the number of images in it, videos not counted.
video_count—Number of videos in a carousel post; only carousel posts have it.
video_url_expires_atstringExpiry time of video_url, ISO 8601, UTC.
video_hd_urlstringHighest-quality video track: picture only, no sound. It expires; the time is in video_hd_expires_at. For video with sound, merge it with audio_url (for example, combine the two tracks with ffmpeg), or use video_url directly.
video_hd_heightnumberPicture height of video_hd_url, in pixels.
audio_urlstringAudio track of the video, sound only; it expires at about the same time as video_hd_url (see video_hd_expires_at). Absent when the video has no separate audio track (for example, a silent video).
video_hd_expires_atstringExpiry time of video_hd_url, ISO 8601, UTC; audio_url expires at about the same time.
is_paid_partnershipbooleanWhether the post is marked "Paid partnership". Appears only when the page gives this information, and may be false.
is_pinnedbooleanWhether the item is pinned. Posts (user_posts, tagged_posts, recent_posts, and other actions that return posts, such as location_posts, audio_posts and explore): pinned by the author to the profile grid or the Reels tab; appears only when pinned, with the value true. Comments (comments): pinned by the post author; appears only when pinned, with the value true. Highlights (highlights): whether it is pinned first in the profile highlights bar.
likes_hiddenbooleanThe author hid the like count. Appears only when hidden, with the value true; like_count is usually absent then.
caption_is_edited—The caption was edited. Appears only when edited, with the value true.
accessibility_caption—Image description that Instagram generates automatically (alternative text, in English).
author_is_verifiedbooleanWhether the author's account has a verified badge. Appears in user_posts, tagged_posts, location_posts, audio_posts, explore, stories and comment_replies, and in post, discover, reels, hashtag and reels_search rows when it has a value.
author_is_privatebooleanWhether the author's account is private.
author_avatar_urlstringAuthor avatar URL; signed link that expires.
posted_at_estimatedbooleantrue means the page gave no publish time and posted_at is the upload time worked out from the post's numeric ID (id); it usually equals the publish time, and is earlier than it for scheduled posts. Appears only when estimated (common in tagged_posts).
mentionsarrayUsernames @-mentioned in the text, as an array.
tagged_users—Usernames of the people tagged in the images or videos, as an array; for a carousel post, tags on every item count.
coauthorsarrayCoauthors: usernames of the accounts credited together with the author on this post, as an array.
sponsors—Usernames of the brand accounts named in the paid partnership, as an array.
media—Each item in a carousel post, one entry per item: type (image or video), image_url (image URL, the cover image for a video; signed link that expires), video_url (videos only; mp4 with sound), width and height (pixels). Only carousel posts have it.
musicobjectMusic used by the post or Reel, as an object: artist and title; some also carry audio_id (music ID), is_original (true for original audio recorded by the author, false for a song from the music library), is_explicit (whether a library song is marked explicit), is_trending (whether original audio is trending; original audio only) and url (the Instagram page for this music). For original audio, title is usually Original audio and artist is the username of its author. Absent when there is no music.
platformstringSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).
location_detailobjectDetails of the location attached to the post, as an object: id (location ID), name (location name, same as location), short_name, city, address, lat, lng, url (the Instagram page for this location); each appears only when available. Absent when the post has no location.
audio_info—(audio_posts) The music you asked about, the same on every row, as an object: audio_id, title, artist, reels_count (number of Reels that use it) and url (the Instagram page for this music); each appears only when available.

Use cases

  • Follow the Reels a piece of music drives

    Read the Reels under an audio_id to see which content uses the music.

  • Find creators who use the music

    Read author_username and author_follower_count to list the accounts that post a Reel with it.

  • Compare plays across Reels

    Use view_count and like_count to see which uses do best.

  • See how many Reels use the music

    Read reels_count in audio_info to see how often the music is used.

Instagram Graph API vs EveryInfra

Here is how the official Instagram Graph API and EveryInfra audio_posts compare on whose data you can read and on account requirement.

ComparedInstagram Graph APIEveryInfra
Whose data you can read"Note that a permission only allows access to data created by the app user who granted the permission."The Reels that use a piece of music for the audio_id you give. This is publicly visible content, not limited to your own account.
Account requirement"To use the APIs, your app users must have an Instagram professional account"The request carries audio_id and one EveryInfra API key. You and your users do not need an Instagram professional account.

Quotes are from Meta's developer documentation, checked 2026-11-22. This table compares access conditions only. Official sources: Instagram Platform overview (updated 2026-10-29)

Limits and gotchas

  • audio_id is required. Use the audio_id in the music of a post or Reel, or the number in a music page link. You can also pass the link itself.
  • A post whose music has no audio_id gives no way in.
  • One call returns one page. If the response has next_page_token, send it back unchanged as page_token and keep the other parameters the same. The token is valid for 24 hours, and each page counts as one call. With no next_page_token, you cannot page further.
  • A page can hold fewer rows than a full page, so do not estimate the total Reels for a piece of music from the number of pages.
  • The audio_info object is the music you queried and is the same on every row. Items appear only when present.
  • video_url is signed and expires. Use video_url_expires_at when it is present.

Pricing

You pay $0.000556 per call, not per row. Each page counts as one call. Failed calls and empty results are not charged.

CallsCost
10,000$5.56
100,000$55.56
1,000,000$555.56

Totals use the list price per call.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "instagram",
  "action": "audio_posts",
  "params": {
    "audio_id": "29431066483154650"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

API reference

See the parameters, response fields, errors and billing for audio_posts, and copy the page or open it as Markdown for an AI assistant.

POST

AI prompt

#
Please help me write a data collection script with the EveryInfra Instagram Reels using a music track endpoint (instagram/audio_posts).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to instagram and action to audio_posts, and put the parameters inside params.
- Required parameters:
  - audio_id: The music for audio_posts: the audio_id in a post's or Reel's music, or an audio page link such as https://www.instagram.com/reels/audio/<number>/. Returns the Reels that use that music. Pass the ID as a string.
- Optional parameters:
  - page_token: Page token for user_posts, tagged_posts, comments, followers_list, user_search, similar_profiles, comment_replies, likers, location_posts, audio_posts and explore. Leave it out for the first page.
- Returns a list of records. Main fields of each record: post_id (Post shortcode: the part of the link af…), url, text, media_type (Only two values: video (videos), like_count, comment_count, view_count, author_username, author_name, posted_at, location, id; 55 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=instagram.
- Example request body:
{
  "platform": "instagram",
  "action": "audio_posts",
  "params": {
    "audio_id": "29431066483154650"
  }
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesinstagramPlatform identifier, fixed value.
actionbodystringYesaudio_postsCapability identifier, fixed value.
audio_idbody.paramsstringYes-The music for audio_posts: the audio_id in a post's or Reel's music, or an audio page link such as https://www.instagram.com/reels/audio/<number>/. Returns the Reels that use that music. Pass the ID as a string. A value that cannot be read is rejected before any charge.
page_tokenbody.paramsstringNo-Page token for user_posts, tagged_posts, comments, followers_list, user_search, similar_profiles, comment_replies, likers, location_posts, audio_posts and explore. Leave it out for the first page; pass back the next_page_token exactly as received, other parameters unchanged (except limit, if present). Each page is one call; tokens last 24 hours. No next_page_token means no more pages: pagination.stop_reason is end_of_list at the end, or depth_limit if this run cannot go deeper; data may remain.

Response example

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "id": "req_…",  "platform": "instagram",  "action": "audio_posts",  "results": [    {      "post_id": …,      "url": …,      "text": …,      "media_type": …,      "like_count": …,      "comment_count": …,      "view_count": …,      "author_username": …,      "author_name": …,      "posted_at": …,      "location": …,      "id": …,      "image_url": …,      "video_url": …,      "author_id": …,      "width": …,      "height": …,      "is_comments_disabled": …,      "author_follower_count": …,      "hashtags": …,      "top_comments": …,      "product_type": …,      "play_count": …,      "fb_play_count": …,      "fb_like_count": …,      "fb_comment_count": …,      "share_count": …,      "repost_count": …,      "duration_sec": …,      "duration_seconds": …,      "duration_estimated": …,      "image_count": …,      "video_count": …,      "video_url_expires_at": …,      "video_hd_url": …,      "video_hd_height": …,      "audio_url": …,      "video_hd_expires_at": …,      "is_paid_partnership": …,      "is_pinned": …,      "likes_hidden": …,      "caption_is_edited": …,      "accessibility_caption": …,      "author_is_verified": …,      "author_is_private": …,      "author_avatar_url": …,      "posted_at_estimated": …,      "mentions": …,      "tagged_users": …,      "coauthors": …,      "sponsors": …,      "media": …,      "music": …,      "platform": …,      "location_detail": …,      "audio_info": …    }  ],  "next_page_token": …,  "pagination": { … },  "count": …,  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Response fields

#

Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.

FieldMeaning
post_idPost shortcode: the part of the link after /p/ or /reel/ (not a numeric ID).
urlLink to the record on the platform.
textBody text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so).
media_typeOnly two values: video (videos; Reels are also video) and image (images; carousel posts are also recorded as image, and when product_type is present, a product_type of carousel_container marks a carousel).
like_countLikes. null means the platform or this capability does not disclose it; it is not 0.
comment_countComments. null means not disclosed, not 0.
view_countViews or plays. null means not disclosed, not 0.
author_usernameAuthor's username (@handle), usually usable in URLs.
author_nameAuthor's display name.
posted_atPublish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it.
locationLocation description passed through as is; the format varies by platform.
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
image_urlImage link. Capabilities with several images may return an image_urls array.
video_urlVideo file URL: the complete mp4 with sound, playable directly. For a carousel post with videos, it is the first video; absent when the post is not a video. The link is signed and expires; when video_url_expires_at is present, go by it.
author_idAuthor's unique ID on the platform.
widthWidth of the original image or video, in pixels.
heightHeight of the original image or video, in pixels.
is_comments_disabledWhether comments are turned off on the post.
author_follower_countAuthor's follower count. null means not disclosed.
hashtagsHashtags in the text, in order of appearance; absent when there are none.
top_commentsA few comments shown under the post; each entry has the text (text) and the commenter (author_username). Absent when there are none.
product_typeContent format as Instagram classifies it: feed (regular post), clips (Reels), carousel_container (carousel), longform (long video).
play_countPlay count.
fb_play_countPlay count on Facebook, when the author also published this post on Facebook; appears only on such posts.
fb_like_countLike count on Facebook, when the author also published this post on Facebook; appears only on such posts.
fb_comment_countComment count on Facebook, when the author also published this post on Facebook; appears only on such posts.
share_countShares. null means not disclosed, not 0.
repost_countReposts (as distinct from quote posts). null means not disclosed.
duration_secDuration, in seconds.
duration_secondsDuration in seconds. null for content that is not video or audio.
duration_estimatedtrue means duration_sec is a whole number of seconds read from the video link, at most 1 second off the exact duration. Appears only when the duration was read this way.
image_countNumber of images: 1 for a single-image post; for a carousel post, the number of images in it, videos not counted.
video_countNumber of videos in a carousel post; only carousel posts have it.
video_url_expires_atExpiry time of video_url, ISO 8601, UTC.
video_hd_urlHighest-quality video track: picture only, no sound. It expires; the time is in video_hd_expires_at. For video with sound, merge it with audio_url (for example, combine the two tracks with ffmpeg), or use video_url directly.
video_hd_heightPicture height of video_hd_url, in pixels.
audio_urlAudio track of the video, sound only; it expires at about the same time as video_hd_url (see video_hd_expires_at). Absent when the video has no separate audio track (for example, a silent video).
video_hd_expires_atExpiry time of video_hd_url, ISO 8601, UTC; audio_url expires at about the same time.
is_paid_partnershipWhether the post is marked "Paid partnership". Appears only when the page gives this information, and may be false.
is_pinnedWhether the item is pinned. Posts (user_posts, tagged_posts, recent_posts, and other actions that return posts, such as location_posts, audio_posts and explore): pinned by the author to the profile grid or the Reels tab; appears only when pinned, with the value true. Comments (comments): pinned by the post author; appears only when pinned, with the value true. Highlights (highlights): whether it is pinned first in the profile highlights bar.
likes_hiddenThe author hid the like count. Appears only when hidden, with the value true; like_count is usually absent then.
caption_is_editedThe caption was edited. Appears only when edited, with the value true.
accessibility_captionImage description that Instagram generates automatically (alternative text, in English).
author_is_verifiedWhether the author's account has a verified badge. Appears in user_posts, tagged_posts, location_posts, audio_posts, explore, stories and comment_replies, and in post, discover, reels, hashtag and reels_search rows when it has a value.
author_is_privateWhether the author's account is private.
author_avatar_urlAuthor avatar URL; signed link that expires.
posted_at_estimatedtrue means the page gave no publish time and posted_at is the upload time worked out from the post's numeric ID (id); it usually equals the publish time, and is earlier than it for scheduled posts. Appears only when estimated (common in tagged_posts).
mentionsUsernames @-mentioned in the text, as an array.
tagged_usersUsernames of the people tagged in the images or videos, as an array; for a carousel post, tags on every item count.
coauthorsCoauthors: usernames of the accounts credited together with the author on this post, as an array.
sponsorsUsernames of the brand accounts named in the paid partnership, as an array.
mediaEach item in a carousel post, one entry per item: type (image or video), image_url (image URL, the cover image for a video; signed link that expires), video_url (videos only; mp4 with sound), width and height (pixels). Only carousel posts have it.
musicMusic used by the post or Reel, as an object: artist and title; some also carry audio_id (music ID), is_original (true for original audio recorded by the author, false for a song from the music library), is_explicit (whether a library song is marked explicit), is_trending (whether original audio is trending; original audio only) and url (the Instagram page for this music). For original audio, title is usually Original audio and artist is the username of its author. Absent when there is no music.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).
location_detailDetails of the location attached to the post, as an object: id (location ID), name (location name, same as location), short_name, city, address, lat, lng, url (the Instagram page for this location); each appears only when available. Absent when the post has no location.
audio_info(audio_posts) The music you asked about, the same on every row, as an object: audio_id, title, artist, reels_count (number of Reels that use it) and url (the Instagram page for this music); each appears only when available.

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

FAQ

What does the Instagram music Reels API return?

Each row is one Reel that uses the music: post_id, url, text, like_count, view_count, author_username, posted_at and video_url, plus an audio_info object.

Where do I get audio_id?

Use the audio_id in the music of a post or Reel, or the number after /reels/audio/ in a music page link. You can also pass the link itself.

How do I get the next page?

When the response has next_page_token, send it back unchanged as page_token and keep the other parameters the same. With no next_page_token, you cannot page further.

How much does one page cost?

It costs $0.000556 per call, or $0.56 per 1,000 calls. Each page counts as one call, not each row. Failed calls and empty results are not charged.

Do I need an Instagram login?

No. You send one EveryInfra API key in the Authorization: Bearer header, and the request carries only audio_id. No Instagram login or access token is needed.

You can call the other Instagram endpoints with the same key, such as post to read the full data of one Reel.

Google Analytics needs consent. Privacy