iTunes API Valid Image Sizes

I needed to find out for work what images sizes were provided by iTunes. The API only provides links to 30×30, 60×60, and 100×100 pixel images. However, you can run a string replace to get larger sizes by replacing the string 100x100 with one of the below sizes. For example:

http://a3.mzstatic.com/us/r1000/019/Music/a6/79/4c/mzi.qqbuvikd.100x100-75.jpg

Eric Whitacre's Water Night

becomes:

http://a3.mzstatic.com/us/r1000/019/Music/a6/79/4c/mzi.qqbuvikd.1200x1200-75.jpg

Eric Whitacre's Water Night

To see whether this could be considered reliable, I ran a series of tests to check what sizes were available across a range of albums. I checked in increments of 25, up to 2000.

It looks like the following sizes can be used:

100
150
200
225
400
450
600
1200

If you want the code to try this on your own:

 

One Response to “iTunes API Valid Image Sizes”

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>