H&M Product Detail

API docs
https://api.sandbase.ai/v1/api/hm/product-detail

Fetch product details including pricing, availability, color variants, and images for a given article code or product URL. Returns full variant information with all color options, stock states, and image galleries. Either article_code or url must be provided.

Price
$0.03USD / call
Method
POST
Response
JSON
Parameters
0 required · 2 optional

Playground

Input
Full product URL (e.g. 'https://www2.hm.com/en_us/productpage.0685816001.html'). Either article_code or url must be provided.
Article code (e.g. '0685816001', '1347416001'). Either article_code or url must be provided.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

API README

H&M Product Detail API

Fetch product details including pricing, availability, color variants, and images for a given article code or product URL. Returns full variant information with all color options, stock states, and image galleries. Either article_code or url must be provided.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "hm/product-detail", "url": "", "article_code": "1347416001"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
article_codestringNoArticle code (e.g. '0685816001', '1347416001'). Either article_code or url must be provided.
urlstringNoFull product URL (e.g. 'https://www2.hm.com/en_us/productpage.0685816001.html'). Either article_code or url must be provided.

Pricing

Flat $0.03 per call. Failed calls are not charged.

Explore more

Related APIs

All APIs
APIPriceResponse
H&M$0.03 per callJSON
H&M$0.03 per callJSON
H&M$0.03 per callJSON
H&M$0.03 per callJSON
H&M$0.03 per callJSON
H&M$0.03 per callJSON

Questions

FAQ

How do I use the H&M Product Detail API?

Send a POST request to https://api.sandbase.ai/v1/api/hm/product-detail with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the H&M Product Detail API cost?

$0.03 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the H&M Product Detail API accept?

No parameters are required. Optional: url (string) and article_code (string). The Parameters table and the Playground on this page list every field.

What does the H&M Product Detail API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a H&M developer account or API key?

No. H&M Product Detail runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for H&M API access separately.