How do I get the price listed ONLY on the Amazon product page with the API?

626 views Asked by At

I'm using the Amazon API with PHP to return product information. All is well enough except that what I want is the price that you see on the Amazon front page which is sometimes in [Offers][Offer][OfferListing][Price][Amount] and sometimes in [OfferSummary][LowestNewPrice][Amount].

Is there no way to always get the same price that Amazon shows people? I tried always choosing the lower price, but that ended up picking the lowest new offer from Marketplace sellers that, when you factor in shipping was more than what Amazon was charging.

There's an Amazon API test function here: http://associates-amazon.s3.amazonaws.com/scratchpad/index.html (though you won't be able to play with it if you don't have your own Amazon API setup).

1

There are 1 answers

7
baao On

The operation you need to call is

GetCompetitivePricingForASIN 

or

GetCompetitivePricingForSKU 

The price showed to the costumer (and including shipping) is located here:

         ....
         <Price>
            <LandedPrice>  
              <CurrencyCode>USD</CurrencyCode>
              <Amount>34.27</Amount> //<<<<<< this one!
            </LandedPrice>
         ....