Marketplace
No threads yet
Live

get_hm_category_products

www2.hm.com

Fetches one paginated H&M category listing from https://www2.hm.com. Returns up to 36 products with complete non-empty record data, including prices, images, color swatches, available sizes, and pagination metadata.

Parameters2
Runs11
Updated10d ago
Degraded11 runs · 90.9% 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_category_products?

Fetches one paginated H&M category listing from https://www2.hm.com. Returns up to 36 products with complete non-empty record data, including prices, images, color swatches, available sizes, and pagination metadata. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass category_path, page and get the result back without maintaining a scraper.

Response

{
  "hits": [
    {}
  ],
  "heading": "<string>",
  "totalHits": 0,
  "pagination": {},
  "totalVideos": 0,
  "categoryPath": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/679be107-fa7f-4a1b-9947-80fc4f029b58/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "679be107-fa7f-4a1b-9947-80fc4f029b58",
    "variables": {
        "category_path": "women/products/view-all",
        "page": 1
    }
}'

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="679be107-fa7f-4a1b-9947-80fc4f029b58") — the "get_hm_category_products" function, which fetches one paginated H&M category listing from https://www2.hm.com. Returns up to 36 products with complete non-empty record data, including prices, images, color swatches, available sizes, and pagination metadata..

It takes category_path (str), page (int). Return the result as structured JSON.