7

I need to know the URL Scheme of Apple Music to open a specific song. Up to now I was using the link like this:

https://itunes.apple.com/us/album/monsieur-cousteau/id496076893?i=496076903&uo=4

That link, was working perfectly in iTunes Store, but now is not working any more. That's because the link is opened by Apple Music, and it seems to work because it opens the album, but not the specific song.

Kara
  • 6,115
  • 16
  • 50
  • 57
Dani G.
  • 577
  • 8
  • 21

1 Answers1

10

The structure of the links has changed there is now a flag in there for the open method:

iTunes:

https://geo.itunes.apple.com/au/album/monsieur-cousteau/id496076893?i=496076903&app=itunes

Apple music:

https://geo.itunes.apple.com/au/album/monsieur-cousteau/id496076893?i=496076903&mt=1&app=music

Note the app= at the end

There is a link generator here: https://tools.applemediaservices.com/ but I would imaging that you are generating these from your own log of apple ID's yes?

Also you will need to change the store, I am /au/ because I am in australia, these links don't always automatically forward the user and can give "Not available on your store" errors.

To get to a specific track you use this:

https://itunes.apple.com/au/album/monsieur-cousteau/id496076893?i=496076903&app=itunes&ign-mpt=uo%3D4#

Note the change in uo part, I am not sure how this particular part is generated as I got out of the industry a year ago but there is more information here: https://www.apple.com/itunes/affiliates/resources/documentation/tools_en.html unfortunately being I no longer work in the industry I am not classed as an affiliate any more.

Chris Messina
  • 65
  • 1
  • 6
Dan Donoghue
  • 6,056
  • 2
  • 18
  • 36
  • Thank you so much! I check it in the first days after the release and I didn't find it. Thanks :) – Dani G. Aug 23 '15 at 13:29
  • Is there a way to generate below apple music url: `https://geo.itunes.apple.com/au/album/monsieur-cousteau/id496076893?i=496076903&mt=1&app=music` As mentioned in post, earlier I used to generate it by creating search query like this: https://stackoverflow.com/a/26549356/4988884 – Mohnish Hirudkar Aug 28 '17 at 07:59