100 free credits. No credit card required. Get a key

Instagram reels by audio API

Reels that use a sound, with its title, artist and reel count.

GET /v1/instagram/audio/{audio_id}/reelsBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/instagram/audio/28902130652781918/reels",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"audio": {
"audio_asset_id": "28902130652781918",
"title": "Original audio",
"artist": "natgeo",
"is_original": true,
"is_explicit": false
},
"media_count": 1,
"items": [
{
"pk": "4017311023166285121",
"id": "4017311023166285121_787132",
"code": "DfAWxdIFmVB",
"url": "https://www.instagram.com/reel/DfAWxdIFmVB/",
"taken_at": 1793124003,
"media_type": 2,
"product_type": "clips",
"caption": {
"text": "Even a moment’s rest on Everest can come with a reminder of just how unpredictable the mou…",
"created_at": 1793124005
},
"like_count": 47615,
"comment_count": 296,
"like_and_view_counts_disabled": false,
"user": {
"pk": "787132",
"username": "natgeo",
"full_name": "National Geographic",
"profile_pic_url": "https://scontent-lga3-2.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_905103…",
"is_verified": true,
"is_private": false
},
"play_count": 1819366,
"video_duration": 68.33,
"…": "10 more fields"
}
],
"more_available": true,
"next_cursor": "eyJzIjoiYXVkaW86Mjg5MDIxMzA2NTI3ODE5MTgiLCJjIjoiR2hhQ2xiT0I2Y1d0d0c4bXBPYUhwc05vRkFJMEFpa0…"
}

Parameters

NameTypeDescription
audio_idpath · requiredstringAudio id. Example: 28902130652781918.
cursorquerystringThe previous page’s next_cursor. Omit for the first page.
Response fields

200 with a InstagramAudioReels, in the shape of Instagram’s own media and user objects.

FieldTypeDescription
audioInstagramAudioThe sound a reel uses (original audio or a track).
media_countinteger | nullReels using this audio, as Instagram counts them.
itemsInstagramMedia[]
more_availableboolean
next_cursorstring | nullPass as cursor for the next page; null on the last page.
Status codes
StatusMeaning
200Reels with this audio.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The account or post does not exist, or was removed.
429Too many requests. Wait for Retry-After seconds.
503Instagram is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Instagram is a trademark of Instagram, LLC (Meta Platforms, Inc.). We are not affiliated with or endorsed by Instagram or Meta.