Instagram Audio Reels API
Scrape Instagram Audio Reels data with one API call. Returns reels that use a specific audio track on Instagram. Each reel includes engagement metrics and author info. The `audio_id` is the `post.ext.music_id` a reel carries on /v1/instagram/post and /v1/instagram/profile/reels, or on /v1/instagram/profile/posts with include=audio, so reels that share a sound can be expanded into every other reel using it. On the first page `data.total` is the number of reels Instagram shows for the sound, or null when that count is not available, and later pages leave it null. On the first page `data.is_trending` is `true` when Instagram currently marks the sound as trending in Reels and `false` when it does not; it changes over time, later pages leave it null, and it is null when that signal is not available. On the first page `data.sound` describes the sound itself as `{ track_title, artist, is_original, creator_username, created_at, duration_seconds, is_explicit, spotify_track_id, first_reel_url }`: on an original sound `creator_username` is the account that created it, `created_at` is when it was created and `first_reel_url` is the reel it was first used on, while on a licensed track those three are null and `spotify_track_id` is filled when Instagram links the track to Spotify; `data.sound` is null on later pages and when the sound's details are not available. When `audio_id` is a cluster id, `data.total` counts every upload in the cluster and `data.sound` describes the one upload Instagram shows for it, so its creator is not necessarily the cluster's first user. To record `data.total` every day, create a Monitor that tracks `total`; see /docs/recipes/track-sound-growth. Each reel carries `post.ext.audio_cluster_id`, Instagram's audio cluster for that reel: the id Instagram uses to group different uploads of the same sound. It is absent on a reel when it is not available. A page carries up to about 12 reels, in the order Instagram's own audio page lists them, which is not by date. Pass `pagination.next_cursor` back as `cursor` to request the next page. A page that comes back empty is not charged. On a reel also posted to Facebook, `engagement.views` can include its Facebook views: `post.ext.instagram_views` is the Instagram-only figure, the same on every Instagram endpoint, and `post.ext.facebook_views` is the Facebook part when the source reports it.
Last updated October 2026Maintained by the SocialCrawl team
Returns reels that use one specific audio track, each with its engagement counts and the account that posted it.
Use it after search/music or music/trending: pass the audio_id to see who is posting with that sound.
Searching 69 platforms in parallel
What can you do with the Audio Reels API?
The Audio Reels endpoint gives you structured Instagram data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
# GET /v1/instagram/audio/reels: 1 credit per page. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
# --max-time 20: this endpoint's measured p99 latency x 1.5.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
# Next page: send pagination.next_cursor back as cursor until pagination.has_more is false.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 20 --retry 3 -o response.json \
-H "x-api-key: YOUR_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
"https://www.socialcrawl.dev/v1/instagram/audio/reels?audio_id=1392969992841787" && cat response.json# GET /v1/instagram/audio/reels: 1 credit per page. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
import os
import random
import time
import uuid
import requests
API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 20 # this endpoint's measured p99 latency x 1.5.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/instagram/audio/reels"
def backoff(attempt):
# Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
return 2 ** attempt * (0.5 + random.random() / 2)
def socialcrawl(params):
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
idempotency_key = str(uuid.uuid4())
for attempt in range(MAX_RETRIES + 1):
try:
res = requests.get(
URL,
params=params,
headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
timeout=TIMEOUT_S,
)
body = res.json()
except (requests.RequestException, ValueError):
# A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if attempt == MAX_RETRIES:
raise
time.sleep(backoff(attempt))
continue
if body["success"]:
return body
error = body["error"]
# Branch on error["type"], never on the message text.
if error["type"] == "RESOURCE_NOT_FOUND":
return None # refunded: nothing to read
retry_after = res.headers.get("Retry-After")
# SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
# Retry-After (seconds) wins; otherwise back off.
time.sleep(float(retry_after) if retry_after else backoff(attempt))
params = {
"audio_id": "1392969992841787",
}
# Walk the list: send pagination.next_cursor back as cursor until has_more is false.
MAX_PAGES = 10 # each page is one call
items = []
for _ in range(MAX_PAGES):
body = socialcrawl(params)
if body is None:
break
items.extend(body["data"]["items"])
page = body.get("pagination") or {}
if not page.get("has_more") or not page.get("next_cursor"):
break
params["cursor"] = page["next_cursor"]
print(f"{len(items)} items")// GET /v1/instagram/audio/reels: 1 credit per page. Cache hits are free and failed calls are refunded.
// Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 20_000; // this endpoint's measured p99 latency x 1.5.
const MAX_RETRIES = 3;
type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
| { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
| { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);
async function socialcrawl(url: URL) {
// One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
const idempotencyKey = crypto.randomUUID();
for (let attempt = 0; ; attempt++) {
let res: Response;
let body: SocialCrawlResponse;
try {
res = await fetch(url, {
headers: {
"x-api-key": API_KEY,
"Idempotency-Key": idempotencyKey,
},
signal: AbortSignal.timeout(TIMEOUT_MS),
});
body = (await res.json()) as SocialCrawlResponse;
} catch (error) {
// A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if (attempt >= MAX_RETRIES) throw error;
await sleep(backoffMs(attempt));
continue;
}
if (body.success) return body;
// Branch on error.type, never on the message text.
if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
const retryAfter = res.headers.get("Retry-After");
// SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
}
// Retry-After (seconds) wins; otherwise back off.
await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
}
}
const url = new URL("https://www.socialcrawl.dev/v1/instagram/audio/reels");
url.searchParams.set("audio_id", "1392969992841787");
// Walk the list: send pagination.next_cursor back as cursor until has_more is false.
const MAX_PAGES = 10; // each page is one call
const items: unknown[] = [];
for (let page = 0; page < MAX_PAGES; page++) {
const body = await socialcrawl(url);
if (!body) break;
items.push(...body.data.items);
const next = body.pagination?.next_cursor;
if (!body.pagination?.has_more || !next) break;
url.searchParams.set("cursor", next);
}
console.log(`${items.length} items`);Parameters
| Parameter | Required | Description |
|---|---|---|
| audio_id | Yes | Instagram audio ID: the numeric id from an instagram.com/reels/audio/{audio_id}/ URL |
| cursor | No | Pagination cursor. Use the `next_cursor` from the previous response to fetch the next page. |
| since | No | Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`. |
| until | No | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`. |
| max_pages | No | 1 to 50 (default 1, or 50 when `max_items` or `max_credits` is sent). Walk up to this many pages in one call and return the rows from all of them. Each page walked is billed exactly as one call to this endpoint (a cached page is free) and counts against your rate limit; its charge and any refund are recorded under the page's own request id, listed in `data.walk.request_ids`. The walk stops early at the last page, or when the request's time budget runs low; `data.walk.stopped` says why (`end`, `max_pages`, `max_items`, `max_credits`, `time_budget`, `page_error`) and `pagination.next_cursor` continues from where it stopped. |
| max_items | No | 1 to 5000. Get more in one call: keep walking pages until the response holds at least this many rows, then stop with `data.walk.stopped: "max_items"`. The last page is returned whole (it was billed), so `data.items` can hold up to one page more than this, and `pagination.next_cursor` resumes right after it without skipping a row. Walks up to 50 pages unless `max_pages` says fewer; each page is billed as one call (a cached page is free). Add `max_credits` to cap the spend. A long walk can stop on the time budget first (`"time_budget"`): send the returned cursor with the same params to continue. |
| max_credits | No | 1 to 100000. The most this call may spend, across every page it walks. A page starts only while the credits already spent plus that page's price (or, when higher, the most any page of this walk has cost) still fit, so the call never goes past it; the walk then stops with `data.walk.stopped: "max_credits"` and the cursor to resume. Sent alone, it walks as far as the budget goes (up to 50 pages). A value below the price of one page is a free 400 whose `error.details.page_credits` names that price. Credits a row join (`include=`) adds are known only once a page has run, so page 1 is checked against its own price. |
What does the Instagram Audio Reels API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "instagram",
"endpoint": "/v1/instagram/audio/reels",
"data": {
"items": [
{
"post": {
"id": "3916378119790708418",
"url": "https://www.instagram.com/reel/DZZxSZsPMbC/",
"content": {
"text": "Sample comment text (redacted).",
"media_urls": "https://scontent-lhr11-1.cdninstagram.com/user_2352da/v/t2/f2/m86/AQMX9YkXpYcag0BMKV8mgFH9IOCQOsRbYeVLWyHW6TJpI9iDgFYp1F4OHFlohf2lkLWYcO8k8GMLr8l0lCnRb3SL49dbmGMgbwoJX6E.mp4?_nc_cat=110&_nc_sid=5e9851&_nc_ht=scontent-lhr11-1.cdninstagram.com&_nc_ohc=ghyYqF9R3rUQ7kNvwGZbVFw&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTg0NzY2NjE3Mjg1OTU0MywiYXNzZXRfYWdlX2RheXMiOjExMywidmlfdXNlY2FzZV9pZCI6MTA4MjcsImR1cmF0aW9uX3MiOjE2LCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&vs=d8a6f0956312d10f&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC9DRDQzQjBCQTEzMTc5NzNEOEJFMzg1MkIyNDg1Q0FCOF92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyLzQ2NEFDNzY2RTc0NUY0NjE2REE1NjlEMkUzOEIwMUJBX2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACau0qzeqZzIBhUCKAJDMywXQDBmZmZmZmYYEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HZZapAQA&_nc_gid=Xn0PJLX8LYla4YVx-mF0lw&_nc_ss=733ba&_nc_zt=28&oh=00_AQNyonJJ18JP4BgfQGpBaH71nsH8c2UuIDI0trL2anka7A&oe=6AC13997",
"thumbnail_url": "https://scontent-lhr11-1.cdninstagram.com/user_4c9448/t51.71878-15/718092388_1924325031618594_1979720858354430666_n.jpg?stp=dst-jpegr_e15_tt6&_nc_cat=100&ig_cache_key=MzkxNjM3ODExOTc5MDcwODQxOA%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjY0MC5oZHIudmlkZW9fZGVmYXVsdF9jb3Zlcl9mcmFtZS5DMyJ9&_nc_ohc=MJZHGrz_LwoQ7kNvwFp-Rl2&_nc_oc=AdqzezlTW9288bq_5w9vCOR8_uVpywJRyQenGkPbR0e-m5w36cmMgY5yNo8InFYmuro&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&se=-1&_nc_ht=scontent-lhr11-1.cdninstagram.com&_nc_gid=Xn0PJLX8LYla4YVx-mF0lw&_nc_ss=733ba&oh=00_AQMDPexRw7mdyc-eaTyI-T4WalJeTVhLPQ9Jnj0z8A-7Hg&oe=6AC5256F",
"duration_seconds": 16.415
},
"author": {
"username": "user_cde129",
"display_name": "user_460978",
"avatar_url": "https://example.com/avatars/user_a1d6df.png",
"verified": false
},
"engagement": {
"views": 140775,
"likes": 5623,
"comments": 81,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-06-10T10:52:09.000Z",
"ext": {
"media_type": "video",
"audio_cluster_id": "1392969992841787",
"published_at_epoch": 1781088729,
"coauthors": []
}
},
"computed": {
"engagement_rate": 0.040519,
"language": "pt",
"content_category": "other",
"estimated_reach": 168930
}
},
{
"post": {
"id": "3911033752398445653",
"url": "https://www.instagram.com/reel/DZGyHnsRbxV/",
"content": {
"text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"media_urls": "https://scontent-lhr6-2.cdninstagram.com/user_2352da/v/t2/f2/m86/AQPANVGwKMOALa4MQy3hQIcwpwoHM14O_kjkiYCsMJcpkGnG0U8UmTqGV_FT2EPUKFYlVcwUlkLMQRGJJxeRwJDDq_1jUqVGAQiFFqI.mp4?_nc_cat=103&_nc_sid=5e9851&_nc_ht=scontent-lhr6-2.cdninstagram.com&_nc_ohc=ySh_9yuecqMQ7kNvwH217iN&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJUFMuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6MTUxMzY0MzU5MDI1NzU1OCwiYXNzZXRfYWdlX2RheXMiOjEyMSwidmlfdXNlY2FzZV9pZCI6MTA4MjcsImR1cmF0aW9uX3MiOjgsInVybGdlbl9zb3VyY2UiOiJ3d3cifQ%3D%3D&ccb=17-1&vs=2ebd4a0cc45eefae&_nc_vs=HBksFQIYUmlnX3hwdl9yZWVsc19wZXJtYW5lbnRfc3JfcHJvZC9BNzRCRTA0MThGOTAzNTQ2RjIzMEM4QUNFQUY2NUVCNl92aWRlb19kYXNoaW5pdC5tcDQVAALIARIAFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyL0ZCNDcwNjVBMzEwNzA0MDAwNDEwNjA1QzhFRjNBRkFEX2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACasrpzI06mwBRUCKAJDMywXQCCqfvnbItEYEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HZZapAQA&_nc_gid=Xn0PJLX8LYla4YVx-mF0lw&_nc_ss=733ba&_nc_zt=28&oh=00_AQOYV5wv0uGKu7l-0my7a5LQKKAN1P7AtirK5kB_H_1D_w&oe=6AC13194",
"thumbnail_url": "https://scontent-lhr11-1.cdninstagram.com/user_4c9448/t51.82787-15/723190854_18467060782109823_6554603917680349539_n.jpg?stp=dst-jpg_e35_p750x750_sh2.08_tt6&_nc_cat=107&ig_cache_key=MzkxMTAzMzc1MjM5ODQ0NTY1MzE4NDY3MDYwNzc5MTA5ODIz.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjEyMTUuc2RyLnZpZGVvX2RlZmF1bHRfY292ZXJfZnJhbWUuQzMifQ%3D%3D&_nc_ohc=_YyrN-EochYQ7kNvwEj_Gs5&_nc_oc=AdrimKgyGK_7tquRlM-eFosC0Yu-Nan8LN-mYcrww6rnd6fPldiOzZpIJxokQ5kTCwU&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-lhr11-1.cdninstagram.com&_nc_gid=Xn0PJLX8LYla4YVx-mF0lw&_nc_ss=733ba&oh=00_AQPRX_0h1AkCQLtsUFzic3g_7POvzm6iMRWSpw8aw0RFRQ&oe=6AC5306F",
"duration_seconds": 8.334
},
"author": {
"username": "user_c1c683",
"display_name": "user_bb3970",
"avatar_url": "https://example.com/avatars/user_46edcf.png",
"verified": true
},
"engagement": {
"views": 59571,
"likes": 2771,
"comments": 21,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-06-04T21:36:17.000Z",
"ext": {
"media_type": "video",
"audio_cluster_id": "1392969992841787",
"published_at_epoch": 1780608977,
"coauthors": [
{
"id": "user_d623d8",
"username": "user_bb33eb",
"full_name": "user_9052c0",
"is_verified": false,
"profile_pic_url": "https://example.com/user_0635a3"
}
]
}
},
"computed": {
"engagement_rate": 0.046868,
"language": "pt",
"content_category": "other",
"estimated_reach": 71485
}
}
],
"next_cursor": "sc2.eyJzIjoiViIsImMiOiI2OGY0YjYzODVkM2YxYTRjZDk2MzU5YTE5NTQzOWQ5MWUzYTlmMGQ5YjJhODRiMDEwZGFlZTA5ZTc5NWNkMmMyIn0",
"total": 273734,
"is_trending": true,
"sound": {
"track_title": "Freakin’ Out",
"artist": "Dexter and The Moonrocks",
"is_original": false,
"creator_username": null,
"created_at": null,
"duration_seconds": 217.897,
"is_explicit": false,
"spotify_track_id": "27uVDSmTHBbQ148konTkt8",
"first_reel_url": null
},
"dropped": 0,
"_warnings": [
"post.engagement.likes: the Facebook cross-post share was excluded on 4 of 12 rows, so likes and comments are Instagram's own counts, matching what instagram.com shows. The excluded share is on post.ext.facebook_likes and post.ext.facebook_comments."
]
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": "sc.eyJ2IjoyLCJjIjoic2MyLmV5SnpJam9pVmlJc0ltTWlPaUkyT0dZMFlqWXpPRFZrTTJZeFlUUmpaRGsyTXpVNVlURTVOVFF6T1dRNU1XVXpZVGxtTUdRNVlqSmhPRFJpTURFd1pHRmxaVEE1WlRjNU5XTmtNbU15SW4wIiwiZSI6Imluc3RhZ3JhbS9hdWRpby9yZWVscyIsInAiOiJjdXJzb3IifQ",
"has_more": true,
"page_size": 12
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T07:28:24.274Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Instagram Audio Reels API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 69 platforms covering 10B+ monthly active users.
One schema, every platform
Query 69 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usHow do I get reels that use a specific sound with an API?
Where do I find the audio_id to pass in?
How do I page through more reels for a sound?
Why is this endpoint cheaper than the search endpoints?
How much does the Instagram Audio Reels API cost?
Ask AI about SocialCrawl
Ready to scrape Instagram Audio Reels data?
Get your API key and start pulling Instagram data in under 60 seconds.
