H 和 M API

API ID 16081

46个国家的时尚产品:可使用所有筛选条件进行产品搜索,浏览类别、产品详情、颜色、尺码和材质、线上和实体店库存、评论、评分以及实体店

API 文档

端点

请求
返回 H&M 在线商店的品类树(女装 男装 儿童 婴儿 家居 美妆 促销等)每个品类包含其名称 /category/products 端点接受的“category”值 类型 是否列出商品 标记(如“新品”)及链接和子品类
Endpoint ID: 45903
GET https://zylalabs.com/api/16081/h+and+m+api/45903/categories
输入参数

类别 — 端点功能

对象 描述
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

country
language
API 示例响应
JSON
[
    {
        "name": "Women",
        "category": "ladies",
        "type": "department",
        "has_products": false,
        "marker": null,
        "link": "https://www2.hm.com/en_us/ladies.html",
        "subcategories": [
            {
                "name": "New in",
                "category": "ladies/new-arrivals/view-all",
                "type": "subdepartment",
                "has_products": true,
                "marker": null,
                "link": "https://www2.hm.com/en_us/ladies/new-arrivals.html",
                "subcategories": []
            },
            {
                "name": "HOLIDAY PARTYWEAR",
                "category": "ladies/shop-by-feature/cful265c01d-the-main-event",
                "type": "editorialcampaignpage",
                "has_products": true,
                "marker": "New",
                "link": "https://www2.hm.com/en_us/ladies/global-node-1.html",
                "subcategories": []
            },
            {
                "name": "Family Matching sets",
                "category": "ladies/seasonal-trending/giftguide2026/holiday-family-matching",
                "type": "editorialcampaignpage",
                "has_products": true,
                "marker": "New",
                "link": "https://www2.hm.com/en_us/ladies/local-occasion.html",
                "subcategories": []
            }
        ]
    }
]
类别 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45903/categories?country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出 H&M 某个类别的商品 每页 36 件 并提供筛选条件 价格范围和排序方式 每件商品均包含其货号 名称 品牌 颜色 当前价格和原价 会员价 类别 标记 是否为新品 库存状态 图片 所有尺码及其 SKU 和库存 其他颜色以及链接 答案还会给出类别 ID 和名称 并列出该类别的筛选条件(颜色 尺码 商品类型 材质 版型 风格 品牌 折扣等)及其每个选项 对应数量和采用的“filters”值 以及价格范围
Endpoint ID: 45904
GET https://zylalabs.com/api/16081/h+and+m+api/45904/category+products
输入参数

分类产品 — 端点功能

对象 描述
category 必需 Category (e.g. "ladies/shop-by-product/shirts-and-blouses"). Use the /category/list endpoint to list valid values.
filters 可选 Optional filter values in the form "<filter>:<value>", as the "filter" of each value in the "filters" of the answer (e.g. "colorWithNames:black_000000"; the values follow the language of the store). Several values of one filter are joined with "|" ("colorWithNames:black_000000|white_ffffff") and several filters with "||" ("colorWithNames:black_000000||sale:true").
min_price 可选 Optional minimum price in the store's currency.
max_price 可选 Optional maximum price in the store's currency.
sort 可选 Optional sort order: "relevance", "newest", "price_asc" or "price_desc" (defaults to "relevance").
page 可选 Optional page number (defaults to 1).
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

category
filters
min_price
max_price
sort
page
country
language
API 示例响应
JSON
{
    "category": {
        "id": "ladies_shirtsblouses",
        "name": "Women's Blouses & Shirts"
    },
    "total": 523,
    "page": 1,
    "page_size": 36,
    "total_pages": 15,
    "products": [
        {
            "id": "1220978055",
            "name": "Shirt",
            "brand": "H&M",
            "color": "Dusty blue/striped",
            "price": 19.99,
            "original_price": null,
            "formatted_price": "$19.99",
            "formatted_original_price": null,
            "member_price": null,
            "category": "ladies_shirtsblouses_shirts",
            "markers": [],
            "is_new": false,
            "stock_state": "Available",
            "coming_soon": false,
            "image": "https://image.hm.com/assets/hm/26/d8/26d89890b27a8db636bf0b494f6cc214ed3bf4ea.jpg",
            "model_image": "https://image.hm.com/assets/hm/cc/3d/cc3da43010a657852a416a145932c2b466494a6d.jpg",
            "images": [
                "https://image.hm.com/assets/hm/69/33/6933f1fe4dfc88626152e8c77d0e1caf790a4480.jpg",
                "https://image.hm.com/assets/hm/13/1f/131ffa5f3781a86322f505959e2b50e396f770d7.jpg",
                "https://image.hm.com/assets/hm/11/33/11336931819153270a5c7a1092391679a780e32a.jpg",
                "https://image.hm.com/assets/hm/e8/69/e8692fc52af4737020a44b3b410f2573edbd92cf.jpg",
                "https://image.hm.com/assets/hm/ec/0a/ec0a76218048ddd54b0a17bf3f4fd302254b6224.jpg"
            ],
            "has_video": false,
            "sizes": [
                {
                    "id": "002",
                    "name": "XS",
                    "sku": "1220978055002",
                    "stock": "in_stock"
                },
                {
                    "id": "003",
                    "name": "S",
                    "sku": "1220978055003",
                    "stock": "in_stock"
                },
                {
                    "id": "004",
                    "name": "M",
                    "sku": "1220978055004",
                    "stock": "in_stock"
                },
                {
                    "id": "005",
                    "name": "L",
                    "sku": "1220978055005",
                    "stock": "in_stock"
                },
                {
                    "id": "006",
                    "name": "XL",
                    "sku": "1220978055006",
                    "stock": "in_stock"
                },
                {
                    "id": "007",
                    "name": "XXL",
                    "sku": "1220978055007",
                    "stock": "in_stock"
                }
            ],
            "colors": [
                {
                    "id": "1220978055",
                    "name": "Dusty blue/striped",
                    "hex": "#8C9EC7",
                    "image": "https://image.hm.com/assets/hm/26/d8/26d89890b27a8db636bf0b494f6cc214ed3bf4ea.jpg"
                },
                {
                    "id": "1220978026",
                    "name": "Black",
                    "hex": "#272628",
                    "image": "https://image.hm.com/assets/hm/75/1f/751f48fd3e49f8f56c70e54c08b9f3b9e79ad297.jpg"
                },
                {
                    "id": "1220978038",
                    "name": "White",
                    "hex": "#ECE7E1",
                    "image": "https://image.hm.com/assets/hm/d3/ee/d3ee98f234236d4d2fa58e9713db0adae15e42e1.jpg"
                },
                {
                    "id": "1220978048",
                    "name": "Burgundy/striped",
                    "hex": "#4B262D",
                    "image": "https://image.hm.com/assets/hm/a0/bb/a0bb252f56a638f92588def253e28b0da8ed4712.jpg"
                },
                {
                    "id": "1220978052",
                    "name": "Red/striped",
                    "hex": "#642B3B",
                    "image": "https://image.hm.com/assets/hm/3e/26/3e261204d3568549860bce25ae9869f1d0fcb38d.jpg"
                },
                {
                    "id": "1220978051",
                    "name": "Navy blue/striped",
                    "hex": "#393B47",
                    "image": "https://image.hm.com/assets/hm/46/be/46be92ef351f6f235f4d03b03ca9e29f3263e640.jpg"
                },
                {
                    "id": "1220978049",
                    "name": "Navy blue/striped",
                    "hex": "#393B47",
                    "image": "https://image.hm.com/assets/hm/3f/4c/3f4ce4f1e54c4778a47dc493dbb734849673728b.jpg"
                }
            ],
            "link": "https://www2.hm.com/en_us/productpage.1220978055.html"
        }
    ],
    "filters": [
        {
            "id": "priceRange",
            "name": "Price",
            "type": "range",
            "min": 14.99,
            "max": 419
        }
    ]
}
分类产品 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45904/category+products?category=ladies/shop-by-product/shirts-and-blouses&sort=relevance&page=1&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出 H&M 在线商店接受的“country”参数值,以及每个值对应的名称、默认语言、“language”参数接受的所有语言及其对应的网站
Endpoint ID: 45905
GET https://zylalabs.com/api/16081/h+and+m+api/45905/countries
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "country": "AT",
        "name": "Austria",
        "default_language": "de",
        "languages": [
            {
                "language": "de",
                "website": "https://www2.hm.com/de_at/index.html"
            }
        ]
    },
    {
        "country": "AU",
        "name": "Australia",
        "default_language": "en",
        "languages": [
            {
                "language": "en",
                "website": "https://www2.hm.com/en_au/index.html"
            }
        ]
    },
    {
        "country": "BE",
        "name": "Belgium",
        "default_language": "fr",
        "languages": [
            {
                "language": "fr",
                "website": "https://www2.hm.com/fr_be/index.html"
            },
            {
                "language": "nl",
                "website": "https://www2.hm.com/nl_be/index.html"
            }
        ]
    },
    {
        "country": "BG",
        "name": "Bulgaria",
        "default_language": "bg",
        "languages": [
            {
                "language": "bg",
                "website": "https://www2.hm.com/bg_bg/index.html"
            }
        ]
    },
    {
        "country": "CA",
        "name": "Canada",
        "default_language": "en",
        "languages": [
            {
                "language": "en",
                "website": "https://www2.hm.com/en_ca/index.html"
            },
            {
                "language": "fr",
                "website": "https://www2.hm.com/fr_ca/index.html"
            }
        ]
    },
    {
        "country": "CH",
        "name": "Switzerland",
        "default_language": "de",
        "languages": [
            {
                "language": "de",
                "website": "https://www2.hm.com/de_ch/index.html"
            },
            {
                "language": "fr",
                "website": "https://www2.hm.com/fr_ch/index.html"
            },
            {
                "language": "it",
                "website": "https://www2.hm.com/it_ch/index.html"
            }
        ]
    },
    {
        "country": "CY",
        "name": "Cyprus",
        "default_language": "en",
        "languages": [
            {
                "language": "en",
                "website": "https://www2.hm.com/en_eur/index.html"
            }
        ]
    },
    {
        "country": "CZ",
        "name": "Czechia",
        "default_language": "cs",
        "languages": [
            {
                "language": "cs",
                "website": "https://www2.hm.com/cs_cz/index.html"
            }
        ]
    },
    {
        "country": "DE",
        "name": "Germany",
        "default_language": "de",
        "languages": [
            {
                "language": "de",
                "website": "https://www2.hm.com/de_de/index.html"
            }
        ]
    },
    {
        "country": "DK",
        "name": "Denmark",
        "default_language": "da",
        "languages": [
            {
                "language": "da",
                "website": "https://www2.hm.com/da_dk/index.html"
            }
        ]
    },
    {
        "country": "EE",
        "name": "Estonia",
        "default_language": "en",
        "languages": [
            {
                "language": "en",
                "website": "https://www2.hm.com/en_eur/index.html"
            }
        ]
    },
    {
        "country": "ES",
        "name": "Spain",
        "default_language": "es",
        "languages": [
            {
                "language": "es",
                "website": "https://www2.hm.com/es_es/index.html"
            }
        ]
    },
    {
        "country": "FI",
        "name": "Finland",
        "default_language": "fi",
        "languages": [
            {
                "language": "fi",
                "website": "https://www2.hm.com/fi_fi/index.html"
            },
            {
                "language": "sv",
                "website": "https://www2.hm.com/sv_fi/index.html"
            }
        ]
    },
    {
        "country": "FR",
        "name": "France",
        "default_language": "fr",
        "languages": [
            {
                "language": "fr",
                "website": "https://www2.hm.com/fr_fr/index.html"
            }
        ]
    },
    {
        "country": "GB",
        "name": "United Kingdom",
        "default_language": "en",
        "languages": [
            {
                "language": "en",
                "website": "https://www2.hm.com/en_gb/index.html"
            }
        ]
    },
    {
        "country": "GR",
        "name": "Greece",
        "default_language": "el",
        "languages": [
            {
                "language": "el",
                "website": "https://www2.hm.com/el_gr/index.html"
            }
        ]
    },
    {
        "country": "HK",
        "name": "Hong Kong",
        "default_language": "en",
        "languages": [
            {
                "language": "en",
                "website": "https://www2.hm.com/en_hk/index.html"
            },
            {
                "language": "zh",
                "website": "https://www2.hm.com/zh_hk/index.html"
            }
        ]
    },
    {
        "country": "HR",
        "name": "Croatia",
        "default_language": "en",
        "languages": [
            {
                "language": "en",
                "website": "https://www2.hm.com/en_eur/index.html"
            }
        ]
    },
    {
        "country": "HU",
        "name": "Hungary",
        "default_language": "hu",
        "languages": [
            {
                "language": "hu",
                "website": "https://www2.hm.com/hu_hu/index.html"
            }
        ]
    },
    {
        "country": "IE",
        "name": "Ireland",
        "default_language": "en",
        "languages": [
            {
                "language": "en",
                "website": "https://www2.hm.com/en_ie/index.html"
            }
        ]
    },
    {
        "country": "IN",
        "name": "India",
        "default_language": "en",
        "languages": [
            {
                "language": "en",
                "website": "https://www2.hm.com/en_in/index.html"
            }
        ]
    },
    {
        "country": "IT",
        "name": "Italy",
        "default_language": "it",
        "languages": [
            {
                "language": "it",
                "website": "https://www2.hm.com/it_it/index.html"
            }
        ]
    },
    {
        "country": "JP",
        "name": "Japan",
        "default_language": "ja",
        "languages": [
            {
                "language": "ja",
                "website": "https://www2.hm.com/ja_jp/index.html"
            }
        ]
    }
]
国家 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45905/countries' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出“sort”参数可取的值:在商品列表中(相关性、最新、价格从低到高、价格从高到低),在评论中(最新、最早、评分最高和最低、最有帮助、最长)
Endpoint ID: 45906
GET https://zylalabs.com/api/16081/h+and+m+api/45906/sort+orders
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
{
    "products": [
        "relevance",
        "newest",
        "price_asc",
        "price_desc"
    ],
    "reviews": [
        "newest",
        "oldest",
        "rating_desc",
        "rating_asc",
        "most_helpful",
        "longest"
    ]
}
排序订单 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45906/sort+orders' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某个国家/地区可在线订购的 H&M 商品各尺码的件数,每个尺码均附有其 SKU 及是否有库存的信息
Endpoint ID: 45907
GET https://zylalabs.com/api/16081/h+and+m+api/45907/product+availability
输入参数

产品可用性 — 端点功能

对象 描述
product_id 必需 Article id of 10 digits (e.g. "0932278001") or a product link. Use the /search or /category/products endpoints to list valid values.
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

product_id
country
language
API 示例响应
JSON
{
    "id": "0932278001",
    "country": "US",
    "sizes": [
        {
            "sku": "0932278001001",
            "size_id": "001",
            "size": "XXS",
            "online_quantity": 0,
            "in_stock": false
        },
        {
            "sku": "0932278001002",
            "size_id": "002",
            "size": "XS",
            "online_quantity": 1076,
            "in_stock": true
        },
        {
            "sku": "0932278001003",
            "size_id": "003",
            "size": "S",
            "online_quantity": 1584,
            "in_stock": true
        },
        {
            "sku": "0932278001004",
            "size_id": "004",
            "size": "M",
            "online_quantity": 1968,
            "in_stock": true
        },
        {
            "sku": "0932278001005",
            "size_id": "005",
            "size": "L",
            "online_quantity": 2054,
            "in_stock": true
        },
        {
            "sku": "0932278001006",
            "size_id": "006",
            "size": "XL",
            "online_quantity": 1053,
            "in_stock": true
        },
        {
            "sku": "0932278001007",
            "size_id": "007",
            "size": "XXL",
            "online_quantity": 246,
            "in_stock": true
        },
        {
            "sku": "0932278001015",
            "size_id": "015",
            "size": "4XL",
            "online_quantity": 74,
            "in_stock": true
        },
        {
            "sku": "0932278001016",
            "size_id": "016",
            "size": "3XL",
            "online_quantity": 63,
            "in_stock": true
        }
    ]
}
产品可用性 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45907/product+availability?product_id=0932278001&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回一种颜色下 H&M 商品(单品)的详细信息:单品和商品 ID、名称、品牌、类别、商品类型、描述、颜色和十六进制值、当前价格和原价、折扣、货币、标记、是否即将发售或仅在门店销售、图片及其类型和描述、每个尺码及其 SKU、库存情况以及是否仅剩少量、各部分的成分、材料说明、优选材料和认证材料、护理说明、属性(重量、尺寸、版型、长度、领口……)、该商品的每种颜色及其单品 ID、十六进制值、图片和价格、与其搭配的单品、面包屑导航和链接
Endpoint ID: 45908
GET https://zylalabs.com/api/16081/h+and+m+api/45908/product+details
输入参数

产品详情 — 端点功能

对象 描述
product_id 必需 Article id of 10 digits (e.g. "0932278001") or a product link. Use the /search or /category/products endpoints to list valid values.
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

product_id
country
language
API 示例响应
JSON
{
    "id": "0932278001",
    "product_id": "0932278",
    "name": "Cotton-blend Shirt",
    "brand": "H&M",
    "category": "Shirts",
    "main_category": "ladies_shirtsblouses_shirts",
    "product_type": "Shirt",
    "description": "Shirt in a woven cotton blend. Collar, buttons at front, and yoke at back. Long sleeves with buttons at cuffs. Rounded hem.",
    "color": {
        "name": "White",
        "hex": "#FFFFFF"
    },
    "price": 24.99,
    "original_price": null,
    "formatted_price": "$24.99",
    "formatted_original_price": null,
    "discount": null,
    "price_note": null,
    "currency": "USD",
    "markers": [],
    "coming_soon": false,
    "in_store": true,
    "images": [
        {
            "url": "https://image.hm.com/assets/hm/a1/6b/a16b257a973b79a92cf433d97cd1f8be48899784.jpg",
            "type": "lookbook",
            "alt": "The model is wearing a white long-sleeve shirt with a collar and button-down front. The shirt is layered under an open dark gray coat and paired with dark gray trousers and a red knit tied around the waist."
        },
        {
            "url": "https://image.hm.com/assets/hm/34/e9/34e972f65b3d0c7df200725a85b5619670a67db6.jpg",
            "type": "lookbook",
            "alt": "A white long-sleeve shirt in a woven cotton blend is worn by the model, tucked into high-waisted dark blue jeans. The shirt features an open pointed collar, a button-front closure, and long sleeves with wide button cuffs."
        },
        {
            "url": "https://image.hm.com/assets/hm/99/2a/992a41b31114d67e85454497339dc37c9d8642f2.jpg",
            "type": "lookbook",
            "alt": "A white, long-sleeved cotton-blend shirt is worn by the model with the sleeves rolled up to the forearms and the arms crossed. The collared, button-down shirt is styled partially open at the lower hem and paired with dark gray trousers and a red sweater tied around the waist."
        },
        {
            "url": "https://image.hm.com/assets/hm/aa/c5/aac53bf90b7349d742ae3f66ac7db8c8eaf178db.jpg",
            "type": "lookbook",
            "alt": "A white cotton-blend shirt with a pointed collar is being worn by the model, shown in a close-up side-profile view."
        },
        {
            "url": "https://image.hm.com/assets/hm/09/95/0995b88e1b060ec4cf941caddf8cd3e01ff3802b.jpg",
            "type": "lookbook",
            "alt": "The model is wearing a white long-sleeve shirt woven from a cotton blend, featuring a rounded hem and button cuffs. Worn untucked over dark blue denim jeans, the shirt highlights its curved silhouette."
        },
        {
            "url": "https://image.hm.com/assets/hm/01/7a/017ab3011b3647e9a99161db5cdbf3f9b490e6a2.jpg",
            "type": "lookbook",
            "alt": "A white long-sleeve shirt with a back yoke and a rounded hem is being worn by the model. The shirt is layered over a red garment and styled with dark gray trousers."
        },
        {
            "url": "https://image.hm.com/assets/hm/12/1d/121d244c102345ccba9042a2af8f19feef81a7ce.jpg",
            "type": "lookbook",
            "alt": "A white, long-sleeve woven shirt is being worn by the model, shown from the back to highlight the back yoke and rounded hem. The shirt is paired with dark denim pants."
        },
        {
            "url": "https://image.hm.com/assets/hm/d2/62/d262f041d1e6f494aded72eb7dee69b1fc50b879.jpg",
            "type": "descriptivestilllife",
            "alt": "A white long-sleeved woven shirt is displayed from the front, featuring a pointed collar and a buttoned placket. It showcases buttoned cuffs and a rounded hem."
        },
        {
            "url": "https://image.hm.com/assets/hm/39/22/3922d576a6da45a8f3be55a61f9ef315813114be.jpg",
            "type": "descriptivedetail",
            "alt": "A white cotton-blend shirt features a crisp collar and two visible buttons along its front placket."
        }
    ],
    "sizes": [
        {
            "id": "001",
            "name": "XXS",
            "sku": "0932278001001",
            "available": false,
            "few_left": false
        },
        {
            "id": "002",
            "name": "XS",
            "sku": "0932278001002",
            "available": true,
            "few_left": false
        },
        {
            "id": "003",
            "name": "S",
            "sku": "0932278001003",
            "available": true,
            "few_left": false
        },
        {
            "id": "004",
            "name": "M",
            "sku": "0932278001004",
            "available": true,
            "few_left": false
        },
        {
            "id": "005",
            "name": "L",
            "sku": "0932278001005",
            "available": true,
            "few_left": false
        },
        {
            "id": "006",
            "name": "XL",
            "sku": "0932278001006",
            "available": true,
            "few_left": false
        },
        {
            "id": "007",
            "name": "XXL",
            "sku": "0932278001007",
            "available": true,
            "few_left": false
        },
        {
            "id": "016",
            "name": "3XL",
            "sku": "0932278001016",
            "available": true,
            "few_left": false
        },
        {
            "id": "015",
            "name": "4XL",
            "sku": "0932278001015",
            "available": true,
            "few_left": false
        }
    ],
    "composition": [
        {
            "part": null,
            "materials": [
                {
                    "material": "Cotton",
                    "percentage": "73%"
                },
                {
                    "material": "Polyester",
                    "percentage": "23%"
                },
                {
                    "material": "Spandex",
                    "percentage": "4%"
                }
            ]
        }
    ],
    "materials": [
        {
            "name": "Polyester",
            "description": "Polyester is a synthetic fibre made from crude oil (a fossil resource)."
        },
        {
            "name": "Cotton",
            "description": "Cotton is a soft and versatile natural fibre harvested from the cotton plant."
        },
        {
            "name": "Spandex",
            "description": "Elastane is an elastic synthetic fibre made from oil (a fossil resource)."
        }
    ],
    "preferred_materials": [],
    "certified_materials": [],
    "care_instructions": [
        "Wash with like colors",
        "Only non-chlorine bleach when needed",
        "Line dry",
        "Medium iron",
        "Machine wash cool",
        "Can be dry cleaned"
    ],
    "attributes": {
        "weight": "200 g",
        "detailedDescriptions": [
            "White",
            "Solid-color"
        ],
        "measurement": [
            "Shoulder: Width: 41.1 cm (size M)",
            "Sleeve: Length: 63.7 cm (size M)",
            "Back: Length: 68 cm (size M)"
        ],
        "garmentLength": [
            "Long"
        ],
        "sleeveLength": [
            "Long sleeve"
        ],
        "fits": [
            "Slim fit"
        ],
        "collarStyle": [
            "Classic Collar"
        ],
        "imported": "Yes"
    },
    "colors": [
        {
            "id": "0932278001",
            "name": "White",
            "hex": "#FFFFFF",
            "image": "https://image.hm.com/assets/hm/d2/62/d262f041d1e6f494aded72eb7dee69b1fc50b879.jpg",
            "price": 24.99,
            "original_price": null
        },
        {
            "id": "0932278022",
            "name": "Light blue",
            "hex": "#B1BED7",
            "image": "https://image.hm.com/assets/hm/3d/f1/3df13c8925475f0d267ef0a13e2cc4d358a35b2f.jpg",
            "price": 9.99,
            "original_price": 24.99
        }
    ],
    "style_with": [
        "1338633003",
        "1321455001",
        "1320139001",
        "1348368001",
        "1351533003",
        "1045459098",
        "1268422001",
        "1376603003",
        "1232584036",
        "1386789001",
        "0963662139",
        "1371932003",
        "1384789001",
        "1365177002",
        "1373298001",
        "1355634002"
    ],
    "breadcrumbs": [
        {
            "name": "Women",
            "link": "https://www2.hm.com/en_us/women.html"
        },
        {
            "name": "Blouses & Shirts",
            "link": "https://www2.hm.com/en_us/women/products/shirts-blouses.html"
        },
        {
            "name": "Shirts",
            "link": "https://www2.hm.com/en_us/women/products/shirts-blouses/shirts.html"
        }
    ],
    "link": "https://www2.hm.com/en_us/productpage.0932278001.html"
}
产品详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45908/product+details?product_id=0932278001&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回H&M产品的评分:平均星级、评分和评论数量、各星级评分分布、评论摘要、顾客提及的主题,以及平均尺码和长度合身度
Endpoint ID: 45909
GET https://zylalabs.com/api/16081/h+and+m+api/45909/product+rating
输入参数

产品评分 — 端点功能

对象 描述
product_id 必需 Article id of 10 digits (e.g. "0932278001") or a product link. Use the /search or /category/products endpoints to list valid values.
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

product_id
country
language
API 示例响应
JSON
{
    "id": "0932278001",
    "average_rating": 4.4,
    "ratings": 1129,
    "reviews": 485,
    "rating_breakdown": {
        "1": 41,
        "2": 50,
        "3": 108,
        "4": 195,
        "5": 735
    },
    "summary": "The Cotton Blend Shirt is valued for its versatile, work ready style and comfortable feel. Customers appreciate the lightweight, slightly stretchy fabric, clean tailored silhouette and easy way it dresses up or down for the office or casual looks. A few customers note sizing can be inconsistent, yet most find it a flattering, reliable wardrobe staple that holds its shape and offers a polished look.",
    "topics": [
        "fit",
        "material quality",
        "fabric weight",
        "stretch",
        "true to size",
        "comfort",
        "sleeve length",
        "button quality",
        "color",
        "breathability",
        "style",
        "durability",
        "versatility"
    ],
    "fit": [
        {
            "name": "True to Size",
            "average": 1,
            "scale": [
                "Runs Small",
                "True to Size",
                "Runs Large"
            ]
        },
        {
            "name": "Length",
            "average": 1.05,
            "scale": [
                "Runs Short",
                "True to Size",
                "Runs Long"
            ]
        }
    ]
}
产品评分 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45909/product+rating?product_id=0932278001&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出 H&M 某款产品所有颜色的顾客评论 每页 20 条 并提供排序方式和筛选条件 每条评论包含其 ID 星级 标题 正文 作者 语言地区 日期 购买日期 购买的尺码和颜色 合身度 点赞和踩 Incentivized 标记 照片和回复 答案还会列出筛选条件(颜色 尺码 合身度)及其数量和各自对应的“filter”值
Endpoint ID: 45910
GET https://zylalabs.com/api/16081/h+and+m+api/45910/product+reviews
输入参数

产品评价 — 端点功能

对象 描述
product_id 必需 Article id of 10 digits (e.g. "0932278001") or a product link. Use the /search or /category/products endpoints to list valid values.
sort 可选 Optional sort order: "newest", "oldest", "rating_desc", "rating_asc", "most_helpful" or "longest" (defaults to "newest").
filter 可选 Optional star rating from 1 to 5, or a "filter" value of the "filters" of the answer (e.g. "pa('size:M')" or "dim(2)").
page 可选 Optional page number (defaults to 1).
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

product_id
sort
filter
page
country
language
API 示例响应
JSON
{
    "total": 1127,
    "page": 1,
    "page_size": 20,
    "total_pages": 57,
    "reviews": [
        {
            "id": 4390618,
            "rating": 5,
            "title": null,
            "text": "great quality",
            "author": null,
            "locale": "en_CA",
            "date": "2026-11-12T11:18:57-05:00",
            "purchase_date": "2026-10-27T19:51:20-04:00",
            "size": "L",
            "color": "White",
            "fit": [
                {
                    "name": "True to Size",
                    "value": "True to Size"
                },
                {
                    "name": "Length",
                    "value": "True to Size"
                }
            ],
            "up_votes": 0,
            "down_votes": 0,
            "incentivized": false,
            "photos": [],
            "responses": []
        },
        {
            "id": 3890718,
            "rating": 4,
            "title": null,
            "text": "wasn't fond of the quality, but overall good size shirt",
            "author": null,
            "locale": "en_US",
            "date": "2026-06-13T13:03:14-04:00",
            "purchase_date": "2026-05-27T07:48:18-04:00",
            "size": "XS",
            "color": "White",
            "fit": [
                {
                    "name": "True to Size",
                    "value": "True to Size"
                },
                {
                    "name": "Length",
                    "value": "True to Size"
                }
            ],
            "up_votes": 0,
            "down_votes": 0,
            "incentivized": false,
            "photos": [],
            "responses": []
        },
        {
            "id": 3877794,
            "rating": 4,
            "title": null,
            "text": "These are my ‘ go to’ shirts for my work uniform. I have been buying these for a couple of years, but this time the sleeves were off. It was as though they sewed a different size sleeve on the right size shirt. Got it on sale this time so it will be fine for work, but disappointed that the cuff and sleeve is quite different from my others. For that reason I gave it four stars.",
            "author": null,
            "locale": "en_US",
            "date": "2026-05-13T08:54:05-04:00",
            "purchase_date": "2026-05-02T09:51:36-04:00",
            "size": "XS",
            "color": "White",
            "fit": [
                {
                    "name": "True to Size",
                    "value": "True to Size"
                },
                {
                    "name": "Length",
                    "value": "True to Size"
                }
            ],
            "up_votes": 0,
            "down_votes": 0,
            "incentivized": false,
            "photos": [],
            "responses": []
        },
        {
            "id": 3365224,
            "rating": 4,
            "title": null,
            "text": null,
            "author": null,
            "locale": "en_US",
            "date": "2026-05-04T17:50:03-04:00",
            "purchase_date": "2026-03-12T21:10:04-04:00",
            "size": "M",
            "color": "White",
            "fit": [
                {
                    "name": "True to Size",
                    "value": "True to Size"
                },
                {
                    "name": "Length",
                    "value": "True to Size"
                }
            ],
            "up_votes": 0,
            "down_votes": 0,
            "incentivized": false,
            "photos": [],
            "responses": []
        },
        {
            "id": 3361372,
            "rating": 5,
            "title": null,
            "text": "Beautiful shirt and it fitted me well !",
            "author": null,
            "locale": "en_CA",
            "date": "2026-04-22T22:44:40-04:00",
            "purchase_date": "2026-03-18T18:46:58-04:00",
            "size": "M",
            "color": "White",
            "fit": [
                {
                    "name": "True to Size",
                    "value": "True to Size"
                },
                {
                    "name": "Length",
                    "value": "True to Size"
                }
            ],
            "up_votes": 0,
            "down_votes": 0,
            "incentivized": false,
            "photos": [],
            "responses": []
        }
    ],
    "filters": [
        {
            "name": "color",
            "values": [
                {
                    "label": "Black",
                    "count": 127,
                    "filter": "pa('color:Black')"
                },
                {
                    "label": "White",
                    "count": 833,
                    "filter": "pa('color:White')"
                },
                {
                    "label": "Blue",
                    "count": 129,
                    "filter": "pa('color:Blue')"
                },
                {
                    "label": "Beige",
                    "count": 38,
                    "filter": "pa('color:Beige')"
                }
            ]
        },
        {
            "name": "size",
            "values": [
                {
                    "label": "L",
                    "count": 208,
                    "filter": "pa('size:L')"
                },
                {
                    "label": "S",
                    "count": 326,
                    "filter": "pa('size:S')"
                },
                {
                    "label": "XL",
                    "count": 107,
                    "filter": "pa('size:XL')"
                },
                {
                    "label": "M",
                    "count": 322,
                    "filter": "pa('size:M')"
                },
                {
                    "label": "XXL",
                    "count": 39,
                    "filter": "pa('size:XXL')"
                },
                {
                    "label": "XS",
                    "count": 120,
                    "filter": "pa('size:XS')"
                },
                {
                    "label": "XXS",
                    "count": 2,
                    "filter": "pa('size:XXS')"
                },
                {
                    "label": "4XL",
                    "count": 1,
                    "filter": "pa('size:4XL')"
                },
                {
                    "label": "3XL",
                    "count": 2,
                    "filter": "pa('size:3XL')"
                }
            ]
        },
        {
            "name": "True to Size",
            "values": [
                {
                    "label": "Runs Small",
                    "count": 83,
                    "filter": "dim(1)"
                },
                {
                    "label": "True to Size",
                    "count": 805,
                    "filter": "dim(2)"
                },
                {
                    "label": "Runs Large",
                    "count": 80,
                    "filter": "dim(3)"
                }
            ]
        },
        {
            "name": "Length",
            "values": [
                {
                    "label": "Runs Short",
                    "count": 25,
                    "filter": "dim(7)"
                },
                {
                    "label": "True to Size",
                    "count": 839,
                    "filter": "dim(8)"
                },
                {
                    "label": "Runs Long",
                    "count": 72,
                    "filter": "dim(9)"
                }
            ]
        }
    ]
}
产品评价 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45910/product+reviews?product_id=0932278001&sort=newest&page=1&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出 H&M 为某件商品推荐的替代商品,包括每件商品的货号、名称、品牌、颜色、现价和原价、类别、标记、库存状态、图片、每个尺码及其 SKU 和库存、其他颜色以及链接
Endpoint ID: 45911
GET https://zylalabs.com/api/16081/h+and+m+api/45911/similar+products
输入参数

类似产品 — 端点功能

对象 描述
product_id 必需 Article id of 10 digits (e.g. "0932278001") or a product link. Use the /search or /category/products endpoints to list valid values.
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

product_id
country
language
API 示例响应
JSON
[
    {
        "id": "1376799001",
        "name": "Oversized Cotton Poplin Shirt",
        "brand": "H&M",
        "color": "White",
        "price": 69.99,
        "original_price": null,
        "formatted_price": "$69.99",
        "formatted_original_price": null,
        "member_price": null,
        "category": "ladies_premium_selection_tops",
        "markers": [
            "H&M Premium Selection"
        ],
        "is_new": true,
        "stock_state": "Available",
        "coming_soon": false,
        "image": "https://image.hm.com/assets/hm/61/49/61497b42e08fb9c066e2dd21c531dc6cdcd74b8c.jpg",
        "model_image": "https://image.hm.com/assets/hm/2e/51/2e5128f83c06f15f6b3a499df546d6ce0a09d638.jpg",
        "images": [
            "https://image.hm.com/assets/hm/9e/22/9e22a7846436437f618fadd2f3fd7a647a60eefa.jpg",
            "https://image.hm.com/assets/hm/ef/3b/ef3beb871df696fbfc056c0fca5d83c520001f09.jpg",
            "https://image.hm.com/assets/hm/a4/1a/a41ac80fceade87843611c2eb1c0b1ce4643b63a.jpg",
            "https://image.hm.com/assets/hm/ab/11/ab116d7954a40905b59d063fbbc8235c774779c0.jpg",
            "https://image.hm.com/assets/hm/65/f2/65f2a70f2bec47611c990d4fabc264d687308283.jpg"
        ],
        "has_video": false,
        "sizes": [
            {
                "id": "002",
                "name": "XS",
                "sku": "1376799001002",
                "stock": "in_stock"
            },
            {
                "id": "003",
                "name": "S",
                "sku": "1376799001003",
                "stock": "in_stock"
            },
            {
                "id": "004",
                "name": "M",
                "sku": "1376799001004",
                "stock": "in_stock"
            },
            {
                "id": "005",
                "name": "L",
                "sku": "1376799001005",
                "stock": "in_stock"
            }
        ],
        "colors": [
            {
                "id": "1376799001",
                "name": "White",
                "hex": "#FFFFFF",
                "image": "https://image.hm.com/assets/hm/61/49/61497b42e08fb9c066e2dd21c531dc6cdcd74b8c.jpg"
            }
        ],
        "link": "https://www2.hm.com/en_us/productpage.1376799001.html"
    },
    {
        "id": "1322471005",
        "name": "Fitted Shirt",
        "brand": "H&M",
        "color": "Light blue/pinstriped",
        "price": 19.99,
        "original_price": null,
        "formatted_price": "$19.99",
        "formatted_original_price": null,
        "member_price": null,
        "category": "ladies_shirtsblouses_shirts",
        "markers": [],
        "is_new": false,
        "stock_state": "Available",
        "coming_soon": false,
        "image": "https://image.hm.com/assets/hm/24/32/2432f4ed9a82638dec0e29424d3b6d1f0c8f53bf.jpg",
        "model_image": "https://image.hm.com/assets/hm/66/52/66521904b8a5f0348d58f6a5580324d3580ee97c.jpg",
        "images": [
            "https://image.hm.com/assets/hm/ec/5b/ec5b63f31d148b1c37ef368db8f35d4dcdf1bb83.jpg",
            "https://image.hm.com/assets/hm/4a/7d/4a7dcc14f1d22acfe64d1132f92c31f6406aff26.jpg",
            "https://image.hm.com/assets/hm/a7/e9/a7e9ec2c633d3ca278e9af1f9649c68f3062fc28.jpg",
            "https://image.hm.com/assets/hm/7e/d5/7ed51b112feddd7baecf33debf38d3eae081347a.jpg"
        ],
        "has_video": false,
        "sizes": [
            {
                "id": "002",
                "name": "XS",
                "sku": "1322471005002",
                "stock": "out_of_stock"
            },
            {
                "id": "003",
                "name": "S",
                "sku": "1322471005003",
                "stock": "out_of_stock"
            },
            {
                "id": "004",
                "name": "M",
                "sku": "1322471005004",
                "stock": "out_of_stock"
            },
            {
                "id": "005",
                "name": "L",
                "sku": "1322471005005",
                "stock": "in_stock"
            },
            {
                "id": "006",
                "name": "XL",
                "sku": "1322471005006",
                "stock": "in_stock"
            },
            {
                "id": "007",
                "name": "XXL",
                "sku": "1322471005007",
                "stock": "out_of_stock"
            }
        ],
        "colors": [
            {
                "id": "1322471005",
                "name": "Light blue/pinstriped",
                "hex": "#A7BDD0",
                "image": "https://image.hm.com/assets/hm/24/32/2432f4ed9a82638dec0e29424d3b6d1f0c8f53bf.jpg"
            },
            {
                "id": "1322471011",
                "name": "Bright blue/striped",
                "hex": "#1E00C0",
                "image": "https://image.hm.com/assets/hm/e2/e5/e2e5b11c3c36f91373adb7bce205cd119c65c2b2.jpg"
            },
            {
                "id": "1322471010",
                "name": "Light pink/striped",
                "hex": "#DCCAD0",
                "image": "https://image.hm.com/assets/hm/57/cc/57cce83c7e30bf3f8272017d6064f2b0bc9f3a40.jpg"
            },
            {
                "id": "1322471015",
                "name": "Light blue",
                "hex": "#B2BED9",
                "image": "https://image.hm.com/assets/hm/6e/f7/6ef7c4ad86dc58a3dc9403b8599b5a61f74fe496.jpg"
            },
            {
                "id": "1322471002",
                "name": "White",
                "hex": "#FFFFFF",
                "image": "https://image.hm.com/assets/hm/33/2d/332d55883d8e373d2c2c76b75b0faf9bb5874d67.jpg"
            }
        ],
        "link": "https://www2.hm.com/en_us/productpage.1322471005.html"
    },
    {
        "id": "1373233001",
        "name": "Cotton Poplin Shirt",
        "brand": "H&M",
        "color": "White",
        "price": 59.99,
        "original_price": null,
        "formatted_price": "$59.99",
        "formatted_original_price": null,
        "member_price": null,
        "category": "ladies_shirtsblouses_shirts",
        "markers": [],
        "is_new": false,
        "stock_state": "Available",
        "coming_soon": false,
        "image": "https://image.hm.com/assets/hm/ea/fa/eafad08297da87803583d1e7a2e75239b2d4dbc9.jpg",
        "model_image": "https://image.hm.com/assets/hm/1e/ed/1eed03931d001d3e529a372b542067d2d626cf13.jpg",
        "images": [
            "https://image.hm.com/assets/hm/ac/4c/ac4c3417ec9ef874da38d387d6451266302db049.jpg",
            "https://image.hm.com/assets/hm/1d/9e/1d9e57ea60b314d87797501926d092d6dbea2fe4.jpg",
            "https://image.hm.com/assets/hm/47/6d/476dfbb4b298b717d15b8d8f1cbd148499792a63.jpg",
            "https://image.hm.com/assets/hm/41/51/415161710dafcfb695267706c1ac4ecceb91d04e.jpg"
        ],
        "has_video": false,
        "sizes": [
            {
                "id": "003",
                "name": "S",
                "sku": "1373233001003",
                "stock": "out_of_stock"
            },
            {
                "id": "004",
                "name": "M",
                "sku": "1373233001004",
                "stock": "out_of_stock"
            },
            {
                "id": "005",
                "name": "L",
                "sku": "1373233001005",
                "stock": "in_stock"
            }
        ],
        "colors": [
            {
                "id": "1373233001",
                "name": "White",
                "hex": "#FFFFFF",
                "image": "https://image.hm.com/assets/hm/ea/fa/eafad08297da87803583d1e7a2e75239b2d4dbc9.jpg"
            }
        ],
        "link": "https://www2.hm.com/en_us/productpage.1373233001.html"
    }
]
类似产品 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45911/similar+products?product_id=0932278001&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出某点周围最多 50 家 H&M 门店 按距离从近到远排列 并显示每家门店货架上及可供自提的某款 H&M 商品各尺码的件数 每家门店包括其代码 名称 地址 城市 坐标和以公里为单位的距离
Endpoint ID: 45912
GET https://zylalabs.com/api/16081/h+and+m+api/45912/product+availability+in+stores
输入参数

门店商品供应情况 — 端点功能

对象 描述
product_id 必需 Article id of 10 digits (e.g. "0932278001") or a product link. Use the /search or /category/products endpoints to list valid values.
latitude 必需 Latitude of the point (e.g. "40.7128").
longitude 必需 Longitude of the point (e.g. "-74.006").
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

product_id
latitude
longitude
country
language
API 示例响应
JSON
{
    "id": "0932278001",
    "stores": [
        {
            "store_code": "US0715",
            "name": "H&M Soho",
            "address": "591 Broadway",
            "city": "New York City",
            "latitude": 40.724965,
            "longitude": -73.99726,
            "distance_km": 1.54,
            "in_stock": true,
            "sizes": [
                {
                    "sku": "0932278001001",
                    "size_id": "001",
                    "size": "XXS",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001002",
                    "size_id": "002",
                    "size": "XS",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001003",
                    "size_id": "003",
                    "size": "S",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001004",
                    "size_id": "004",
                    "size": "M",
                    "in_store_quantity": 1,
                    "pickup_quantity": 1
                },
                {
                    "sku": "0932278001005",
                    "size_id": "005",
                    "size": "L",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001006",
                    "size_id": "006",
                    "size": "XL",
                    "in_store_quantity": 1,
                    "pickup_quantity": 1
                },
                {
                    "sku": "0932278001007",
                    "size_id": "007",
                    "size": "XXL",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001015",
                    "size_id": "015",
                    "size": "4XL",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001016",
                    "size_id": "016",
                    "size": "3XL",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                }
            ]
        },
        {
            "store_code": "US0150",
            "name": "Fulton Street",
            "address": "497-501 Fulton Street",
            "city": "Brooklyn",
            "latitude": 40.6908147,
            "longitude": -73.9851509,
            "distance_km": 3.01,
            "in_stock": true,
            "sizes": [
                {
                    "sku": "0932278001001",
                    "size_id": "001",
                    "size": "XXS",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001002",
                    "size_id": "002",
                    "size": "XS",
                    "in_store_quantity": 4,
                    "pickup_quantity": 4
                },
                {
                    "sku": "0932278001003",
                    "size_id": "003",
                    "size": "S",
                    "in_store_quantity": 5,
                    "pickup_quantity": 5
                },
                {
                    "sku": "0932278001004",
                    "size_id": "004",
                    "size": "M",
                    "in_store_quantity": 5,
                    "pickup_quantity": 5
                },
                {
                    "sku": "0932278001005",
                    "size_id": "005",
                    "size": "L",
                    "in_store_quantity": 2,
                    "pickup_quantity": 2
                },
                {
                    "sku": "0932278001006",
                    "size_id": "006",
                    "size": "XL",
                    "in_store_quantity": 2,
                    "pickup_quantity": 2
                },
                {
                    "sku": "0932278001007",
                    "size_id": "007",
                    "size": "XXL",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001015",
                    "size_id": "015",
                    "size": "4XL",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001016",
                    "size_id": "016",
                    "size": "3XL",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                }
            ]
        },
        {
            "store_code": "US0098",
            "name": "5th Ave at 18th Street",
            "address": "111 5th Ave",
            "city": "New York City",
            "latitude": 40.73857149,
            "longitude": -73.99152786,
            "distance_km": 3.11,
            "in_stock": true,
            "sizes": [
                {
                    "sku": "0932278001001",
                    "size_id": "001",
                    "size": "XXS",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001002",
                    "size_id": "002",
                    "size": "XS",
                    "in_store_quantity": 2,
                    "pickup_quantity": 3
                },
                {
                    "sku": "0932278001003",
                    "size_id": "003",
                    "size": "S",
                    "in_store_quantity": 6,
                    "pickup_quantity": 6
                },
                {
                    "sku": "0932278001004",
                    "size_id": "004",
                    "size": "M",
                    "in_store_quantity": 6,
                    "pickup_quantity": 6
                },
                {
                    "sku": "0932278001005",
                    "size_id": "005",
                    "size": "L",
                    "in_store_quantity": 3,
                    "pickup_quantity": 3
                },
                {
                    "sku": "0932278001006",
                    "size_id": "006",
                    "size": "XL",
                    "in_store_quantity": 3,
                    "pickup_quantity": 3
                },
                {
                    "sku": "0932278001007",
                    "size_id": "007",
                    "size": "XXL",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001015",
                    "size_id": "015",
                    "size": "4XL",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                },
                {
                    "sku": "0932278001016",
                    "size_id": "016",
                    "size": "3XL",
                    "in_store_quantity": 0,
                    "pickup_quantity": 0
                }
            ]
        }
    ]
}
门店商品供应情况 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45912/product+availability+in+stores?product_id=0932278001&latitude=40.7128&longitude=-74.006&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
搜索 H&M 网店的商品,每页 36 件,可使用筛选条件、价格范围和排序方式。每件商品都包含其货号、名称、品牌、颜色、当前价格和原价、会员价、类别、标记、是否为新品、库存状态、图片、每个尺码及其 SKU 和库存、其他颜色以及链接;答案还会列出搜索结果的筛选条件(颜色、尺码、商品类型、材质、版型、风格、品牌、促销等),包括每个筛选值、对应数量及其采用的「filters」值、价格范围和拼写建议。仅返回翻译后的文本。不要添加句号或逗号。如果翻译有误,只返回「error」
Endpoint ID: 45913
GET https://zylalabs.com/api/16081/h+and+m+api/45913/search+products
输入参数

搜索产品 马会飞 — 端点功能

对象 描述
query 必需 Search text (e.g. "shirt").
filters 可选 Optional filter values in the form "<filter>:<value>", as the "filter" of each value in the "filters" of the answer (e.g. "colorWithNames:black_000000"; the values follow the language of the store). Several values of one filter are joined with "|" ("colorWithNames:black_000000|white_ffffff") and several filters with "||" ("colorWithNames:black_000000||sale:true").
min_price 可选 Optional minimum price in the store's currency.
max_price 可选 Optional maximum price in the store's currency.
sort 可选 Optional sort order: "relevance", "newest", "price_asc" or "price_desc" (defaults to "relevance").
page 可选 Optional page number (defaults to 1).
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

query
filters
min_price
max_price
sort
page
country
language
API 示例响应
JSON
{
    "total": 1677,
    "page": 1,
    "page_size": 36,
    "total_pages": 47,
    "products": [
        {
            "id": "0932278001",
            "name": "Cotton-blend Shirt",
            "brand": "H&M",
            "color": "White",
            "price": 24.99,
            "original_price": null,
            "formatted_price": "$24.99",
            "formatted_original_price": null,
            "member_price": null,
            "category": "ladies_shirtsblouses_shirts",
            "markers": [],
            "is_new": false,
            "stock_state": "Available",
            "coming_soon": false,
            "image": "https://image.hm.com/assets/hm/d2/62/d262f041d1e6f494aded72eb7dee69b1fc50b879.jpg",
            "model_image": "https://image.hm.com/assets/hm/a1/6b/a16b257a973b79a92cf433d97cd1f8be48899784.jpg",
            "images": [
                "https://image.hm.com/assets/hm/34/e9/34e972f65b3d0c7df200725a85b5619670a67db6.jpg",
                "https://image.hm.com/assets/hm/99/2a/992a41b31114d67e85454497339dc37c9d8642f2.jpg",
                "https://image.hm.com/assets/hm/aa/c5/aac53bf90b7349d742ae3f66ac7db8c8eaf178db.jpg",
                "https://image.hm.com/assets/hm/09/95/0995b88e1b060ec4cf941caddf8cd3e01ff3802b.jpg",
                "https://image.hm.com/assets/hm/01/7a/017ab3011b3647e9a99161db5cdbf3f9b490e6a2.jpg"
            ],
            "has_video": false,
            "sizes": [
                {
                    "id": "001",
                    "name": "XXS",
                    "sku": "0932278001001",
                    "stock": "out_of_stock"
                },
                {
                    "id": "002",
                    "name": "XS",
                    "sku": "0932278001002",
                    "stock": "in_stock"
                },
                {
                    "id": "003",
                    "name": "S",
                    "sku": "0932278001003",
                    "stock": "in_stock"
                },
                {
                    "id": "004",
                    "name": "M",
                    "sku": "0932278001004",
                    "stock": "in_stock"
                },
                {
                    "id": "005",
                    "name": "L",
                    "sku": "0932278001005",
                    "stock": "in_stock"
                },
                {
                    "id": "006",
                    "name": "XL",
                    "sku": "0932278001006",
                    "stock": "in_stock"
                },
                {
                    "id": "007",
                    "name": "XXL",
                    "sku": "0932278001007",
                    "stock": "in_stock"
                },
                {
                    "id": "015",
                    "name": "4XL",
                    "sku": "0932278001015",
                    "stock": "in_stock"
                },
                {
                    "id": "016",
                    "name": "3XL",
                    "sku": "0932278001016",
                    "stock": "in_stock"
                }
            ],
            "colors": [
                {
                    "id": "0932278001",
                    "name": "White",
                    "hex": "#FFFFFF",
                    "image": "https://image.hm.com/assets/hm/d2/62/d262f041d1e6f494aded72eb7dee69b1fc50b879.jpg"
                }
            ],
            "link": "https://www2.hm.com/en_us/productpage.0932278001.html"
        },
        {
            "id": "1289801001",
            "name": "Cotton Shirt",
            "brand": "H&M",
            "color": "White",
            "price": 9.99,
            "original_price": null,
            "formatted_price": "$9.99",
            "formatted_original_price": null,
            "member_price": null,
            "category": "kids_boys_clothing_tshirtsshirts_shirts_longsleeve",
            "markers": [],
            "is_new": false,
            "stock_state": "Available",
            "coming_soon": false,
            "image": "https://image.hm.com/assets/hm/fd/e0/fde02aa898d1d7f95553b2ba2fc14cab940affa5.jpg",
            "model_image": "https://image.hm.com/assets/hm/fd/e0/fde02aa898d1d7f95553b2ba2fc14cab940affa5.jpg",
            "images": [],
            "has_video": false,
            "sizes": [
                {
                    "id": "009",
                    "name": "1½-2Y",
                    "sku": "1289801001009",
                    "stock": "in_stock"
                },
                {
                    "id": "010",
                    "name": "2-3Y",
                    "sku": "1289801001010",
                    "stock": "in_stock"
                },
                {
                    "id": "011",
                    "name": "3-4Y",
                    "sku": "1289801001011",
                    "stock": "in_stock"
                },
                {
                    "id": "012",
                    "name": "4-5Y",
                    "sku": "1289801001012",
                    "stock": "in_stock"
                },
                {
                    "id": "013",
                    "name": "5-6Y",
                    "sku": "1289801001013",
                    "stock": "in_stock"
                },
                {
                    "id": "014",
                    "name": "6-7Y",
                    "sku": "1289801001014",
                    "stock": "in_stock"
                },
                {
                    "id": "015",
                    "name": "7-8Y",
                    "sku": "1289801001015",
                    "stock": "in_stock"
                },
                {
                    "id": "016",
                    "name": "8-9Y",
                    "sku": "1289801001016",
                    "stock": "in_stock"
                },
                {
                    "id": "017",
                    "name": "9-10Y",
                    "sku": "1289801001017",
                    "stock": "in_stock"
                }
            ],
            "colors": [
                {
                    "id": "1289801001",
                    "name": "White",
                    "hex": "#FFFFFF",
                    "image": "https://image.hm.com/assets/hm/fd/e0/fde02aa898d1d7f95553b2ba2fc14cab940affa5.jpg"
                },
                {
                    "id": "1289801014",
                    "name": "Red",
                    "hex": "#8D1330",
                    "image": "https://image.hm.com/assets/hm/28/6e/286e641fd459991de1ccab2e18ed9403d1f51b42.jpg"
                },
                {
                    "id": "1289801016",
                    "name": "Blue/striped",
                    "hex": "#3B4EA3",
                    "image": "https://image.hm.com/assets/hm/c6/39/c63931a9db37426334b56e5f23fd67acd985ad47.jpg"
                },
                {
                    "id": "1289801005",
                    "name": "Light blue",
                    "hex": "#4C72AD",
                    "image": "https://image.hm.com/assets/hm/47/4f/474f56148cfd2353f41864ddafd61de15cd0f3c4.jpg"
                }
            ],
            "link": "https://www2.hm.com/en_us/productpage.1289801001.html"
        }
    ],
    "filters": [
        {
            "id": "priceRange",
            "name": "Price",
            "type": "range",
            "min": 3.99,
            "max": 419
        }
    ],
    "did_you_mean": []
}
搜索产品 马会飞 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45913/search+products?query=shirt&sort=relevance&page=1&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 H&M 针对搜索文本开头推荐的搜索短语
Endpoint ID: 45914
GET https://zylalabs.com/api/16081/h+and+m+api/45914/search+suggestions
输入参数

搜索建议 — 端点功能

对象 描述
query 必需 Beginning of a search text (e.g. "jea").
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

query
country
language
API 示例响应
JSON
[
    "jeans",
    "jeans women",
    "jeans men",
    "jeans girls",
    "jeans boys"
]
搜索建议 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45914/search+suggestions?query=jea&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出一个国家的每家 H&M 门店及其门店代码、名称、状态、类型、地址、邮政编码、城市、州、国家、电话、坐标和营业时间
Endpoint ID: 45915
GET https://zylalabs.com/api/16081/h+and+m+api/45915/stores+of+a+country
输入参数

一个国家的商店 — 端点功能

对象 描述
country 可选 Optional country (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

country
language
API 示例响应
JSON
[
    {
        "store_code": "PR0001",
        "name": "The Mall of San Juan",
        "status": "OPEN",
        "type": "Red",
        "address": "The Mall of San Juan, 1000 Mall of San Juan Boulevard",
        "postal_code": "00924",
        "city": "San Juan",
        "state": null,
        "country": "United States",
        "country_code": "PR",
        "phone": "+1-855-466-7467",
        "latitude": 18.41238973091739,
        "longitude": -66.02539797558586,
        "opening_hours": [
            {
                "day": "Mon",
                "opens": "09:00",
                "closes": "20:00"
            },
            {
                "day": "Tue",
                "opens": "09:00",
                "closes": "20:00"
            },
            {
                "day": "Wed",
                "opens": "09:00",
                "closes": "20:00"
            },
            {
                "day": "Thu",
                "opens": "09:00",
                "closes": "20:00"
            },
            {
                "day": "Fri",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Sat",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Sun",
                "opens": "11:00",
                "closes": "19:00"
            }
        ]
    },
    {
        "store_code": "PR0002",
        "name": "Plaza del Sol",
        "status": "OPEN",
        "type": "Red",
        "address": "Plaza del Sol, 725 West Main Avenue",
        "postal_code": "00961",
        "city": "Bayamón",
        "state": null,
        "country": "United States",
        "country_code": "PR",
        "phone": "+1-855-466-7467",
        "latitude": 18.40589315983806,
        "longitude": -66.16296494714356,
        "opening_hours": [
            {
                "day": "Mon",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Tue",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Wed",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Thu",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Fri",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Sat",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Sun",
                "opens": "11:00",
                "closes": "19:00"
            }
        ]
    },
    {
        "store_code": "PR0003",
        "name": "H&M Plaza del Caribe",
        "status": "OPEN",
        "type": "Red",
        "address": "2050 Ponce Bypass",
        "postal_code": "00717",
        "city": "San Juan",
        "state": "Puerto Rico",
        "country": "United States",
        "country_code": "PR",
        "phone": "+1-9399003233",
        "latitude": 17.99349112302661,
        "longitude": -66.61167914181112,
        "opening_hours": [
            {
                "day": "Mon",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Tue",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Wed",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Thu",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Fri",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Sat",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Sun",
                "opens": "11:00",
                "closes": "19:00"
            }
        ]
    },
    {
        "store_code": "US0003",
        "name": "Westfield Garden State Plaza",
        "status": "OPEN",
        "type": "Red",
        "address": "1 Garden State Plaza Blvd",
        "postal_code": "07653",
        "city": "Paramus",
        "state": "New Jersey",
        "country": "United States",
        "country_code": "US",
        "phone": "+1-855-466-7467",
        "latitude": 40.9173042,
        "longitude": -74.0768196,
        "opening_hours": [
            {
                "day": "Mon",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Tue",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Wed",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Thu",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Fri",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Sat",
                "opens": "10:00",
                "closes": "21:00"
            }
        ]
    },
    {
        "store_code": "US0004",
        "name": "Palisades Center",
        "status": "OPEN",
        "type": "Red",
        "address": "1731 Palisades Ctr. Dr.",
        "postal_code": "10994",
        "city": "West Nyack",
        "state": "New York",
        "country": "United States",
        "country_code": "US",
        "phone": "+1-855-466-7467",
        "latitude": 41.09710631,
        "longitude": -73.9544811995438,
        "opening_hours": [
            {
                "day": "Mon",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Tue",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Wed",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Thu",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Fri",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Sat",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Sun",
                "opens": "11:00",
                "closes": "19:00"
            }
        ]
    },
    {
        "store_code": "US0007",
        "name": "Carousel Center",
        "status": "OPEN",
        "type": "Red",
        "address": "1 Destiny USA Drive",
        "postal_code": "13204",
        "city": "Syracuse",
        "state": "New York",
        "country": "United States",
        "country_code": "US",
        "phone": "+1-855-466-7467",
        "latitude": 43.0677642,
        "longitude": -76.1704227,
        "opening_hours": [
            {
                "day": "Mon",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Tue",
                "opens": "10:00",
                "closes": "18:00"
            },
            {
                "day": "Wed",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Thu",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Fri",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Sat",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Sun",
                "opens": "11:00",
                "closes": "18:00"
            }
        ]
    },
    {
        "store_code": "US0009",
        "name": "Crossgates Center",
        "status": "OPEN",
        "type": "Red",
        "address": "1 Crossgates Mall Rd.",
        "postal_code": "12203",
        "city": "Albany",
        "state": "New York",
        "country": "United States",
        "country_code": "US",
        "phone": "+1-855-466-7467",
        "latitude": 42.68910539,
        "longitude": -73.84981567,
        "opening_hours": [
            {
                "day": "Mon",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Tue",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Wed",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Thu",
                "opens": "10:00",
                "closes": "20:00"
            },
            {
                "day": "Fri",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Sat",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Sun",
                "opens": "11:00",
                "closes": "18:00"
            }
        ]
    }
]
一个国家的商店 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45915/stores+of+a+country?country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回 H&M 门店的详细信息:名称、状态、类型、地址、邮政编码、城市、州、国家、电话、坐标、营业时间及其例外情况、门店部门及其概念和促销活动
Endpoint ID: 45916
GET https://zylalabs.com/api/16081/h+and+m+api/45916/store+details
输入参数

门店详情 — 端点功能

对象 描述
store_code 必需 Store code (e.g. "US0600"). Use the /store/nearby or /store/country endpoints to list valid values.
country 可选 Optional country of the language of the answer (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.

剩余免费测试请求:3 / 3。


输入参数

store_code
country
language
API 示例响应
JSON
{
    "store_code": "US0600",
    "name": "Herald Square",
    "status": "OPEN",
    "type": "Flagship",
    "address": "1293 Broadway",
    "postal_code": "10001",
    "city": "New York City",
    "state": "New York",
    "country": "United States",
    "country_code": "US",
    "phone": "+1-855-466-7467",
    "latitude": 40.7497991,
    "longitude": -73.9882908,
    "opening_hours": [
        {
            "day": "Mon",
            "opens": "09:00",
            "closes": "23:00"
        },
        {
            "day": "Tue",
            "opens": "09:00",
            "closes": "23:00"
        },
        {
            "day": "Wed",
            "opens": "09:00",
            "closes": "23:00"
        },
        {
            "day": "Thu",
            "opens": "09:00",
            "closes": "23:00"
        },
        {
            "day": "Fri",
            "opens": "09:00",
            "closes": "23:00"
        },
        {
            "day": "Sat",
            "opens": "09:00",
            "closes": "23:00"
        },
        {
            "day": "Sun",
            "opens": "09:00",
            "closes": "23:00"
        }
    ],
    "opening_hour_exceptions": [],
    "departments": [
        {
            "name": "Beauty",
            "concepts": [
                "H&M Beauty"
            ]
        },
        {
            "name": "H&M Home",
            "concepts": [
                "H&M Home"
            ]
        },
        {
            "name": "Kids",
            "concepts": [
                "H&M Young",
                "Denim",
                "Accessories",
                "H&M Baby",
                "H&M Kids",
                "Underwear"
            ]
        },
        {
            "name": "Ladies",
            "concepts": [
                "H&M Womenswear",
                "H&M Mama",
                "Womens Lingerie",
                "H&M Denim",
                "H&M Tailoring",
                "Womens Accessories",
                "H&M Edition",
                "H&M Move",
                "H&M Casual",
                "Womens Shoes"
            ]
        },
        {
            "name": "Men",
            "concepts": [
                "H&M Street",
                "H&M Casual",
                "H&M Smart",
                "H&M Man Premium",
                "Denim",
                "Underwear",
                "Accessories",
                "H&M Move"
            ]
        },
        {
            "name": "Young",
            "concepts": [
                "Divided"
            ]
        }
    ],
    "campaigns": []
}
门店详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45916/store+details?store_code=US0600&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出某个点周边的 H&M 门店,按距离从近到远排列,每家门店均包含门店代码、名称、状态、类型、地址、邮政编码、城市、州、国家、电话、坐标、距离(公里)、营业时间及例外情况、所属部门及其概念和促销活动
Endpoint ID: 45917
GET https://zylalabs.com/api/16081/h+and+m+api/45917/nearby+stores
输入参数

附近的商店 — 端点功能

对象 描述
radius 可选 Optional search radius in kilometers, 1 to 200 (defaults to 25).
country 可选 Optional country of the language of the answer (defaults to "US"). Use the /general/countries endpoint to list valid values.
language 可选 Optional language (defaults to the country's first language). Use the /general/countries endpoint to list valid values.
latitude 必需 Latitude of the point (e.g. "40.7128").
longitude 必需 Longitude of the point (e.g. "-74.006").

剩余免费测试请求:3 / 3。


输入参数

radius
country
language
latitude
longitude
API 示例响应
JSON
[
    {
        "store_code": "US0715",
        "name": "H&M Soho",
        "status": "OPEN",
        "type": "Flagship",
        "address": "591 Broadway",
        "postal_code": "10012",
        "city": "New York City",
        "state": "New York",
        "country": "United States",
        "country_code": "US",
        "phone": "+1-8554667467",
        "latitude": 40.724965,
        "longitude": -73.99726,
        "opening_hours": [
            {
                "day": "Mon",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Tue",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Wed",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Thu",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Fri",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Sat",
                "opens": "10:00",
                "closes": "21:00"
            },
            {
                "day": "Sun",
                "opens": "11:00",
                "closes": "20:00"
            }
        ],
        "distance_km": 1.54,
        "opening_hour_exceptions": [],
        "departments": [
            {
                "name": "Ladies",
                "concepts": [
                    "H&M Womenswear",
                    "H&M Denim",
                    "H&M Tailoring",
                    "Womens Accessories",
                    "H&M Edition",
                    "H&M Casual",
                    "Womens Shoes"
                ]
            },
            {
                "name": "Men",
                "concepts": [
                    "H&M Street",
                    "Denim"
                ]
            },
            {
                "name": "Pre-loved",
                "concepts": [
                    "Pre-loved"
                ]
            }
        ],
        "campaigns": [
            "Volvo",
            "Studio Holiday"
        ]
    },
    {
        "store_code": "US0150",
        "name": "Fulton Street",
        "status": "OPEN",
        "type": "Red",
        "address": "497-501 Fulton Street",
        "postal_code": "11201",
        "city": "Brooklyn",
        "state": "New York",
        "country": "United States",
        "country_code": "US",
        "phone": "+1-855-466-7467",
        "latitude": 40.6908147,
        "longitude": -73.9851509,
        "opening_hours": [
            {
                "day": "Mon",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Tue",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Wed",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Thu",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Fri",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Sat",
                "opens": "09:00",
                "closes": "21:00"
            },
            {
                "day": "Sun",
                "opens": "11:00",
                "closes": "20:00"
            }
        ],
        "distance_km": 3.01,
        "opening_hour_exceptions": [],
        "departments": [
            {
                "name": "Kids",
                "concepts": [
                    "H&M Move",
                    "H&M Young",
                    "Denim",
                    "Accessories",
                    "H&M Baby",
                    "H&M Kids",
                    "Underwear"
                ]
            },
            {
                "name": "Ladies",
                "concepts": [
                    "H&M Womenswear",
                    "H&M Denim",
                    "H&M Tailoring",
                    "Womens Accessories",
                    "H&M Move",
                    "Womens Shoes"
                ]
            },
            {
                "name": "Men",
                "concepts": [
                    "H&M Street",
                    "H&M Casual",
                    "H&M Smart",
                    "Denim",
                    "Underwear",
                    "Accessories"
                ]
            },
            {
                "name": "Young",
                "concepts": [
                    "Divided"
                ]
            }
        ],
        "campaigns": []
    }
]
附近的商店 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/16081/h+and+m+api/45917/nearby+stores?radius=25&country=US&latitude=40.7128&longitude=-74.006' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 H 和 M API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

覆盖46个国家的时尚产品:可使用所有筛选条件搜索产品,浏览类别、产品详情(包括颜色、尺码和材质)、线上和实体店库存、评论、评分及实体店

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API