
Searches Instagram's music library by name. The answer is a list of `items`, each one a track with metadata and audio download URLs; the first page held about 30 tracks (3 shown plus 27 more). For the next page, pass `page_info.next_max_id` ("30" here) as `next_max_id` while `page_info.more_available` is true.
1 live route on Instagram, from $0.00099 per call. Every route below answered our last live test on 2026-10-07; the gateway re-tests them daily.
The upstream price you are metered at, cheapest first. A route without a published price says so.
| Provider | Endpoint | Price |
|---|---|---|
Music SearchGET ig/music_search | $0.00099$0.99 / 1k calls |
From a real call to the route: FlashAPI.
items[].track.idTrack iditems[].track.titleTrack titleitems[].track.display_artistArtist name shownitems[].track.duration_in_msTrack length in millisecondsitems[].track.progressive_download_urlURL to download the full audioitems[].track.web_30s_preview_download_urlURL of a 30 second previewitems[].track.cover_artwork_uriCover image URLitems[].track.audio_cluster_idId of the audio cluster the track belongs topage_info.next_max_idCursor to send as next_max_id for the next pagepage_info.more_availableTrue if more results existPaging: read `page_info.next_max_id` from the answer and send it back as `next_max_id=` for the next page; stop when it is empty or repeats. From MCP: call_endpoint("flashapi.music_search", params, pages=3) follows it for you.
HTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.
| Parameter | Type | Notes | |
|---|---|---|---|
| next_max_id | string · query | optional | |
| name | string · query | required | default 50 cente.g. nike |
curl "https://fetchapi.co/api/gw/flashapi/ig/music_search?name=nike" \ -H "x-api-key: YOUR_KEY"
call_endpoint("flashapi.music_search", {"name": "nike"}){
"items": [
{
"track": {
"id": "299217862512347",
"title": "Goodnight",
"subtitle": "",
"has_lyrics": false,
"is_explicit": false,
"dark_message": null,
"allows_saving": false,
"dash_manifest": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<MPD xmlns=\"urn:mpeg:dash:schema:mpd:2011\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"urn:…",
"audio_asset_id": "299217862512347",
"display_artist": "Mike Floss",
"duration_in_ms": 137163,
"sanitized_title": null,
"audio_cluster_id": "1427616681396196",
"cover_artwork_uri": "https://instagram.fkiv8-1.fna.fbcdn.net/v/t1.6435-1/82207066_2554671108140699_3520300769423130624_n.jpg?stp=dst-jpg_s720x720_tt6&_nc_cat=1&ccb=7-5&_nc_sid=68a4d…",
"…": "10 more fields"
},
"metadata": {
"is_bookmarked": false,
"is_trending_in_clips": false,
"allow_media_creation_with_music": true
}
},
{
"track": {
"id": "4142425685857932",
"title": "On Me",
"subtitle": "",
"has_lyrics": false,
"is_explicit": false,
"dark_message": null,
"allows_saving": false,
"dash_manifest": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<MPD xmlns=\"urn:mpeg:dash:schema:mpd:2011\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"urn:…",
"audio_asset_id": "4142425685857932",
"display_artist": "Mike Floss",
"duration_in_ms": 116450,
"sanitized_title": null,
"audio_cluster_id": "421004883059928",
"cover_artwork_uri": "https://instagram.fkiv8-1.fna.fbcdn.net/v/t1.6435-1/82207066_2554671108140699_3520300769423130624_n.jpg?stp=dst-jpg_s720x720_tt6&_nc_cat=1&ccb=7-5&_nc_sid=68a4d…",
"…": "10 more fields"
},
"metadata": {
"is_bookmarked": false,
"is_trending_in_clips": false,
"allow_media_creation_with_music": true
}
},
"… 2 more"
],
"status": "ok",
"page_info": {
"next_max_id": "30",
"more_available": true
},
"alacorn_session_id": "0Oqjxivyg0RQdAfP07466",
"licensed_music_eligibility_state": "unlaunched_country"
}Call it over HTTP or from any MCP client. Each key has a rate limit and a monthly cap; calls are metered at the upstream price.