Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A Python wrapper for the Amazon Product Advertising API.

Project Description

This module offers a light-weight access to the latest version of the Amazon Product Advertising API without getting in your way.

The Amazon Product Advertising API provides programmatic access to Amazon’s product selection and discovery functionality. It has search and look up capabilities, provides information on products and other features such as Reviews, Similar Products and New and Used listings.

Basic usage

In order to use this API you’ll obviously need an Amazon Associates Web Service account for which you must with Amazon at Each account contains an AWSAccessKeyId and a SecretKey.

Create a file ~/.amazon-product-api containing the following data:

access_key = <your access key>
secret_key = <your secret key>
associate_tag = <your associate id>

Here is an example how to use the API to search for books of a certain publisher:

from amazonproduct import API
api = API(locale='de')

# get all books from result set and
# print author and title
for book in api.item_search('Books', Publisher='Galileo Press'):
    print '%s: "%s"' % (book.ItemAttributes.Author,

In the background the API will iteratively retrieve all available result pages from Amazon and return each book in turn as a lxml.objectified element.

In general, this module offers a number of convenience methods that will deal with the nitty-gritty details like error checking so you won’t have to. Please refer to the extensive documentation for more details.


In order to install python-amazon-product-api you can use:

pip install python-amazon-product-api

or download the source package from, untar it and run

python install

You’ll also find binaries there to make your life easier if you happen to use a Windows system. If not, please send me an e-mail and complain loudly!


The development version is available Feel free to clone the repository and add your own features.

hg clone

Patches are always welcome! Please make sure that your change does not break the tests!


This module is release under the BSD License. You can find the full text of the license in the LICENSE file.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node

History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(642.4 kB) Copy SHA256 Hash SHA256
Source None Mar 30, 2014
(232.2 kB) Copy SHA256 Hash SHA256
Windows Installer 2.7 Jan 23, 2015
(245.8 kB) Copy SHA256 Hash SHA256
Windows MSI Installer 2.7 Jan 23, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers