모든 사이트
Data API
Hm Data API
안티봇 우회가 내장된, 필요할 때 제공되는 구조화된 JSON 데이터.
4 엔드포인트Akamai · akamai_seccpt 자동 처리
예시 (실시간 캡처) 플레이그라운드 열기
JSON 응답구조화된 데이터 · 페이지 보기 없음
{
"market": "us",
"locale": "en_us",
"department": "men",
"count": 14,
"departments": [
{
"id": "men",
"name": "Men",
"url": "https://www2.hm.com/en_us/men.html",
"depth": 0,
"children": [
{
"id": "men/new-arrivals",
"name": "New in",
"url": "https://www2.hm.com/en_us/men/new-arrivals.html",
"depth": 1
},
{
"id": "men/global-node-1",
"name": "Holiday occasionwear",
"url": "https://www2.hm.com/en_us/men/global-node-1.html",
"depth": 1
},
{
"id": "men/global-node-2",
"name": "Quarter-Zip Styles",
"url": "https://www2.hm.com/en_us/men/global-node-2.html",
"depth": 1,
"marker": "New"
},
{
"id": "men/local-occasion",
"name": "The Holiday Gift Guide",
"url": "https://www2.hm.com/en_us/men/local-occasion.html",
"depth": 1
},
{
"id": "men/local-occasion-2",
"name": "UP TO 50% OFF SELECT STYLES",
"url": "https://www2.hm.com/en_us/men/local-occasion-2.html",
"depth": 1,
"marker": "New"
}
]
}
]
}
GET
/v1/hm/categories1크레딧 / 실행 검증됨Category Tree
The H&M shop menu for a market: departments (Women, Men, Kids, Home, Beauty) with their nested categories, each with an id, name, URL and depth.
자동 처리:Akamaiakamai_seccpt
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| 고급 필터 | |||
| department | string | 아니요 | Only this department, by id or name, e.g. women, men, kids. |
| max_depth | integer | 아니요 | Deepest level to include (0 = departments only). Default: full tree. |
| market | string | 아니요 | Store market. (기본값: us) |