Amazon Cover Art

From MusicBrainz Wiki

This is for anyone who is interested in pulling large (1448x1448) cover art images from Amazon. Making some sort of script to pull the zoomed cover tiles and reassemble them automatically would be really great. In any case, here is some info I've discovered...

Tiles explanation

  • Lowest zoom level (0) is one 600x600 image.
  • Fully zoomed images (lvl3) are 1448x1448 made of 16 tiles.
    • 9 @ 400x400--main tiles, starting in top left corner
    • 3 @ 400x248--bottom edge
    • 3 @ 248x400--right edge
    • 1 @ 248x248--bottom right corner)
    • SCR(3,x,x).GIF

Example URLs

Full URL for a fully zoomed-in image tile:
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,0,2)_+o=01+s=RMTILE+va=MAIN+ve=384967877+e=.jpg

Variable explanation

  • a ==> Amazon album ASIN
    c ==> some sort of hard-coded key...change anything and you get nothing at all (but not 404s or another error...just nothing)
  • d=_SCR(%1,%2,%3) ==> tells Amazon which zoomed tile to send MUST include leading underscore to work
    • %1: zoom level (valid range is 0-3)...omitting defaults value to 0
    • %2: x position of tile (valid range is 0-%1)...omitting defaults value to 0
    • %3: y-position of tile (valid range is 0-%1)...omitting defaults value to 0
  • o ==> unknown...apparently ignored
  • s ==> unknown...apparently ignored
  • va ==> unknown...apparently ignored
  • ve ==> assumed to be hardcoded key; changes with album...apparently ignored
  • e ==> extension of file...all tiles are sent as JPEGs regardless of this value, but you can set e=.jpg if you really want to

Derived URLs

So the functional URL for a 600x600 image (zoom level 0) becomes:
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z

And the functional URLs for all max-zoomed tiles (omitting unused/ignored variables) become:
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,0,0)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,1,0)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,2,0)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,3,0)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,0,1)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,1,1)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,2,1)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,3,1)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,0,2)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,1,2)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,2,2)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,3,2)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,0,3)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,1,3)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,2,3)
http://z2-ec2.images-amazon.com/R/1/a=B00CLJ9ZUO+c=A17SFUTIVB227Z+d=_SCR(3,3,3)

See also

Other Amazon formats and other services with album art: User:Nikki/CAA