H&M+API.SH

H&M API

H&M products, prices, sale flags, colors and size availability as JSON, for any H&M market.

The API.SH H&M API returns public hm.com product data as JSON for the market you choose, such as en_us or en_gb. Search by keyword, browse a category, or open one article by number or link. Products include name, price, regular price and sale flag, color, category, availability, sizes with stock levels, other colors and images.

  • 3 endpoints
  • from $1 / 1,000 calls
  • 1,000 free credits / month
  • failed calls free
H&M product search
GET https://api.api.sh/hm/v1/search
{ "success": true }
1 credit · $1 per 1,000 calls

What you can build with the H&M API

Price and sale tracking

Compare price against regular price and the sale flag to follow markdowns by product and market.

Size and stock monitoring

Read sizes with stock levels to see when a size sells out or returns.

Assortment and trend research

Browse categories sorted by newest, and filter by department or facet, to see what H&M launches.

Cross-market price comparison

Request the same article in several locales, such as en_us and en_gb, to compare pricing.

Shopping and styling agents

Give an AI agent keyword search and product lookups with colors and sizes.

H&M data you get

Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.

H&M API endpoints and prices

Every H&M endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing

Search and discovery1
H&M product search
/hm/v1/search
$1 · $2 PAYG
1 credit
Products, listings and places2
H&M category listing
/hm/v1/category
$1 · $2 PAYG
1 credit
H&M product
/hm/v1/product
$1 · $2 PAYG
1 credit

Call the H&M API

H&M product search: GET https://api.api.sh/hm/v1/search

curl "https://api.api.sh/hm/v1/search?q=shirt" \
  -H "x-api-key: $APISH_KEY"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 482 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for files.

Why API.SH for H&M data

  • Public data only: no H&M login, cookies or account needed
  • One key and one response shape for H&M and 481 other platforms
  • Built and maintained by API.SH, not third-party publishers
  • Pay per call; errors on our side cost nothing
  • Live status for every endpoint

API.SH vs the official H&M API

H&M does not offer a public open API for product data, according to Google's AI overview. H&M Group runs an Integration Tech Hub for authorized partners and suppliers, and sellers connect through its marketplace. API.SH reads public product pages with no partner approval.

Instead of running an Apify H&M actor or maintaining your own scraper against hm.com, you get one key, a fixed price per call and the same JSON shape as every other store.

H&M API questions

What H&M data can I get?+

Keyword search with sort, department and facet filters (/hm/v1/search), category listings (/hm/v1/category) and one article by number or link (/hm/v1/product), each for a market locale. Fields include price, regular price, sale flag, color, availability and sizes with stock.

How much does the H&M API cost?+

Every H&M endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.

Is there a free trial?+

Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /hm/v1/category at 1 credit each.

Is there an official H&M API?+

Not a public one. H&M Group has an Integration Tech Hub for approved partners and suppliers and a marketplace connection through providers such as ChannelEngine, but no open product API. API.SH is unofficial and reads public product pages.

Do I need a H&M account or login?+

No. API.SH reads public hm.com product pages only. No endpoint uses a login, cookies or anyone's account, and nothing places orders.

How do I get started?+

1. Sign up at api.sh. 2. Copy your API key. 3. Call /hm/v1/search with a q such as jeans and a locale such as en_us. Request examples and every parameter are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.

Can I get H&M data for different countries?+

Yes. Pass a locale such as en_us, en_gb, de_de, fr_fr or sv_se to search, category and product to get that market's prices and availability.

Is scraping H&M legal?+

API.SH reads only data that H&M shows publicly, with no login. Whether your use is allowed also depends on the site's terms and the laws where you are, including privacy rules for any personal data, so check both before you build on it. This is general information, not legal advice.

More e-commerce APIs all e-commerce APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 482 platforms.
Get a free API key