To begin, the Roblox account isn’t where you would want to get a list of songs IDs since Roblox also uploads SFX audios.
Instead, you should check out Roblox’s Monstercats partnership account, all the audios uploaded there are all actual songs.
Monstercat’s Audio Library
Next, you’ll want to use Roproxy inorder to access Roblox’s Inventory API since Roblox doesn’t allow their own servers to access their own API if I am remembering correctly, and then use HttpService to gather all of Monstercats’ audio.
This is the HTTP Request for Monstercats audio inventory.
https://inventory.roproxy.com/v2/users/1750384777/inventory/3?sortOrder=Asc&limit=100
Now the API will return you with a data set looking like this
"data":[{"assetName":"Dion Timmer feat. Micah Martin - Internet Boy","userAssetId":70850261168,"assetId":5410084870,"owner":{"userId":1750384777,"username":"Monstercat","buildersClubMembershipType":0},"created":"2020-07-22T19:55:19.44-05:00","updated":"2020-07-22T19:55:19.44-05:00"},
All you have to do is loop through the data and gather all the assetId
s.
Make sure to check if the API request fails so it can retry again.
Also, it appears some audios were removed for copyright on the official Monstercat account, so you’ll probably want to filter those out too.