H&M Scraper avatar
H&M Scraper
Try for free

7 days trial then $25.00/month - No credit card required now

View all Actors
H&M Scraper

H&M Scraper

misceres/h-m-scraper
Try for free

7 days trial then $25.00/month - No credit card required now

Scrape product data from H&M’s website using the country of the website.

What does H&M Scraper do?

With this scraper tool, you can get product data from H&M's website. The scraper visits the H&M website of your choice (usually a specific country) and scrapes all available H&M product data from that branch. One dataset takes around 30 min to take shape and includes product name, price, sale price, currency, country, description, URL, item number, category, subcategory, time of listing, and image URL.

What H&M product data can I extract with a scraper?

Each product will be listed in the dataset under a specific product category, subcategory, and division along with its price, description, URL, posting time, and other specifications.

👩 👱‍♂️ 👧 👶 Product division: Women, Men, Baby, H&M HOME, Kids, Sport, Beauty.

👔 👗 👚 🎁 Product categories: Trousers & Leggings, Sportswear, Nightwear & Loungewear, Basics, Plus Sizes, Shoes, Jeans, Jackets & Coats, Skirts, Maternity Wear, Swimwear & Beachwear, Bags, Makeup, Trousers, Shirts, Towels & Bathroom accessories, Partywear, Home Storage & Organizing, Vases & Decorations, Bedding, Rugs, Dinnerware & Tableware, Cookware & Bakeware, Lighting, Curtains, Blankets & Throws, Loungewear, etc.

🧥 🩱 🩳 🧢 Product subcategories: High Waisted Trousers, Flip Flops, Cargo Trousers, Bomber Jackets, Jackets & Coats, Jackets, Jumpers, Wrap Dresses, Party Dresses, Short Dresses, Trench Coats, Off Shoulder Shirts & Blouses, Denim shirts, Sweatshirts & Hoodies, Vests, Parkas, Graphic Tees & Printed T-Shirts, Lingerie & Tights, Dungarees, Swimwear, Handbags, Necklace, Hair Accessories, Socks & Tights, Makeup Brushes, Slim Fit, Casual Shorts, Loose Fit, etc.

Branches: United States, Mexico, France, Germany, Italy, Australia, Canada, Spain, United Kingdom, China.

Why scrape H&M?

🕵️ Conduct retail analysis by price, popularity, newness, etc.

👚 Identify new trends across retail industry and fast fashion in particular

👟 Keep an eye on competitor landscape

💪 Conduct basic market research by countries and product categories

How do I use H&M Scraper?

H&M Scraper was designed to be easy to start with even if you've never extracted product data from e-commerce websites before. Here's how you can scrape H&M product data using this tool:

  1. Create a free Apify account using your email.
  2. Open H&M Scraper.
  3. Choose a H&M branch (country) to scrape.
  4. Click "Start" and wait for the data to be extracted.
  5. Download your data in JSON, JSONL, XML, CSV, Excel, or HTML.

How much will it cost me to scrape product data from H&M shops?

Apify Free plan provides you with $5 free usage credits per month. For those $5 you can get more than 50,000 items from this H&M Scraper. So it will be completely free for at least 50K results!

If you need to scrape data from H&M or other e-commerce shops on a more regular basis and larger scale, go for a $49/month Personal plan.

Input

The input for H&M Scraper should be an H&M franchise in a particular country. You can pick one country per run; the scraper will extract data on every available H&M item offered on their website.

1{ 
2  "inputCountry": "USA"
3}

Output sample

The results will be wrapped into a dataset which you can always find in the Storage tab. Here's an excerpt from the data you'd get if you apply the input parameters above (USA):

Apify - H&M Run - Output

And here is the same data but in JSON. You can choose in which format to download your H&M data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

1[{
2  "company": "HM",
3  "country": "USA",
4  "productName": "H&M+ Pleated Skirt",
5  "articleNo": 1144202001,
6  "division": "Women",
7  "category": "Plus Sizes",
8  "subCategory": "Plus Sizes",
9  "listPrice": 24.99, 
10  "salePrice": null,
11  "currency": "USD",
12  "description": "Short, pleated skirt in twill. Concealed zipper at one side with button. Unlined.",
13  "url": "<https://www2.hm.com/en_us/productpage.1144202001.html>",
14  "imageUrl": "<https://lp2.hm.com/hmgoepprod?set=quality%5B79%5D%2Csource%5B%2F63%2F92%2F63929b71eb1244aea69ced6096126375c0baf963.jpg%5D%2Corigin%5Bdam%5D%2Ccategory%5B%5D%2Ctype%5BDESCRIPTIVESTILLLIFE%5D%2Cres%5Bm%5D%2Chmver%5B2%5D&call=url[file:/product/main]>",
15  "timestamp": "2023-03-03T14:11:12.397Z"
16},
17{
18  "company": "HM",
19  "country": "USA",
20  "productName": "H&M+ Crop Denim Overshirt",
21  "articleNo": 1033494001,
22  "division": "Women",
23  "category": "Plus Sizes",
24  "subCategory": "Shirts & Blouses",
25  "listPrice": 29.99,
26  "salePrice": null,
27  "currency": "USD",
28  "description": "The Water Saving Collection is a collection of 90s and Y2K-inspired denim garments made from more sustainable materials in a water-saving manufacturing process. Crop overshirt is in thick denim made from recycled cotton. Collar, snap fasteners at front, yoke front and back, and open front pockets. Dropped shoulders and long sleeves with snap fastener at cuffs. Rounded, slightly longer hem at back.",
29  "url": "<https://www2.hm.com/en_us/productpage.1033494001.html>",
30  "imageUrl": "<https://lp2.hm.com/hmgoepprod?set=quality%5B79%5D%2Csource%5B%2F02%2F29%2F022966c3fcf96f9e183939a2f58d83237169bf8b.jpg%5D%2Corigin%5Bdam%5D%2Ccategory%5B%5D%2Ctype%5BDESCRIPTIVESTILLLIFE%5D%2Cres%5Bm%5D%2Chmver%5B2%5D&call=url[file:/product/main]>",
31  "timestamp": "2023-03-03T14:11:12.511Z"
32},
33{
34  "company": "HM",
35  "country": "USA",
36  "productName": "H&M+ Crop Denim Overshirt",
37  "articleNo": 1033494002,
38  "division": "Women",
39  "category": "Plus Sizes",
40  "subCategory": "Shirts & Blouses",
41  "listPrice": 29.99,
42  "salePrice": null,
43  "currency": "USD",
44  "description": "The Water Saving Collection is a collection of 90s and Y2K-inspired denim garments made from more sustainable materials in a water-saving manufacturing process. Crop overshirt is in thick denim made from recycled cotton. Collar, snap fasteners at front, yoke front and back, and open front pockets. Dropped shoulders and long sleeves with snap fastener at cuffs. Rounded, slightly longer hem at back.",
45  "url": "<https://www2.hm.com/en_us/productpage.1033494002.html>",
46  "imageUrl": "<https://lp2.hm.com/hmgoepprod?set=quality%5B79%5D%2Csource%5B%2F9d%2F6e%2F9d6e37598b723c908562aea456fcdb79ea11d623.jpg%5D%2Corigin%5Bdam%5D%2Ccategory%5Bladies_plus_shirtsblouses%5D%2Ctype%5BDESCRIPTIVESTILLLIFE%5D%2Cres%5Bm%5D%2Chmver%5B2%5D&call=url[file:/product/main]>",
47  "timestamp": "2023-03-03T14:11:12.511Z"
48},
49{
50  "company": "HM",
51  "country": "USA",
52  "productName": "H&M+ Oversized Blouse",
53  "articleNo": 1070407001,
54  "division": "Women",
55  "category": "Plus Sizes",
56  "subCategory": "Shirts & Blouses",
57  "listPrice": 24.99,
58  "salePrice": null,
59  "currency": "USD",
60  "description": "Oversized blouse in a woven, textured viscose blend. Collar, buttons at front, and double-layered yoke at back. Chest pockets with flap and button, heavily dropped shoulders, and long sleeves with buttons at cuffs. Rounded hem, slightly longer at back.",
61  "url": "<https://www2.hm.com/en_us/productpage.1070407001.html>",
62  "imageUrl": "<https://lp2.hm.com/hmgoepprod?set=quality%5B79%5D%2Csource%5B%2F73%2F98%2F73980388982c1c7d55d551727d66b7a5831a6460.jpg%5D%2Corigin%5Bdam%5D%2Ccategory%5B%5D%2Ctype%5BDESCRIPTIVESTILLLIFE%5D%2Cres%5Bm%5D%2Chmver%5B2%5D&call=url[file:/product/main]>",
63  "timestamp": "2023-03-03T14:11:12.671Z"
64}]
65...

Integrations and H&M Scraper

Last but not least, H&M Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more.

Or you can use webhooks to carry out an action whenever an event occurs, e.g., get a notification whenever H&M Scraper successfully finishes a run.

Using H&M Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Scraping H&M products is legal. Our e-commerce scrapers are ethical and only extract publicly available data such as product names and descriptions, prices, time of posting on the website, categories, etc. If you would like to learn more about the most recent legal practices of data scraping, see this blogpost.

Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 0.0 days response time
  • Created in Feb 2023
  • Modified about 1 year ago