HM Product Search

HM Product Search

by pintostudio

Automatically extract product data from H&M search results. Get prices, titles, and URLs for market research, competitor analysis, or price tracking.

1,013 runs
20 users
Try This Actor

Opens on Apify.com

About HM Product Search

Need to track what H&M is stocking or monitor pricing for a specific item? This actor pulls product data directly from H&M's search results pages, turning a manual browsing task into structured data you can actually use. I've used it to gather details like product titles, prices, image links, and URLs. You just feed it a search term—say, "men's linen shirts"—and it returns a clean dataset or JSON from the results. It handles pagination automatically, so you can collect from multiple pages without extra setup. It's straightforward for checking competitor assortments, conducting market research on fast fashion trends, or even building a personal price alert system. The output is ready for analysis in a spreadsheet or to feed into your own applications. It saves the hassle of writing and maintaining your own scraper for H&M's site, which can be a moving target. If you're working in e-commerce data or retail analytics, this is a practical tool to have in your toolkit.

What does this actor do?

HM Product Search is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

HM Product Search Actor

Overview

This actor searches and extracts product data from H&M's website. It provides programmatic access to H&M's product catalog through an API, returning structured JSON results suitable for developers and researchers.

Key Features

  • Search H&M's product database with a query term.
  • Handle pagination for large result sets.
  • Configure items per page and target country/market.
  • Built-in rate limiting and error handling.
  • Easy integration into other applications and workflows.

Input Parameters

Configure the actor using these input fields:

  • query (required): Your search term (e.g., "jacket").
  • page (optional): The page number to start from. Default is 1.
  • perPage (optional): Number of products to return per page. Default is 36.
  • countryCode (optional): The market code for the H&M site (e.g., en_us). Default is en_us.

How to Use

Provide input via the Apify console or API. A basic configuration looks like this:

const input = {
  "query": "jacket",
  "page": "1",
  "perPage": "12",
  "countryCode": "en_us"
};

Run the actor with this input to fetch the first page of jacket products from the US English site.

Output Format

The actor returns a structured JSON object containing metadata and product listings.

Top-Level Structure:

{
  "requestDateTime": "2025-01-09T11:44:21.152Z",
  "pagination": {
    "currentPage": 1,
    "nextPageNum": 2,
    "totalPages": 37
  },
  "searchMeta": {
    "query": "jacket",
    "didYouMean": [],
    "relatedSearches": [],
    "blocked": false
  },
  "products": [ ... ]
}

Product Object (simplified example):
Each item in the products array contains detailed information:
* id, productName, brandName
* url: Link to the product page.
* prices: Array with redPrice (sale) and whitePrice (original).
* availability: Stock status.
* productImage and images: URLs for product photos.
* colorName, colors, and colourShades.
* iswatches: Array of available color variants for the product.

Use the pagination data to navigate through multiple pages of results.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try HM Product Search now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
pintostudio
Pricing
Paid
Total Runs
1,013
Active Users
20
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support