App Logo
instacart.com

Add to Instacart cart

Automatically add to Instacart cart on instacart.com. Add an Instacart.com product to one store's cart, by store slug and product id, in the given quantity (added to any already in that cart). Returns that store's cart after the add, with a review_hash per line. Refuses a product the store does not sell, a store Instacart has not in this delivery area, or a total above the most Instacart allows per order. On a browser that does not keep Instacart's cookies between runs, the cart does not persist.

Inputs

store required

The store's Instacart slug (e.g. "wegmans"), from Get Instacart product offers or the store's link.

product required

An Instacart product id or product link, from Search Instacart store products.

quantity optional
Default: 1

Output

added required
count required
lines required
store required
cartId required
total optional

FAQ

Add an Instacart.com product to one store's cart, by store slug and product id, in the given quantity (added to any already in that cart). Returns that store's cart after the add, with a review_hash per line. Refuses a product the store does not sell, a store Instacart has not in this delivery area, or a total above the most Instacart allows per order. On a browser that does not keep Instacart's cookies between runs, the cart does not persist.
Ask an AI agent connected to Reduck to run reduck/instacart.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/instacart.com/add_to_cart
You do not need one. "Add to Instacart cart" drives the real instacart.com pages in a browser, so it works whether or not instacart.com offers an API for this.
Required: store, product. Optional: quantity.
It returns added, count, lines, store, total, cartId.
No. It only uses pages of instacart.com that are reachable without signing in.
It makes changes on instacart.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/instacart.com/add_to_cart, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/instacart.com/add_to_cart
It is one of Reduck's official scripts.

Start building not clicking