Skip to main content
AI Studio  add-on for Spider.
hm.com

H&M Scraper

Extract apparel listings, pricing, color swatches, and availability from H&M fast fashion product pages.

No key required
curl -X POST https://api.spider.cloud/scrape \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www2.hm.com/en_us/women/products/jeans/straight.html?colorWithNames=beige_f5f5dc", "return_format": "markdown"}'

This exact call produced the response beside it. Get a key →

Content
127 lines 5.3 KB markdown
Render
No browser plain request is enough
Fetch time
2.0 s one measured fetch
This fetch cost
$0.002744 bandwidth plus compute
Women's Beige Straight Leg Jeans | High-Waisted & Denim | H&M US https://www2.hm.com/en_us/women/products/jeans/straight.html?colorWithNames=beige_f5f5dc
Women's Beige Straight Leg Jeans
# Women's Tan Straight-Leg Jeans
filters Beige have been applied and sort Recommended have been applied
Save to Favorites Denim Pull-On Pants
## Denim Pull-On Pants
Save to Favorites Straight High Waist Ankle Jeans
## Straight High Waist Ankle Jeans
Save to Favorites Straight-Leg Jeans
## Straight-Leg Jeans
## Women's Tan Straight-Leg Jeans
Discover our beige straight leg jeans, a versatile staple for any wardrobe. Combining a classic silhouette with neutral tones, these jeans offer a consistent fit from hip to hem. Our collection features various sand, stone, and cream shades, made from high-quality denim with a hint of stretch for comfort. Whether you prefer a minimalist look or want to try different textures, these jeans work for both casual and smart styles. Pair the clean lines with tucked-in knitwear or oversized tailoring for an easy outfit. Explore the range of finishes to find your perfect pair of beige straight leg jeans, or browse our full denim collection for more inspiration.
HTTP 200

You just saw the output.

That was one page. A key runs the same call across every URL on hm.com, with browser rendering, proxies, and concurrency. Sign up and a free balance lands on your account. No card required to test.

  • Free balance on signup, no card
  • Failed requests cost $0
  • robots.txt respected by default

The same call, in code.

The keyless call above returns markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on hm.com.

hm-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www2.hm.com/en_us/men/products/shirts.html");

// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();

console.log(data);
await spider.close();
ready to run · spider-browser, no selectors

Ready for volume? Get an API key →

Fields you can pull.

Product namePriceColorsSizesDescriptionMaterialCategoryImages

Spider names these from the page. The capture above came back as markdown; the same call with return_format: "json" returns them as keys.

What hm.com costs to scrape.

The capture above cost $0.002744 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.

  • Free balance on signup
  • No card required to test
  • Balance never expires
See the full pricing →

More E-Commerce scrapers.

Start scraping hm.com.

You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.