Marketplace
No threads yet
Live

get_hm_product_details

www2.hm.com

Fetches H&M product details from https://www2.hm.com for an article code or product URL. Returns pricing, availability, color variants, sizes, and image galleries across all color options.

Parameters4
Runs11
Updated8d ago
Operational11 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_hm_product_details?

Fetches H&M product details from https://www2.hm.com for an article code or product URL. Returns pricing, availability, color variants, sizes, and image galleries across all color options. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass article_code, url, locale, timeout_seconds and get the result back without maintaining a scraper.

Response

{
  "url": "<string>",
  "locale": "<string>",
  "source": "<string>",
  "product": {},
  "variants": [
    {}
  ],
  "articleCode": "<string>",
  "variantCount": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/812a3581-a55f-439d-b5f8-19bcedde95bd/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "812a3581-a55f-439d-b5f8-19bcedde95bd",
    "variables": {
        "article_code": "0579541001",
        "url": "",
        "locale": "en_us",
        "timeout_seconds": 30
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="812a3581-a55f-439d-b5f8-19bcedde95bd") — the "get_hm_product_details" function, which fetches H&M product details from https://www2.hm.com for an article code or product URL. Returns pricing, availability, color variants, sizes, and image galleries across all color options..

It takes article_code (str), url (str), locale (str), timeout_seconds (int). Return the result as structured JSON.