hm_listing
Fetch an H&M category product listing with prices, images, colors, and per-size stock. Paginate by page, sort results, and filter new items.
Instructions
Browse an H&M category's product listing. Returns one H&M category's product listing page: products with pricing, images, colors, and per-size stock. category_id is an H&M category slug (e.g. ladies_newarrivals_all, men_newarrivals_all, ladies_jeans) -- there is no category/nav-tree discovery endpoint, so category_id values come from known H&M storefront paths rather than a lookup call. Pagination is page-based and real: requesting a page beyond the category's real last page returns a normal response with an empty products array rather than an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, one-based, defaults to 1 | |
| sort | No | Sort order, defaults to RELEVANCE | |
| is_new | No | Optional filter for newly added items only | |
| page_size | No | Results per page, 1 to 72, defaults to 36 | |
| category_id | Yes | H&M category slug |