App Logo
costco.com

Get Costco product

Automatically get Costco product on costco.com. Fetch one Costco.com product page from its product id (the number at the end of a costco.com/p/... link, e.g. 4000410259) or the link itself: name, brand, Costco item number, online price in US dollars, availability, rating and rating count, image, description, feature bullets and breadcrumb, as the page states them. Prices are the signed-out online price (null on members-only items). A link that is not a product page fails with an error. Costco answers an unknown product id and a refused browser the same way (HTTP 429, empty page), so both fail with one error that says so.

Inputs

product optional

The product id (the digits at the end of a costco.com/p/... link, e.g. 4000410259) or the product page link itself.

product_id optional

Older form of the same input: the product id only. Pass `product` instead.

Output

url required
name required
product_id required
brand optional
price optional

Online price as the page states it.

rating optional
currency optional
features optional
image_url optional
breadcrumb optional
description optional
item_number optional

Costco item number (the page's Item #).

availability optional

schema.org availability as the page states it, e.g. InStock or OutOfStock.

rating_count optional

FAQ

Fetch one Costco.com product page from its product id (the number at the end of a costco.com/p/... link, e.g. 4000410259) or the link itself: name, brand, Costco item number, online price in US dollars, availability, rating and rating count, image, description, feature bullets and breadcrumb, as the page states them. Prices are the signed-out online price (null on members-only items). A link that is not a product page fails with an error. Costco answers an unknown product id and a refused browser the same way (HTTP 429, empty page), so both fail with one error that says so.
Ask an AI agent connected to Reduck to run reduck/costco.com/get-product, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/costco.com/get-product
You do not need one. "Get Costco product" drives the real costco.com pages in a browser, so it works whether or not costco.com offers an API for this.
Optional: product, product_id.
It returns url, name, brand, price, rating, currency, features, image_url, breadcrumb, product_id, description, item_number, availability, rating_count.
No. It only uses pages of costco.com that are reachable without signing in.
It only reads. It looks things up on costco.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/costco.com/get-product, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/costco.com/get-product
It is one of Reduck's official scripts.

Start building not clicking