5

Is it possible to get the track id (or better, the entire track metadata) using an ISRC code?

Paul
  • 578
  • 1
  • 8
  • 23

1 Answers1

8

Yes, you can get information about a track given the ISRC using the Search endpoint.

For example, Metallica's Sad But True has the ISRC USEE10001993. A request to the Web API to retrieve the track metadata would be:

https://api.spotify.com/v1/search?type=track&q=isrc:USEE10001993

Michael Thelin
  • 4,710
  • 3
  • 23
  • 29
  • Awesome, thank you. Strange, the Spotify API docs I was reading was not this link...! – Paul Feb 05 '16 at 09:25
  • Do you know why you have to add a type=? ISRC is very specific (e.g. it couldn't match an album and song), so if I just have the ISRC code and not a type, would I need to run through every type= option until I got a hit? Thanks! – Paul Feb 05 '16 at 13:40
  • 4
    @Paul The ISRC always refers to a track. "ISRC codes are primarily used to identify and catalog individual songs (tracks) on an album." [source](https://www.isrcmusiccodes.com/general-faq.html#01) – José M. Pérez Feb 05 '16 at 16:48
  • HI, Any idea on how to get multiple tracks information by passing in multiple ISRC ids to the query param? – Saru Jun 16 '18 at 21:52