सभी साइटें
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) |