App Logo
amazon.com

Add Amazon product to cart

Automatically add Amazon product to cart on amazon.com. Add a product to your Amazon.com shopping cart by ASIN, with an optional quantity. Returns the product's cart line after the add (quantity, price) and the cart's item count and subtotal. Products whose page offers only Buy Now or Pre-order now have no add-to-cart button and fail; use Buy Amazon product now for those.

Input

asin required

Product ASIN, e.g. B000Q5ZDLA.

quantity optional

How many to add. Must be offered in the product page quantity picker.

Default: 1

Output

asin required
line required

The product's cart line after the add; null if it is not in the cart.

subtotal optional
cart_count optional

FAQ

Add a product to your Amazon.com shopping cart by ASIN, with an optional quantity. Returns the product's cart line after the add (quantity, price) and the cart's item count and subtotal. Products whose page offers only Buy Now or Pre-order now have no add-to-cart button and fail; use Buy Amazon product now for those.
Ask an AI agent connected to Reduck to run reduck/amazon.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/amazon.com/add_to_cart
You do not need one. "Add Amazon product to cart" drives the real amazon.com pages in a browser, so it works whether or not amazon.com offers an API for this.
Required: asin. Optional: quantity.
It returns asin, line, subtotal, cart_count.
Yes. It acts as you on amazon.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the amazon.com cookies saved by the Reduck extension.
It makes changes on amazon.com, like sending, posting or booking something.
Ask an AI agent connected to Reduck to run reduck/amazon.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/amazon.com/add_to_cart
It is part of Reduck's official curated catalogue.

Start building not clicking