Search code examples
iphoneweb-servicesmacosapp-storeitunes

How can I fetch information about the app/song/video etc. from iTunes Store?


I need to get an info about the app/song/video by item id from iTunes Store.

I've found this

But it doesn't work with apps.

Is there any public API?

UPD: I can get info using this link , but this is not a structured data it's just a markup for iTunes to display stuff. I can't rely on that - it can be changed anytime and is hard to parse because it has no consistent structure...


Solution

  • Apple now seems to offer a friendlier search service returning JSON. NB: the documentation does stipulate that the API is for use in connection with promoting the search results (i.e. it's designed for affiliate links).

    Example, fetching info about an app if you know its Apple ID:

    http://itunes.apple.com/lookup?id=[appleID]
    

    General keyword search

    http://itunes.apple.com/search?term=[query]