search_hm_products
www2.hm.comSearches the H&M catalog on https://www2.hm.com by keyword using H&M's structured search API. Returns matching products, pricing, images, facets, and pagination with up to 45 products per page.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_hm_products?
Searches the H&M catalog on https://www2.hm.com by keyword using H&M's structured search API. Returns matching products, pricing, images, facets, and pagination with up to 45 products per page. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass keyword, page, page_size, locale, touch_point, timeout_seconds and get the result back without maintaining a scraper.
Response
{
"facets": [
{}
],
"locale": "<string>",
"source": "<string>",
"keyword": "<string>",
"products": [
{}
],
"totalHits": 0,
"pagination": {},
"searchMeta": {},
"sliceRanges": [
{}
],
"sortOptions": [
{}
],
"searchDepartments": [
{}
]
}Call it
curl --location 'https://us-prod.notte.cc/functions/1e4be2fd-132f-402d-bdfb-c49949959cc4/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "1e4be2fd-132f-402d-bdfb-c49949959cc4",
"variables": {
"keyword": "dress",
"page": 1,
"page_size": 45,
"locale": "en_us",
"touch_point": "desktop",
"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.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="1e4be2fd-132f-402d-bdfb-c49949959cc4") — the "search_hm_products" function, which searches the H&M catalog on https://www2.hm.com by keyword using H&M's structured search API. Returns matching products, pricing, images, facets, and pagination with up to 45 products per page.. It takes keyword (str), page (int), page_size (int), locale (str), touch_point (str), timeout_seconds (int). Return the result as structured JSON.