Search code examples
phpamazon-web-servicessoap-clientamazon-product-api

How can I get all amazon category products?


How can I get all amazon products from an existing category?

With the API, I can browse 10 pages and get for each page 10 products.

The category has 502348 products, and I would like to get them all.

Here is my code:

Amazon Product Advertising API <?php ?>
$params = array(
        'Operation' => 'ItemSearch',
        'SearchIndex'=>'Electronics',
        //'BrowseNode'=>'281052',
        'ResponseGroup'=>'small',
        //'MerchantId' => 'All',
        //'Condition'=>'New',
        'ItemPage'=>'1471',

Solution

  • You're seeing a new limitation imposed by Amazon. From the Product Advertising API home page:

    ItemPage parameter will be limited to a maximum of 10 pages for ItemSearch results