> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/platforms/hm/categories>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/hm/categories.mdx>

---

# H&M Categories API

The whole category menu of an H&M market, parents before their children.

`GET /v1/hm/categories` returns `data.categories[]` and `data.totalCount`. A category carries `id`, `name`, `parentId` (null at the top), `depth`, `path` (names from the top down), `url`, `groupTitle` and `highlighted`. Categories come parents first, so a tree can be built in one pass. `country` and `language` pick the market; a market without an online store answers 400 and is not charged.

## Request

- **Endpoint:** `GET /v1/hm/categories`
- **Credits:** 1 credit
Failed requests are free
- **Input:** by country
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/hm/categories/get)
- **Platform page:** [/platforms/hm](https://www.socialfetch.dev/platforms/hm)

## FAQ

### How many categories does a market have?

Several hundred to over a thousand. The US menu lists about 1,300, from Women, Men, Kids and Home down to individual product types and campaigns.

### How often does the menu change?

H&M adds and removes campaign entries every few days; the department structure changes rarely. Answers can be up to six hours old.

### Can I search inside a category?

Not directly. Use the category's name as the query for GET /v1/hm/search, and the departments and filters on the answer to narrow it.

### How much does the category list cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.
