Musicfetch

Lookup album by UPC

If you have the UPC (Universal Product Code) for an album you can use the /upc endpoint. Musicfetch will first lookup the album by UPC on Spotify and then attempt to find matches across 25+ other platforms. We merge all the matches found and return a normalized MusicfetchAlbum object.

Example

curl "https://api.musicfetch.io/upc?upc=00602537618132&services=appleMusic,youtube" \
-H "x-token: YOUR_TOKEN"

Endpoint

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

Query parameters

Universal Product Code (e.g. 00602547924766)

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 UPC lookup endpoint with your own parameters. The playground will show you the exact request and response.