Managed H&M data extraction from hm.com product pages

Plans from €169 a month · Free project assessment · Reply within 1 business day

CSV · Excel · JSON · XML · FTP · SFTP · Amazon S3 · Google Cloud

hm.com
Managed H&M data extraction from hm.com product pages
hm.comwhat you get
Typical fields for online stores
titlepricecurrencyin_stockskuratingreviews
Delivery

API, JSON feed or CSV, XLSX and JSON files

Schedule

One-time, monthly, weekly, daily or 3 times a day

Formats, scheduling and delivery

  1. You send

    H&M pages, filters, fields and a schedule

  2. We run the scrapers

    Built, monitored and repaired by our team

  3. You receive the data

    API, JSON feed or CSV, XLSX and JSON files

We run the crawlers, you receive data. Output comes as CSV, JSON, XLSX or a REST API, on whatever schedule the use case needs: a one-off extraction, daily runs, or several runs a day for price and stock.

Files can be pushed to S3 or Google Cloud Storage, sent over SFTP, or emailed. The API serves the same records with filters on locale, division, category or article number. You choose full snapshots or change-only deltas against the previous run, and one file per locale or a single combined file with locale and currency columns. Schema, field names and cadence are agreed before the first run and stay stable; when H&M changes its storefront, we repair the crawler, not you.

Fields we extract from H&M

The listing grid and the product detail page (PDP) are both rendered by a Next.js storefront, so the values sit in a __NEXT_DATA__ script tag. Search and category results live under props > pageProps > srpProps > hits; the PDP payload sits under props > pageProps > productPageProps > aemData > productArticleDetails. We parse that embedded JSON state, which is also the only place size-level stock is exposed - the visible markup does not carry it.

  • Identityarticle number (art. no.), the product code and 3-digit colour variant code it splits into, product name, and the productpage URL it resolves to.
  • Pricecurrent price, the original struck-through price where a markdown is running, a Member Price flag where a member-only price is displayed, plus currency and the locale that produced them.
  • Variantcolour name and swatch, the full size list, and size-level stock status per article and per size.
  • Copyproduct description, composition and materials, care instructions, and Conscious Choice or other sustainability labelling where H&M applies it.
  • Placementdivision, category and the full breadcrumb path, so every row can be traced back to the PLP it was found on.
  • Mediaimage URLs from the lp2.hm.com hmgoepprod CDN, kept with their render parameters (source, origin[dam], type[DESCRIPTIVESTILLLIFE], res, quality), because these are parameterised render calls and not stable static file paths.
  • Signalsrating and review count, plus a brand field that separates H&M own product from H&M Marketplace external brands inside the same category feed.

Member Prices are shown only to signed-in members, so a logged-out crawl records the public price and flags where a member price exists; we do not sign in to accounts. Any other field visible on the page can be added to the schema.

Fields we extract from H&M
What only repeat crawling can show

What only repeat crawling can show

A single crawl of hm.com is a snapshot. Most of the commercial value in this vertical sits in the difference between snapshots, and H&M is unforgiving about it: the assortment turns over quickly, and once an article sells out it is delisted and its productpage URL stops returning a live product. That history cannot be back-filled afterwards. It exists only if something was recording while the article was still live.

Running the same crawl on a schedule gives you the sequence instead of the state. A price move becomes a series: full price, first markdown, deeper markdown, gone. Size-level stock changes during the day, so a daily or intraday cadence shows which sizes sell through first and how long a size stays unavailable before it comes back, which is a different signal from whether the article as a whole is in stock. New arrivals fall out of a diff against the previous run - the article numbers that were not there yesterday - which is steadier than reading the new-in page, where placement is merchandised.

Because price and currency are set entirely by the locale path, the same article number carries a different figure on en_us, en_gb and en_de. Comparing markets therefore means crawling each locale rather than converting currency, and repeated runs then show whether a markdown is global or local to one market.

H&M as a data source

Source
hm.com
Category
online stores
Delivery
API, JSON feed, CSV, XLSX
Plans
From €169 a month
Get a quote

H&M trades online as hm.com, with the main storefront served from www2.hm.com. As a data source it behaves like a numeric index rather than a catalogue. Product pages carry no keyword slug at all: the pattern is https://www2.hm.com/{locale}/productpage.{articleNumber}.html, for example productpage.1223910004.html. The 10-digit article number holds the identity. Its last three digits are the colour variant code and the leading digits are the shared product code. Every colourway is a separate URL and a separate row, and the product code is what pulls those rows back into one style.

Locale sits in the path as {lang}_{country}, such as en_us, en_gb or en_in, but it is not a clean country map: grouped regional locales like en_asia3 cover several markets under a single path. Listing pages (PLP) follow an AEM-style structure, /{locale}/{division}/{shop-by-product}/{category}.html, with view-all variants, across divisions including ladies or women, men, Divided, kids, baby, sport, beauty and H&M HOME. Segment naming is not stable between markets - en_gb uses /ladies/ where en_us uses /women/ - so category maps are built per locale, not translated. The grid itself loads progressively instead of paging, so one HTML fetch of a category returns the first batch only.

25Developers
500+Customers
1.5BPages extracted
15,000+Hours saved for our clients

H&M scraping plans and pricing

Airplane

€199one-time

Setup fee included

100,000
One-time
Up to 5 days
7 days

Helicopter

€169/ mo

Setup fee €499

250,000
Monthly
Up to 5 days
14 days

Glasses

€229/ mo

Setup fee €499

1,000,000
Weekly
Up to 5 days
30 days

Microscope popular

€349/ mo

Setup fee €499

2,000,000
Daily
Same day
60 days

DNA

€549/ mo

Setup fee €799

3,000,000
3 times daily
Same day
90 days

Delivery: CSV, JSON or XLSX files, our API or a JSON feed. MCP server on request.

Full plan details

What buyers do with H&M scraping

Fast fashion competes on price and speed, and H&M is a reference point for most of that market. The cases we build for are specific.

Competitor price tracking. Pricing teams at other high-street and online retailers match H&M at style level, using the shared product code to compare a garment across all of its colourways instead of treating each article number as an unrelated item.

Assortment and range analysis. Counting live articles by division and category, per locale, shows what H&M is actually carrying this season: how deep the Divided range runs, how much H&M HOME a market gets, which categories are being widened or cut.

Cross-brand benchmarking. The same crawl design covers Zara, ASOS, Uniqlo and the other H&M Group fascias - COS, ARKET, Weekday, Monki, & Other Stories - so a competitor set arrives in one shared schema instead of four shapes.

Product and sourcing intelligence. Composition, care and sustainability labelling read across a whole division tells private-label and manufacturing teams how the materials mix moves by category and market.

Marketplace and resale listings. Sellers who relist H&M stock need current prices, live sizes and image renders keyed to the article number.

Why teams hand H&M to ScrapeIt

ScrapeIt is a managed scraping agency. Nothing is installed or maintained on your side: we build the crawler, run it, watch it and repair it when a storefront shifts. Fashion retail is a large part of our work, so the awkward parts here - per-locale category maps, colourway explosion, size-level stock, two different edges in front of the same brand - are handled as routine engineering rather than discovered mid-project. Scope, fields and cadence are agreed up front, with a sample before you commit.

FAQ

Still unsure? Write to info@scrapeit.io

Is it legal to scrape H&M product data?

Yes. We read only pages any visitor can see: product pages, category pages and the store locator. We do not create accounts, do not sign in, do not touch checkout, and collect no personal data about customers or staff. We collect only publicly available data - everything a visitor can see on H&M, from prices and article numbers to sizes and compositions - and we collect it legally.

Does hm.com block scrapers?

hm.com, www.hm.com and www2.hm.com sit behind Akamai Bot Manager. Requests from datacenter address space are refused with an Akamai access denied page. The decision is driven by IP reputation and TLS fingerprint rather than by headers, so copying headers out of a browser does not change the result. H&M also runs more than one front door: newer market deployments sit on country subdomains on a different stack, and th.hm.com resolves into AWS CloudFront and returns the CloudFront 'Request blocked' page instead. A crawler has to recognise and handle both edges. We treat this as an infrastructure and pacing problem, run conservatively, and monitor both edges for change.

How do I get H&M prices for several countries and currencies?

One crawl per locale. Price, currency and tax presentation are set by the locale path, so the same 10-digit article number shows a different figure on en_us, en_gb and en_de, and no currency conversion reproduces that. Locale codes also do not map one-to-one to countries: alongside en_us and en_gb, H&M uses grouped regional locales such as en_asia3 that serve several markets from a single path. We agree the locale list with you, crawl each one separately, and stamp every row with its locale and currency so markets stay separable in the output.

Can you capture size availability and stock, and how often can it refresh?

Yes. Size-level availability is held per article and per size and is rendered from the embedded JSON state, not written into the visible HTML body, so it is read out of the __NEXT_DATA__ payload rather than scraped from markup. It also moves during the day, which makes cadence matter more here than in most verticals. Daily is the usual baseline for a full catalogue run, while a price and stock subset can be refreshed several times a day. The practical limit is the size of the URL set and how politely requests have to be paced, so we size the schedule with you before the first run.

Do you offer an H&M API for product data, and how is it delivered?

Yes. The ScrapeIt H&M API returns article numbers, locale prices, size-level stock, compositions and image URLs as JSON from an endpoint we host, refreshed on the schedule you set, against a schema agreed in advance. The data also comes as CSV or XLSX files or straight into your database. The same pipeline can carry Zara, ASOS, Uniqlo or H&M Group labels such as COS and ARKET in one normalised feed, so a competitor set arrives aligned rather than in four different shapes.

How it works

  1. 1

    Make a request

    You share your needs, expectations, and desired timeframe. We'll suggest the best solution based on your request and budget.

  2. 2

    We configure the crawlers

    Our specialists configure the crawlers and extract a sample dataset for your review before proceeding with the full-scale extraction.

  3. 3

    Collect and deliver

    Once you approve the sample, we launch the project and start full data collection. We gather, filter, and structure the data for easy use, delivering it on time in your preferred format.

  4. 4

    Maintain and support

    Our team manages ongoing processes, monitors website changes, and supports all data extraction cycles. We can also help integrate data into your systems or create dashboards to simplify analysis.

Request a quote

Tell us which sites, which fields and how often. A couple of lines is enough to start.

  • We reply within 1 business day
  • A sample dataset before the full run
  • We sign an NDA on request
  • Delivery by API, JSON feed or files
Which sites, which fields, how often. A couple of lines is enough.

This form is protected by Google reCAPTCHA, which loads when you start filling it in; the Google Privacy Policy and Terms of Service apply. If you prefer not to use it, email us at info@scrapeit.io. Privacy & Cookie Policy

We reply within 1 business day. No obligation.

H&M data from €169/month. Free project assessment, reply within 1 business day.