Musicfetch

Lookup music by URL

You can lookup tracks, albums, and artists when you have an existing platform/store "source link". Musicfetch will first lookup the source content and then attempt to find matches across 25+ other platforms.

The /url endpoint accepts a URL from any supported music platform and returns normalized metadata with links to the same content across all requested services.

Example

curl "https://api.musicfetch.io/url?url=https://open.spotify.com/track/6habFhsOp2NvshLv26DqMb&services=appleMusic,youtube" \
-H "x-token: YOUR_TOKEN"

Endpoint

GET https://api.musicfetch.io/url

Query parameters

A music link from a supported platform: amazon,appleMusic,audiomack,awa,beatport,deezer,iHeartRadio,joox,kkbox,netease,qobuz,qqMusic,shazam,soundcloud,spotify,tidal,trebel,yandex,youseeMusik,youtube

A comma-separated list of music services to fetch matching data from (eg. …?services=appleMusic,youtube,amazonMusic).

Possible enum values
amazonamazonMusicanghamiappleMusicaudiomackaudiusawabandcampbeatportboomplaydeezerdiscogsflogaanageniusiHeartRadioinstagramjioSaavnjooxkkboxlineMusicnapsterneteasemusicBrainzpandoraqobuzqqMusicsevenDigitalshazamsoundcloudspotifytidaltiktoktrebelyandexyouseeMusikyoutubeyoutubeMusic
The country to fetch local links for (eg. US, GB, FR)
Possible enum values
ADAEAGAIAMARATAUAZBBBEBGBHBJBMBOBRBWBYBZCACGCHCLCNCOCRCVCYCZDEDKDMDOECEEEGESFIFJFMFRGBGDGHGMGRGTHKHNHUIDIEILINISITJOJPKEKGKHKNKRKYKZLALBLCLILKLTLULVMCMDMLMNMOMTMUMWMXMYNENGNINLNONPNZOMPAPEPGPHPLPTPWPYRORUSASBSESGSISKSLSTSVSZTDTHTJTMTRTTTWUAUGUSUYUZVEVGVNYEZAZW

Try it out

Use the interactive playground below to test the URL lookup endpoint with your own parameters. The playground will show you the exact request and response.