Expert Tutorials
Code Examples
Industry Analysis
Best Practices

Articles tagged "Amazon Api"

Terminal window with the five-line Python function that formats an amount in a marketplace's own currency

Amazon Marketplace Currency Codes: A Lookup Table from the API

Amazon marketplace currency codes, names, symbols and default postcodes for all 23 marketplaces, straight from /amazon-get-marketplaces: 17 currencies, a shared dollar sign on two of them and the one marketplace with no decimal places. Includes a tested Python script that builds a cached lookup table and formats invoice lines correctly.

Terminal window with the Python function that checks category_id against the category tree before calling the Amazon Deals API

Amazon Deals API category_id: Why It Silently Returns Fewer Deals

The category_id parameter on /amazon-deals is never validated: an unknown department slug is not rejected, it is passed straight to Amazon's filter and just returns fewer or no deals, billed like any other answer. Check category_id against the real category tree before you call, the same way /amazon-bestsellers is checked, because here there is no error to catch a typo after the fact.

Terminal window with the Python function that dedupes Amazon offer rows before counting sellers

Amazon Offers API: Why len(offers) Is Not the Seller Count

/amazon-product-offers returns one row per offer, not one row per seller: a seller selling the same ASIN via FBA and FBM, or in two conditions, gets two rows. Dedupe offers on sellerId, deliveryDate, condition and fulfillmentType, then count the distinct sellerId values, to get the real seller count for a listing.

Power Your Business with Amazon Data

Join thousands of developers using SellerMagnet API for real-time Amazon product intelligence. Start extracting data in minutes.

150 free API credits • No credit card required • Cancel anytime