List Amazon deals
Automatically list Amazon deals on amazon.com. List the deals on Amazon.com's deals page (Today's Deals, Black Friday), one page of 30 at a time: each deal's ASIN, title, URL, image, deal price and list price with their labels as Amazon writes them, the discount badge (for example "50% off"), the deal label (for example "Black Friday Deal", or "Ends in" before a countdown) and its end time, deal id, type (LIGHTNING_DEAL, BEST_DEAL, TOP_DEAL) and state, percent claimed for lightning deals, rating, review count and brand. Optional: a tab of the page (Lightning deals, Doorbusters, Top 100+…) by the id from tabs, refinements as group:value taken from refinements (department, brand, customer reviews, Prime programs), a discount range in percent and a price range. Returns the store's tabs and the refinements available for this view. Pass next_cursor back as cursor for the next page; it is null when the page is empty. A filter the page does not offer is refused, not ignored. Tabs and filters change with Amazon's events. A product without a deal of its own can appear in the grid; its deal fields are null.
Input
tab optionalA tab of the deals page, by its id from tabs (for example deal-collection-lightning). Omit for the page's default view.
cursor optionalnext_cursor of the previous page; 0 for the first.
Default: 0zipCode optionalUS ZIP code prices and availability are shown for. Default 10001.
maxPrice optionalMaximum deal price, in dollars.
minPrice optionalMinimum deal price, in dollars.
maxDiscount optionalMaximum discount in percent.
minDiscount optionalMinimum discount in percent.
refinements optionalFilters as group:value, taken from refinements of an earlier call: departments:<id>, brands:<id|name>, reviewRating:4, accessType:<id>. Values of one group are combined as the page does.
Output
url requiredtabs requireddeals requirednext_cursor requiredrefinements requiredtab optionalFAQ
Search Amazon products
Search Amazon by free-text query, with Amazon's own filters: department, sort order, price range, and the refinements of its left column (Prime, delivery speed, brand, customer reviews, condition, seller and the product's attributes), whose values List Amazon search filters gives. Returns one page of results: query, page, zip, url, has_next_page and items (asin, title, url, price, list_price, rating, review_count, image_url, sponsored, deal, badges, formats). deal is the deal the card shows: its id, its label as Amazon writes it, and the end of its countdown when it shows one. badges are the other badges of the card, for example Amazon's Choice or a sustainability label. formats lists each edition a result links to (for example Hardcover, Kindle and Audiobook for a book), with its own ASIN, URL and price when shown. has_next_page is false on the last page, on a page past the last one (Amazon stops near page 20) and when nothing matches; then Amazon can still show a few unrelated sponsored products. Organic results are stable per page but sponsored slots rotate between fetches.
Get Amazon product
Fetch a single Amazon product page by ASIN. Returns title, byline, brand, price, list_price, rating, review_count, rating_breakdown, availability, breadcrumb, image_url, feature_bullets, description, attributes, variant_asins, deal, badges, delivery_estimate, return_policy, and seller. deal is the deal the page shows: its id, its label as Amazon writes it (for example "Limited time deal" or "Black Friday Deal") and its end time. badges are the other badges next to the title, for example Amazon's Choice. The returned asin can differ from the requested one when Amazon resolves a variant. For books, brand is null and feature_bullets and attributes are usually empty. Audible audiobook ASINs open Audible's own product page instead, so they fail at once with an error that gives that page's URL.
Get Amazon product reviews
Fetch Amazon customer reviews for a product by ASIN, on a browser signed in to Amazon: amazon.com hides the reviews from signed-out visitors, and a signed-out run fails with an error that says to sign in. It returns 10 reviews at a time, with sort, star, media, verified-purchase and keyword filters, plus a cursor for the next 10; pass it back with the same filters to continue, until no cursor comes back (Amazon stops after about 10 pages). When Amazon limits review access for the account after unusual activity, its reviews pages show only the top reviews, with no filters and no paging: reviewAccess says so, a filter or a cursor then fails with an error that says why, and Request Amazon review access asks Amazon to restore access. Returns the product's rating summary and each review's rating, title, text, date, reviewer, country, variation, helpful votes, verified badge, Vine badge, images and videos. With sortBy=recent the pages can shift between calls as new reviews arrive; sortBy=helpful is more stable.
