Get Instagram Trending Sound
Overview
The Get Instagram Trending Sound endpoint allows you to fetch trending songs and sounds from Instagram. You can retrieve trending music based on a search query, which can then be used when scheduling video posts to Instagram.
Instagram trending sounds and music are only supported for video posts. This functionality cannot be used with image posts.
This endpoint only works with Instagram accounts that are connected to Facebook (Business or Creator accounts). To check if your account is compatible, use the List Social Accounts endpoint and verify that:
account_typeis1social_network_typeisInstagram
If your Instagram account is not connected to Facebook (personal account), this endpoint will not return results.
Base URL:
https://www.oneupapp.io
Endpoint
GET /api/getinstagramtrendingsound
Request Parameters
| Parameter | Required | Description |
|---|---|---|
apiKey | Yes | Your personal API key generated from the API Access page. |
social_account_id | Yes | Your Instagram social account ID to authenticate the request. |
search_query | No | Search query to filter trending sounds (e.g., "game of thrones"). Can be empty or omitted for general trending sounds. |
Sample Request
With search query:
curl --location --request GET \
"https://www.oneupapp.io/api/getinstagramtrendingsound?apiKey=kgfpc74b6f9111cbb82e&social_account_id=17841459099133515&search_query=game%20of%20thrones"
Without search query (general trending sounds):
curl --location --request GET \
"https://www.oneupapp.io/api/getinstagramtrendingsound?apiKey=kgfpc74b6f9111cbb82e&social_account_id=17841459099133515"
With empty search query:
curl --location --request GET \
"https://www.oneupapp.io/api/getinstagramtrendingsound?apiKey=kgfpc74b6f9111cbb82e&social_account_id=17841459099133515&search_query="
Sample Response
[
{
"music_title": "Duas doses - vulgo fk feat. kaiqpr [reggae remix]",
"music_sound_id": "120667261041737",
"music_url": "https://video-ord5-2.xx.fbcdn.net/o1/v/t2/f2/m86/AQMEvDlVEe0Ciy0NEBvlKPMNV75Yff0JYAyjRcCjQXIuubMyQ5ow6XSK2eEcbTXhMQJPDWgWCG9CCkfY0L3IWpUl.mp4?_nc_cat=102&_nc_sid=8bf8fe&_nc_ht=video-ord5-2.xx.fbcdn.net&_nc_ohc=JZxnkOR-4DAQ7kNvwEBrQyv&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5WSV9VU0VDQVNFX1BST0RVQ1RfVFlQRS4uQzMuMC5wcm9ncmVzc2l2ZV9hdWRpbyIsInhwdl9hc3NldF9pZCI6OTUyMTY0NzY1ODk0OTE3LCJhc3NldF9hZ2VfZGF5cyI6MTA2MSwidmlfdXNlY2FzZV9pZCI6MTAwOTksImR1cmF0aW9uX3MiOjMzLCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=17-1&_nc_gid=WGpCgGvp6SrtULyKrM1Zkg&edm=AOP_XFkEAAAA&_nc_zt=28&oh=00_Af6mVPOlJ2GSgIySa8h2tNeCedxJMZIfxhlMuMuRzQ_qbQ&oe=6A177630"
}
]
✅ Result: The response contains an array of trending Instagram sounds with all the information needed to add music to your posts.
Using Trending Sounds in Posts
Once you retrieve trending sounds, you can use the audio information when scheduling Instagram posts.
| API Response Field | Description |
|---|---|
music_sound_id | Unique identifier for the audio track |
music_title | Name of the audio track |
music_url | Direct URL to download the audio file |
Tips & Notes
- This endpoint only works with Instagram accounts connected to Facebook (Business or Creator accounts). Verify your account is compatible by checking that
account_typeis1andsocial_network_typeisinstagramin the List Social Accounts endpoint. - Instagram trending sounds are only supported for video posts, not for image posts.
- Make sure your Instagram social account is active and not expired before fetching trending sounds.
- The
social_account_idmust exactly match the Instagram account ID retrieved from the List Social Accounts endpoint. - The
search_queryparameter is optional - omit it or leave it empty to get general trending sounds. - Use specific search terms to find trending sounds related to particular topics, songs, or themes.
- The
music_urlprovides a direct link to the audio file that can be used in your posts.
✅ Next Step: Combine this with the Create Video Post endpoint to schedule Instagram video posts with trending music.