Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

[Question] Linked Tracks

[Question] Linked Tracks

Spotify seems to smartly link multiple uploads of the same song in order to aggregate combined stats (play counts) and also relink between those version in case the original track is not available in a given market.

From my testing, this linking goes beyond just using ISRCs and it's really hard to get a comprehensive picture of all of the individual IDs linked to the same song. Some of them can be obtained by calling the Get Tracks endpoint with a market parameter - but that's super inefficient and also doesn't seem to return each ID that is currently linked to the global track.

Would it be possible to return all of the IDs linked to a track besides passing in any market parameters? I essentially only want one version of each song in my database and could then ignore any other ID because the audio-features are exactly the same.

Reply
2 Replies

Hey there, thanks for your post here!

Hmm, I've taken a look and it seems that if you pass a market parameter, you'll get back the 'linked_from' object containing information about the original track. There's some more information on how Track Relinking works here: https://developer.spotify.com/documentation/general/guides/track-relinking-guide/.

Let me know if that clears things up!

Happy coding,
Hubo
HuboSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Hey Hubo,

Thanks for your response. I read those articles before my original question and as explained in my post am well aware of the market parameter for the Get Tracks endpoint. 

What I am looking for is a full list of all of the Spotify Track IDs linked to the same song. Using the market param is incomplete (only returns a small subset of the linked IDs) and inefficient (requiring individual calls for each market). 

It would be great if the global response (without any market param) could return all of the IDs currently linked to the same song.

Suggested posts