Discover/H&M API
live

H&M APIwww2.hm.com

Access H&M US product catalog, search, category navigation, sale listings, new arrivals, similar items, and store locations via a structured REST API.

Endpoints
8
Updated
11d ago
Try it

No input parameters required.

api.parse.bot/scraper/b11138d2-5bc5-459f-8d49-36adf6448cff/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/b11138d2-5bc5-459f-8d49-36adf6448cff/get_category_navigation' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 8 totalclick to expand

Fetch the full site navigation tree including all departments and subcategories. Returns hierarchical menu structure with nodeId, nodeName, href, and nested children for Women, Men, Kids, Baby, and other departments.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "categories": "array of category objects with nodeId, nodeName, href, children"
  },
  "sample": {
    "data": {
      "categories": [
        {
          "href": "/en_us/women.html",
          "nodeId": "ladies-women",
          "children": [
            {
              "href": "/en_us/women/new-arrivals.html",
              "nodeId": "ladies-new-arrivals-0-women-new-arrivals",
              "children": [],
              "nodeName": "New in"
            }
          ],
          "nodeName": "Women"
        }
      ]
    },
    "status": "success"
  }
}

About the H&M API

The H&M API covers 8 endpoints that expose H&M's US product catalog, including search, category navigation, sale and new-arrival listings, and physical store locations. The get_product_detail endpoint returns per-variant pricing, color swatches, availability states, and image arrays for any article code. Whether you're tracking prices, building a product feed, or mapping store locations, the API surfaces the structured data H&M displays to shoppers.

Product Catalog and Search

The search_products endpoint accepts a query string and returns matching hits with title, articleCode, prices, and images, along with facets for filtering and full pagination metadata (currentPage, totalPages, pageSize). For browsing by category, get_product_listing takes a category path such as men/products/view-all and optional page and sort parameters, returning totalHits and a hits array that includes swatches and sizes.

Product Detail and Recommendations

get_product_detail accepts either an article_code or a full product url. The response includes productName, brand, prices (each with priceType, price, and formattedPrice), an images array, swatches with colorName and articleId, a variations map keyed by variant article code, and an availability object reflecting stock state. To find related products, get_similar_items takes an article_code and returns recommendationLists, each containing a productList of similar items.

Sale, New Arrivals, and Navigation

get_sale_products accepts an optional category path such as women/sale/view-all and returns hits that include both regularPrice and redPrice along with discountPercentage. get_new_arrivals works the same way for recently added items. get_category_navigation requires no inputs and returns the full department tree — Women, Men, Kids, Baby, and more — as nested objects with nodeId, nodeName, href, and children.

Store Finder

get_store_finder returns US H&M store locations. The optional city parameter filters results by case-insensitive substring match (e.g. New York). Each store record includes name, address, coordinates, city, and openingHours. The total field indicates how many stores matched.

Common use cases
  • Monitor price changes on specific article codes using get_product_detail prices and availability fields.
  • Build a sale aggregator that tracks regularPrice, redPrice, and discountPercentage across categories via get_sale_products.
  • Populate a product feed with images, swatches, and variant details from get_product_detail variations.
  • Drive keyword-based product discovery using search_products facets and totalHits for result volume signals.
  • Map H&M store locations and display hours using get_store_finder coordinates and openingHours.
  • Track new-season drops by polling get_new_arrivals with specific department category paths.
  • Build a 'you may also like' feature using article codes from get_similar_items recommendationLists.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does H&M have an official public developer API?+
H&M does not publish a public developer API. The company has not released a documented REST or GraphQL API for third-party access to its product catalog or store data.
What does `get_product_detail` return beyond the product name and price?+
get_product_detail returns an images array, swatches (each with articleId and colorName), a variations object keyed by variant article code that includes per-variant color, price, and availability, and an availability object with stock state. You can look up a product by article_code or by passing the full product url.
Does the API cover H&M markets outside the United States?+
The API is scoped to the H&M US site (www2.hm.com/en_us). Pricing, availability, and store data reflect the US market only. You can fork this API on Parse and revise it to point at a different regional H&M domain if you need another market.
Does the API return customer reviews or ratings for products?+
Not currently. The endpoints cover pricing, availability, swatches, variants, images, and similar-item recommendations, but not user reviews or star ratings. You can fork this API on Parse and revise it to add a reviews endpoint if H&M surfaces that data.
How does pagination work across listing endpoints?+
Endpoints that return lists — get_product_listing, search_products, get_sale_products, and get_new_arrivals — all accept an integer page parameter and return a pagination object containing currentPage, totalPages, pageSize, and (where applicable) nextPageNum. totalHits tells you the total number of matching products across all pages.
Page content last updated . Spec covers 8 endpoints from www2.hm.com.
Related APIs in EcommerceSee all →
mouser.com API
mouser.com API
bigbasket.com API
Browse and search BigBasket's online grocery catalog. Retrieve product details, pricing, stock availability, category trees, search suggestions, homepage promotions, and delivery coverage — all in one API.
woocommerce.com API
Browse and search thousands of WooCommerce extensions, themes, and business services from the official marketplace while accessing detailed product information, user reviews, and ratings. Integrate marketplace data, blog content, and documentation directly into your applications to help users discover and learn about WooCommerce solutions.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.
leroymerlin.fr API
Search and browse Leroy Merlin France's complete product catalog to find items by category, view pricing, product details, and compare offerings from Leroy Merlin and their online partners. Access real-time product information including names, IDs, URLs, and seller details to help you discover and evaluate home improvement and DIY products.
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
lazada.co.th API
Search for products and browse categories on Lazada Thailand to find detailed information like prices, descriptions, and availability. Discover items by keyword or category to compare specifications and make informed purchasing decisions.
H&M API – Products, Search & Store Data · Parse