Skip to content
Happy Endpoint
H&M API
API H&M

H&M API

H&M API for fashion product data - global catalog with prices, colours, sizes, stock levels, supplier detail, and store locations, as clean JSON.

Overview

The H&M API provides real-time access to product data, store locations, and supplier information from H&M’s global catalog. It covers all key data points needed for fashion discovery tools, retail analytics platforms, and e-commerce applications targeting the H&M product range.

What the API Covers

Product search supports keyword queries with advanced filters including size, color, fit, material, and sorting options. Pagination is included, making it practical for loading large result sets. Autocomplete is available through a separate endpoint for search-as-you-type interfaces.

Category structure is accessible through a dedicated endpoint that returns H&M’s full product hierarchy. This is useful for building navigation trees, filtering interfaces, or for organizing a catalog by product type.

Store data covers H&M locations worldwide, returning stores by country with addresses, opening hours, and available departments. Multi-country localization is supported through the /countries endpoint, which provides language codes and region-specific configuration.

Supplier details is a distinctive feature of this API. It returns manufacturing and supplier information for specific products, covering factory names, locations, and production details. This is valuable for platforms focused on supply chain transparency, sustainability reporting, or ethical sourcing research.

Use Cases

  • Fashion trend trackers and product discovery apps
  • Price comparison tools and availability monitors across H&M’s global catalog
  • Retail analytics dashboards tracking H&M product data
  • AI styling assistants that need structured clothing metadata
  • Supply chain transparency platforms using the supplier endpoint
  • E-commerce and affiliate tools built around H&M products

Further reading

Disclaimer

This API is an independent service built by HappyEndpoint. It is not affiliated with, endorsed, or sponsored by H&M. All data is retrieved from publicly available sources.

What you can do

Product Search
Category Browse
Store Locator
Supplier Details
Multi-Country Support
Search Autocomplete
JSON Responses
Near Real-Time Data

Endpoints & Schema

Every endpoint, parameter and example response is also in the Postman documentation , and you can fork the collection from the public Postman workspace .

MethodPathSummary
GET/product-searchSearch H&M products by keyword with filters for size, color, fit, and material
GET/auto-completeReal-time search suggestions for search-as-you-type experiences
GET/categoriesFull H&M category hierarchy for organizing or filtering product data
GET/countriesList of supported countries and language codes for localization
GET/storesH&M store locations by country including opening hours and departments
GET/supplier-detailsSupplier and manufacturing information for specific H&M products

Frequently asked questions

What does the H&M API return?+
H&M API for fashion product data - global catalog with prices, colours, sizes, stock levels, supplier detail, and store locations, as clean JSON.
How do I get an API key?+
Subscribe to this API on RapidAPI. You'll get keys, usage dashboards, and plan management out of the box.
Is there a free tier?+
Check the pricing tab on RapidAPI for current plans and testing allowances.
Can I try the data before subscribing?+
Yes - a free H&M dataset is available below.
Can I build an H&M store locator with this API?+
Yes. /stores returns every H&M store in a country with its address, postcode, latitude and longitude, opening hours for each day and the departments in the store. A call for the United Kingdom returns about 180 stores. Use /countries for the supported country and language codes.
Does the H&M API show stock availability?+
Yes. Each product in /product-search carries a stock value for every size, which is the field to use for sell-out tracking, along with its regular and sale prices, colours, images and product page link. The listing-level stock state reads Available on almost every product, so rely on the per-size values.
Can I use it to build an affiliate product feed?+
The API returns the fields a product feed needs: product name and ID, price, images, colours, sizes, availability and the product page path, page by page across the catalogue. Check the terms of the affiliate network you use for how product links must be tracked.