H&M avatar

H&M

Pricing

from $1.00 / 1,000 results

Go to Apify Store
H&M

H&M

Scrape products from H&M websites. All countries and languages. Fast and efficient. n8n node: n8n-nodes-hm

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

datasaurus

datasaurus

Maintained by Community

Actor stats

2

Bookmarked

9

Total users

0

Monthly active users

14 days ago

Last modified

Categories

Share

H&M Products Scraper

Extract structured H&M product data, prices, colours, sizes, images and stock availability across H&M website countries and languages.

Start from a website homepage or category URL, and combine multiple URLs—including different country websites—in one run. The Actor collects detailed product information and supports configurable scraping limits and product deduplication.

Checkout our other scrapers: Zara | ASOS | Boohoo | Stradivarius | Pull&Bear | MassimoDutti | Bershka | Oysho | ZaraHome | Boots | Sephora | Argos

What data can be extracted?

DataAvailable information
ProductProduct name, ID, brand and product page URL
PricingPrices, formatted prices and discount information where available
AvailabilityProduct availability, coming-soon status and size-level stock data
VariantsColours, colour codes, swatches, sizes and SKUs
Product detailsDescriptions and category information
ImagesProduct images, model images and colour-swatch images

Available fields depend on the product and information returned by H&M.

Use cases

  • Catalogue analysis — research products, categories and variants.
  • Price monitoring — compare prices and discounts over time.
  • Availability monitoring — track product and size availability.
  • Competitor research — compare assortment and product information.
  • International comparison — analyse H&M products across regional websites.

Supported URLs

ScopeExample
Websitehttps://www2.hm.com/en_gb/index.html
Categoryhttps://www2.hm.com/en_gb/home/seasonal-trending/bestsellers.html

Use regional URLs to select the country and language. Multiple start URLs can be supplied in one run.

Country and language examples

CountryLanguageWebsite URL
United KingdomEnglishhttps://www2.hm.com/en_gb/index.html
United StatesEnglishhttps://www2.hm.com/en_us/index.html
GermanyGermanhttps://www2.hm.com/de_de/index.html
FranceFrenchhttps://www2.hm.com/fr_fr/index.html

These illustrate regional URL formats rather than the full country list. Combine regional homepage or category URLs in start_urls to collect data from multiple markets in one run. Product ranges, prices and availability can differ between markets.

Input example

{
"start_urls": [
{"url": "https://www2.hm.com/en_gb/index.html"},
{"url": "https://www2.hm.com/en_gb/home/seasonal-trending/bestsellers.html"}
],
"deduplicate_across_all_start_urls": true,
"max_categories": 1,
"max_pages": 1
}

This example uses small limits for an initial test. See the Input tab for all configuration options and limit behaviour.

Output

Results are returned as structured JSON, preserving nested pricing, availability, image and variant data. A shortened example record:

{
"id": "0974175002",
"productName": "Cotton storage basket",
"brandName": "H&M",
"url": "https://www2.hm.com/en_gb/productpage.0974175002.html",
"prices": [
{
"priceType": "whitePrice",
"price": 19.99,
"minPrice": 19.99,
"maxPrice": 19.99,
"formattedPrice": "£19.99"
}
],
"availability": {
"stockState": "Available",
"comingSoon": false
},
"colorName": "Light beige",
"sizes": [
{"id": "001", "label": "NOSIZE", "stock": 2}
],
"mainCatCode": "home_storageorganizing_baskets"
}

The example illustrates the output structure; prices and availability are sample values.

AI agents and integrations

Connect chat clients such as Claude and ChatGPT to Apify through the Apify MCP server to discover and run eligible Actors from a conversation.

Structured records let agents work directly with product names, prices, colours, sizes and availability.

Example requests:

Collect products from this H&M category and return their names, prices and availability.

Collect product data from these regional H&M URLs for price and assortment comparison.

An H&M n8n node is also available.

Official integration guides

  • AI integrations — connect Apify data collection with AI applications and agent frameworks.
  • Apify MCP server — learn how agents discover and run eligible Actors, including setup, authentication and eligibility requirements.
  • n8n integration — run Actors and retrieve their results in n8n workflows using the Apify integration.

MCP availability depends on the Actor's pricing and permissions; see the MCP guide for current requirements.

Notes

  • Deduplication: Enable deduplicate_across_all_start_urls to reduce repeated products across overlapping categories. Concurrent scraping can occasionally leave duplicates.
  • Proxies: The Actor is configured to use datacentre proxies to help reduce IP blocking and keep request costs low.
  • Blocked requests: H&M may block requests with a 403 response, preventing a run from starting or completing. Rerunning may resolve the issue, but repeated blocking can persist.
  • Output format: JSON is recommended for preserving the nested data structure.

Support

For bugs, additional fields or supported URL requests, use the Actor's Issues tab. New to Apify? See the platform documentation.

Browse all Datasaurus scrapers.