# Home Depot Product Scraper: Prices, Ratings and Stock (`santamaria-automations/home-depot-product-scraper`) Actor

Get products from Home Depot search and category pages: item ID, model number, brand, title, price, was-price, rating, review count, stock and delivery text, badges, images and category path. No login needed.

- **URL**: https://apify.com/santamaria-automations/home-depot-product-scraper.md
- **Developed by:** [NanoScrape](https://apify.com/santamaria-automations) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 93.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 home depot product scrapeds

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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Home Depot Product Scraper

Get products from [Home Depot](https://www.homedepot.com/) search and category pages. Enter a search phrase or paste a page address, and the actor returns one record per product: item ID, model number, store SKU, brand, title, link, price, was-price, rating, review count, stock and delivery text, badges, images and category path. No login and no API key are needed. Prices and stock are for one Home Depot store (currently store 121, Cumberland, GA); the store is chosen by the site and cannot be changed in the input.

### What you get

- One record per product from a Home Depot result list, with 12 or 24 products per page depending on the search.
- Several pages in one run. Set `maxResults` and the actor reads as many pages as it needs.
- Each product once per run, even if it shows up on more than one page.
- A run that is interrupted continues where it stopped. Products already delivered are not delivered or charged again.
- You pay only for products that were saved to the dataset.

### Use with AI agents (MCP)

Connect this actor to any MCP-compatible AI client, such as Claude Desktop, Cursor, VS Code, LangChain or LlamaIndex.

**MCP server URL:**

```
https://mcp.apify.com?tools=santamaria-automations/home-depot-product-scraper
```

**Example prompt once connected:**

> "Use `home-depot-product-scraper` to list the first 48 cordless drills on Home Depot with brand, price, was-price and rating as a CSV."

### Pricing

You pay per run start and per product saved.

| Event | Price |
|-------|-------|
| Actor start (`actor-start`) | $0.001 per run |
| Product scraped (`home-depot-product-result`) | $0.002 per product ($2.00 per 1,000) |

A run that saves nothing is not charged. Set a maximum cost per run in the run options and the actor stops cleanly when that limit is reached.

### Input

| Field | What it does |
|-------|--------------|
| `searchQueries` | Search phrases, for example `cordless drill`. |
| `startUrls` | Home Depot search or category page addresses. Filters and sort options in the address are kept. |
| `maxResults` | Most products to return across all inputs. Default 24. |
| Connection settings | Connection settings. Leave the default on. |

Example with a search phrase:

```json
{
  "searchQueries": ["cordless drill"],
  "maxResults": 12
}
```

Example with page addresses:

```json
{
  "startUrls": [
    "https://www.homedepot.com/s/impact%20driver",
    "https://www.homedepot.com/b/Tools-Power-Tools-Drills/N-5yc1vZc27f"
  ],
  "maxResults": 100
}
```

### Data extracted

| Field | Example |
|-------|---------|
| `item_id` | `"325403100"` |
| `parent_id` | `"325403100"` |
| `model_number` | `"3692-22CT"` |
| `store_sku` | `"1009624489"` |
| `brand` | `"Milwaukee"` |
| `title` | Product title |
| `url` | Product page link |
| `product_type` | `"MERCHANDISE"` |
| `price`, `currency` | `179`, `"USD"` |
| `was_price` | `249`, empty when the product is not discounted |
| `savings_amount`, `savings_percent` | `70`, `28` |
| `is_clearance` | `false` |
| `price_unit` | `"each"` |
| `units_per_case`, `unit_price`, `case_unit`, `coverage_unit` | Case and unit pricing, when the page shows it |
| `promotions` | `["New Lower Prices", "BOGO"]` |
| `rating`, `review_count` | `4.66`, `1368` |
| `availability` | `"in_stock"`, `"limited"`, `"out_of_stock"` or `"unknown"` |
| `availability_text` | `"Pickup in store at Cumberland (44 available); Ships to home with free delivery"` |
| `pickup_store`, `pickup_quantity` | `"Cumberland"`, `44` |
| `ship_to_home`, `free_delivery`, `delivery_timeline` | `true`, `true`, `"today"` |
| `badges` | `["Exclusive"]` |
| `image_url`, `image_urls` | Product images, 600 pixel versions |
| `breadcrumbs` | `["Tools", "Power Tools", "Power Tool Combo Kits"]` |
| `department` | `"Power Tool Combo Kits"` |
| `options_count` | `23` |
| `returnable` | `"90-Day"` |
| `is_sponsored` | `false` |
| `store_id`, `store_name` | `"121"`, `"Cumberland"` |
| `position`, `page` | `25`, `2` |
| `search_query`, `source_url` | The search phrase and the result page the row came from |
| `scraped_at` | `"2026-11-05T10:00:00Z"` |

Fields that a page does not show are returned empty.

### Output sample

```json
{
  "item_id": "325403100",
  "model_number": "3692-22CT",
  "store_sku": "1009624489",
  "brand": "Milwaukee",
  "title": "M18 18V Lithium-Ion Brushless Cordless Compact Drill/Impact Combo Kit (2-Tool) w/(2) 2.0 Ah Batteries, Charger & Bag",
  "url": "https://www.homedepot.com/p/Milwaukee-M18-18V-Lithium-Ion-Brushless-Cordless-Compact-Drill-Impact-Combo-Kit-2-Tool-w-2-2-0-Ah-Batteries-Charger-Bag-3692-22CT/325403100",
  "price": 179,
  "was_price": 249,
  "currency": "USD",
  "rating": 4.66,
  "review_count": 1368,
  "availability": "in_stock",
  "badges": ["Exclusive"],
  "breadcrumbs": ["Tools", "Power Tools", "Power Tool Combo Kits"],
  "position": 25,
  "page": 2,
  "search_query": "drill"
}
```

### Limitations

- Prices and stock are for one Home Depot store (currently store 121, Cumberland, GA). The store is chosen by the site and cannot be changed in the input; each record carries `store_id` and `store_name`.
- Only search pages and category pages are read. Single product pages are not supported.
- Home Depot shows a limited number of result pages for one search. Use several search phrases or category pages to go deeper.
- The site's search matches loosely. A search phrase with no real match can still return unrelated products, so check the titles in the results.
- Search results hold the list-level data. Product descriptions, full specifications and individual review texts are not included.
- Stock figures are a snapshot at the time of the run and change during the day.
- If Home Depot changes its page layout, a run can return no products. In that case the run ends with a clear message and nothing is charged.

### FAQ

**Do I need a Home Depot account?**
No. The actor reads public result pages only.

**Why are some prices the same as the was-price?**
When a product is not discounted, `was_price` is empty and `price` is the regular price.

**Can I scrape a category instead of a search?**
Yes. Paste the category page address into `startUrls`.

**How many products does one page hold?**
Home Depot shows 12 or 24, depending on the search. The actor reads as many pages as it needs for `maxResults`.

**Why does a run stop early with a time-limit message?**
Pages can take a while to load. The actor stops starting new pages when the run is close to its time limit, keeps what it already read, and finishes as succeeded. For more products, run again with a longer timeout (Run options) or a smaller `maxResults`.

**What happens if the run stops halfway?**
The actor saves its progress after every page. A restarted run continues from there without delivering or charging products twice.

**Is a run with no results charged?**
No. Only saved products and the run start are charged, and the start is charged together with the first saved products.

# Actor input Schema

## `searchQueries` (type: `array`):

Words to search for on homedepot.com, for example cordless drill. Each phrase is read page by page (12 or 24 products per page) until Max Results is reached.

## `startUrls` (type: `array`):

Home Depot search pages (https://www.homedepot.com/s/drill) or category pages (https://www.homedepot.com/b/Tools/N-5yc1vZc1xy). Filters and sort options in the address are kept. Further pages are read until Max Results is reached.

## `maxResults` (type: `integer`):

Most products to return across all inputs. 0 or empty uses 24.

## `debugSaveSource` (type: `boolean`):

Internal check: save the raw source of the first pages to the key-value store.

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

Connection settings. The default works for most runs; the actor chooses the level it needs.

## Actor input object example

```json
{
  "searchQueries": [
    "cordless drill"
  ],
  "maxResults": 12,
  "debugSaveSource": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `defaultDataset` (type: `string`):

Dataset containing one record per Home Depot product from the search or category pages

# 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 = {
    "searchQueries": [
        "cordless drill"
    ],
    "maxResults": 12,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("santamaria-automations/home-depot-product-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 = {
    "searchQueries": ["cordless drill"],
    "maxResults": 12,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("santamaria-automations/home-depot-product-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 '{
  "searchQueries": [
    "cordless drill"
  ],
  "maxResults": 12,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call santamaria-automations/home-depot-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,santamaria-automations/home-depot-product-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/xKRTnATOm8mZQ99oH/builds/mnUq4a5sZMxMhmtXl/openapi.json
