Musicfetch

Get the Spotify song link from a Deezer link

How to use Musicfetch to find the Spotify link for any song using a Deezer track URL

Want to quickly get the Spotify link for a song you found on Deezer? Musicfetch makes it easy to convert any supported Deezer track link to its Spotify equivalent.

How to use Musicfetch API to get a Spotify link from Deezer

Use the /url endpoint with a Deezer track URL and set services=spotify in the query. You can use any supported Deezer track link. See the track lookup API docs for more details.

From a Deezer track URL

curl 'https://api.musicfetch.io/api/url?url=https%3A%2F%2Fwww.deezer.com%2Ftrack%2F142986206&services=spotify' \
-H 'x-musicfetch-token: YOUR_TOKEN'

Example response

The Musicfetch response contains merged links/metadata from Deezerand Spotify.

{
"result": {
"type": "track",
"name": "Perfect",
"services": {
"spotify": {
"link": "https://open.spotify.com/track/0tgVpDi06FyKpA1z0VMD4v",
},
"deezer": {
"link": "https://www.deezer.com/track/142986206",
}
}
}
}