App Logo
hp.com

Get an HP product

Automatically get an HP product on hp.com. Get one product of the HP US store (hp.com/us-en/shop) by its link or its HP part number: name, brand, price after instant savings, list price (MSRP), the savings text, currency, availability, product class (STO for a fixed model, CTO for a model you customize), GTIN, rating, review count, category path and images. An unknown part number or a link that HP answers with another page fails with an error that says so; find the product with Search HP products.

Inputs

url optional

HP US store product link (https://www.hp.com/us-en/shop/pdp/...), as Search HP products returns it.

product_id optional

HP part number, for example 7P8K6AV_1 (product_id of Search HP products). Used when no url is given.

Output

url required
name required
product_id required

HP part number.

gtin optional
brand optional
price optional

Price in US dollars, after the instant savings HP shows.

images optional
rating optional

Average customer rating out of 5.

currency optional
catalog_id optional

HP's internal catalog entry id of the product.

categories optional

Category path of the product page.

list_price optional

HP's suggested retail price (MSRP) in US dollars.

availability optional

Availability as HP gives it, for example InStock or OutOfStock.

review_count optional
product_class optional

STO for a fixed model, CTO for a model you can customize.

savings_message optional

The savings text HP shows, for example "Save $250 instantly".

FAQ

Get one product of the HP US store (hp.com/us-en/shop) by its link or its HP part number: name, brand, price after instant savings, list price (MSRP), the savings text, currency, availability, product class (STO for a fixed model, CTO for a model you customize), GTIN, rating, review count, category path and images. An unknown part number or a link that HP answers with another page fails with an error that says so; find the product with Search HP products.
Ask an AI agent connected to Reduck to run reduck/hp.com/get-product, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/hp.com/get-product
You do not need one. "Get an HP product" drives the real hp.com pages in a browser, so it works whether or not hp.com offers an API for this.
Optional: url, product_id.
It returns url, gtin, name, brand, price, images, rating, currency, catalog_id, categories, list_price, product_id, availability, review_count, product_class, savings_message.
No. It only uses pages of hp.com that are reachable without signing in.
It only reads. It looks things up on hp.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/hp.com/get-product, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/hp.com/get-product
It is one of Reduck's official scripts.

Start building not clicking