Downloading Product Images from Amazon

by Christopher Calvi on July 25, 2008

If you have happen to have a list of ASINs and you want the product images from Amazon, it’s a lot easier than I expected to grab them. Their consistent naming structure makes it easy to put together a list of URLs to their Amazon’s product images of different sizes.

All images are available at http://images.amazon.com/images/P/

Then, you tack on your ASIN, in this case, we’ll use B0018QUCL2 (the excellent Rome 1960: The Olympics That Changed the World), a “.01″ to designate the US country code, and one of these final suffixes:

  • Large size: _SL500_.jpg
  • Medium size: ._SL160_.jpg
  • Small size: ._SL110_.jpg
  • Thumbnail size: ._SL110_.jpg
  • Tiny: ._SL75_.jpg
  • Very small (swatch) size: _SL30_.jpg

The final URL looks like this:
http://images.amazon.com/images/P/B0018QUCL2.01_SL500_.jpg

Once you get your list together, throw it into wget, and in minutes you’ll have the images you need for every single ASIN. For bonus fun, to add a “30% off” (or any percentage) badge to an image, append “_PE30″ to the URL, right after the “.01.” http://images.amazon.com/images/P/B0018QUCL2.01._PE99_SL500_.jpg

Leave a Comment

Previous post:

Next post: