SocialCrawl

Commerce and retail

H&M data API

Read products from H&M with one key and one response shape.

Read H&M products by keyword, search-box suggestions, the markets and stores H&M publishes, the navigation tree, and the factories that make a product. Product rows use the same commerce schema as Amazon, Walmart and Target, so one parser handles all of them.

Products are keyed on the product id, the ten-digit number in an H&M product URL, such as 0685816001. Every search row carries one.

Your first call

cURL
curl "https://www.socialcrawl.dev/v1/hm/search?query=t-shirts" \
  -H "x-api-key: sc_your_key_here"
TypeScript
const url = new URL("https://www.socialcrawl.dev/v1/hm/search");
url.searchParams.set("query", "t-shirts");

const res = await fetch(url, {
  headers: { "x-api-key": process.env.SOCIALCRAWL_API_KEY! },
});
const data = await res.json();
console.log(data.data.items[0]);
Python
import os
import requests

res = requests.get(
    "https://www.socialcrawl.dev/v1/hm/search",
    headers={"x-api-key": os.environ["SOCIALCRAWL_API_KEY"]},
    params={
        "query": "t-shirts",
    },
)
data = res.json()
print(data["data"]["items"][0])

Each row carries the product id, name, brand, current and original price, images and colour. It also carries sizes, availability and the product page URL. Measured on 22/11/2026: this call returned 36 products for 5 credits in under a second.

Pass a product id from a row to read the factories that make it:

cURL
curl "https://www.socialcrawl.dev/v1/hm/product/suppliers?product_id=0685816001" \
  -H "x-api-key: sc_your_key_here"

What it covers

What you wantCall
Products for a keywordGET /v1/hm/search
Search-box suggestionsGET /v1/hm/search/suggestions
Factories, suppliers and worker bands for a productGET /v1/hm/product/suppliers
Every H&M store in a marketGET /v1/hm/stores
The markets H&M sells inGET /v1/hm/countries
The website navigation treeGET /v1/hm/categories

What it does not cover

  • Product detail by id. There is no product-detail endpoint, so read price, sizes and images from the search row.
  • A near-me store search. stores returns every store in one market as a single page.
  • Reviews and ratings. H&M rows carry no rating.
  • Anything behind an H&M login, such as orders or Club points.

All endpoints

6 endpoints available.

EndpointPathCredit Tier
Get the H&M category tree/v1/hm/categoriesstandard (1cr)
List H&M countries and languages/v1/hm/countriesstandard (1cr)
Get H&M suppliers and factories for a product/v1/hm/product/suppliersadvanced (5cr)
Search H&M products by keyword/v1/hm/searchadvanced (5cr)
Get H&M search suggestions/v1/hm/search/suggestionsadvanced (5cr)
List H&M stores in a country/v1/hm/storesadvanced (5cr)

How far back and how deep

Each list returns one page at a time. Send cursor for the next page, or max_items or max_pages to collect several pages in one call. A page size appears only where it has been verified. How paging works

PathRows per pageDate windowOne call collects
/v1/hm/searchabout 36noneup to 5,000 rows or 50 pages; limit up to 36

Platform notes

Pick the catalogue with language. language takes a language and region code such as en_us (the default), en_gb, de_de or fr_fr. It is a different code from the two-letter locale that countries returns, which is the value to pass as query to stores (us, gb, de).

Sort and filter search. sort_by takes relevance (default), newest, price_low or price_high. filters takes an H&M facet string copied from a live search payload, such as colorWithNames:black_000000. A guessed filter that H&M cannot parse fails the call instead of returning an unfiltered page.

Categories are the US tree. categories has no language parameter, so its links are the US ones.

Unknown ids differ by endpoint. An unknown country code on stores returns an empty list, while a product id H&M cannot resolve on product/suppliers fails the call.

Next steps

On this page

Ready to build?

Start getting social data for free and scale as your project grows. No credit card needed.