# Homedepot Category Scraper (`getdataforme/homedepot-category-scraper`) Actor

Extract detailed product data from Home Depot's vast catalog using keyword searches. This Apify Actor scrapes names, prices, ratings, reviews, and availability, delivering clean JSON outputs....

- **URL**: https://apify.com/getdataforme/homedepot-category-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** Automation, Lead generation, E-commerce
- **Stats:** 12 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Homedepot Category Scraper

### Introduction

The Homedepot Category Scraper is a powerful Apify Actor designed to extract product data from Home Depot's website based on search keywords. It efficiently scrapes category pages, collecting detailed information about products such as names, prices, ratings, and availability. This tool is ideal for e-commerce professionals, researchers, and businesses needing reliable, structured data from one of the largest home improvement retailers in the US.

### Features

- **Keyword-Based Scraping**: Search and scrape products using specific keywords for targeted data extraction.
- **High-Volume Handling**: Supports up to thousands of items per crawl with configurable limits to manage resources.
- **Proxy Integration**: Uses residential proxies to avoid IP blocks and ensure uninterrupted scraping.
- **Structured Output**: Delivers clean, JSON-formatted data ready for analysis or integration.
- **Fast and Reliable**: Built on CheerioCrawler for efficient parsing and minimal overhead.
- **Customizable Limits**: Set maximum items to control crawl depth and processing time.
- **Error-Resilient**: Handles common web scraping challenges like dynamic content and rate limits.

### Input Parameters

| Parameter | Type | Required | Description | Example |
|-----------|------|----------|-------------|---------|
| searchKeyword | string | Yes | The keyword to search for products on Home Depot. This initiates the scraping process for relevant categories. | "laptop" |
| maxItems | integer | No | Maximum number of product items to scrape. Helps control the scope and duration of the crawl. | 100 |
| proxyConfiguration | object | No | Configuration for proxy servers to mask the scraper's IP and avoid detection. Defaults to Apify's residential proxies. | {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"]} |

### Example Usage

To run the Actor, provide the following input JSON:

```json
{
  "searchKeyword": "drill",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

Example output JSON (structured product data):

```json
[
  {
    "name": "DEWALT 20V Max Cordless Drill/Driver Kit",
    "price": "$99.00",
    "rating": 4.5,
    "reviews": 1234,
    "availability": "In Stock",
    "url": "https://www.homedepot.com/p/DEWALT-20V-Max-Cordless-Drill-Driver-Kit/123456789"
  },
  {
    "name": "Makita 18V LXT Lithium-Ion Cordless Drill",
    "price": "$149.00",
    "rating": 4.7,
    "reviews": 567,
    "availability": "Out of Stock",
    "url": "https://www.homedepot.com/p/Makita-18V-LXT-Lithium-Ion-Cordless-Drill/987654321"
  }
]
```

### Use Cases

- **Market Research**: Analyze product trends, pricing, and availability in the home improvement sector.
- **Competitive Intelligence**: Monitor competitors' offerings and pricing strategies on Home Depot.
- **Price Monitoring**: Track price changes for specific products to inform purchasing decisions.
- **Content Aggregation**: Build databases of product listings for comparison websites or apps.
- **Academic Research**: Gather data for studies on consumer goods, retail economics, or supply chain analysis.
- **Business Automation**: Automate data collection for inventory management or e-commerce platforms.

### Installation and Usage

1. Search for "Homedepot Category Scraper" in the Apify Store.
2. Click "Try for free" or "Run".
3. Configure input parameters as needed.
4. Click "Start" to begin extraction.
5. Monitor progress in the log.
6. Export results in your preferred format (JSON, CSV, Excel).

### Output Format

The Actor outputs a JSON array of objects, each representing a scraped product. Key fields include:

- `name`: Product title.
- `price`: Current price (string, e.g., "$99.00").
- `rating`: Average customer rating (number, 0-5).
- `reviews`: Number of reviews (integer).
- `availability`: Stock status (string, e.g., "In Stock").
- `url`: Direct link to the product page.

Data is cleaned and structured for easy parsing, with no duplicates unless specified.

### Support

For custom/simplified outputs or bug reports, please contact:

- Email: support@getdataforme.com
- Subject line: "custom support"
- Contact form: https://getdataforme.com/contact/

We're here to help you get the most out of this Actor!

***

### PART 2: Concise Description

Unlock Home Depot's vast product catalog with our Homedepot Category Scraper! Effortlessly extract detailed product data like prices, ratings, and availability using keyword searches. Features include proxy support for reliable scraping, customizable item limits, and structured JSON outputs. Perfect for market research, price monitoring, and competitive analysis. Start scraping today—try it free on Apify! (248 characters)

# Actor input Schema

## `searchKeyword` (type: `string`):

Search keyword for which you want to scrape .

## `maxItems` (type: `integer`):

Maximum number of requests that can be made by this crawler.

## `proxyConfiguration` (type: `object`):

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "searchKeyword": "laptop",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchKeyword": "laptop",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/homedepot-category-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchKeyword": "laptop",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/homedepot-category-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchKeyword": "laptop",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call getdataforme/homedepot-category-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getdataforme/homedepot-category-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/YrtsfsZxuREpl4hJp/builds/GUblYfJgLhgMq0aos/openapi.json
