# Home Depot Scraper — Price & Promotion Tracker (`crawloop/home-depot-scraper`) Actor

Scrape Home Depot search, category and product pages: price, was-price, promotions, rating, model, UPC, specs. Monitor mode outputs only price, promotion and availability changes for scheduled tracking.

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

## Pricing

from $0.99 / 1,000 product listings

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 Price & Promotion Tracker

> **Disclaimer:** Unofficial tool — not affiliated with, sponsored by, or endorsed by The Home Depot or its affiliates. Data is read from publicly accessible search, category, and product pages only. No login. You are responsible for complying with applicable law and the site’s terms. No warranty on accuracy or availability. Provided for informational and research use.

Track Home Depot prices and promotions from search, category pages, product URLs, and item IDs. Schedule monitor mode to save only national price, promotion, or online-availability changes.

Use it as a Home Depot scraper and a Home Depot API alternative from Python, Node.js, cURL, or an AI assistant over Apify MCP. Results export as JSON, CSV, or Excel from the dataset.

### Related Actors

| Actor | What it adds |
| :--- | :--- |
| [Amazon Search Scraper](https://apify.com/crawloop/amazon-search-scraper) | Amazon search results |
| [Amazon Product Details Scraper](https://apify.com/crawloop/amazon-product-details-scraper) | Amazon product pages |
| [Amazon Best Sellers Scraper](https://apify.com/crawloop/amazon-bestsellers-scraper) | Amazon best-seller charts |
| [eBay Active Listings Scraper](https://apify.com/crawloop/ebay-active-listings-scraper) | Live eBay listings |
| [eBay Sold Listings Scraper](https://apify.com/crawloop/ebay-sold-listings-scraper) | eBay sold prices |
| Home Depot Scraper | ◄── you are here |

### When to use

- Build a price and assortment list from a keyword or a category.
- Pull full product rows from internet numbers or product URLs.
- Watch a basket of SKUs for price, promotion, and online availability changes on a schedule.

Skip it when you need review text. The dataset keeps the rating and the review count only.

### Key features

- Search keywords, category URLs, product URLs, and 9-digit item IDs in one run.
- `includeDetails` opens each search or category card for model, UPC, bullets, and specifications. Product URLs and item IDs always include details.
- Monitor mode stores a baseline in a named key-value store. The first run outputs every product with `changeType: "new"`. Later runs output only national price, promotion, or online-availability changes.
- `storeId`, `storeName`, `storeInventory`, and `pickupAvailable` are the nearest store to that request and vary from request to request. They are not compared in monitor mode.
- Pages are fetched together (`maxConcurrency`, default 8). Rows are saved as they are scraped. A migrated run continues from `RESUME_STATE` without duplicating item IDs.

### Input

| Field | Required | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | no | — | Product (`/p/`), search (`/s/`), or category (`/b/`) URLs. Mix them. |
| `search` | no | `[]` | Keywords. |
| `itemIds` | no | `[]` | 9-digit internet numbers. |
| `maxItems` | no | `100` | Total rows. `0` means no limit. In monitor mode it caps how many products are checked. |
| `includeDetails` | no | `false` | Open each search/category product for full fields. |
| `monitorMode` | no | `false` | Emit only national price, promotion, or online-availability changes. |
| `maxConcurrency` | no | `8` | Pages fetched at once (1–20). |
| `proxyConfiguration` | no | — | Optional. |

Keyword search:

```json
{
  "search": ["cordless drill"],
  "maxItems": 50
}
```

Item IDs and a product URL:

```json
{
  "itemIds": ["322138372", "320326875", "317987598"],
  "startUrls": [
    {
      "url": "https://www.homedepot.com/p/DEWALT-Atomic-20V-Lithium-Ion-Cordless-Compact-1-2-in-Drill-Driver-Kit-with-2-0Ah-Battery-and-Charger-DCD794D1/322138372"
    }
  ],
  "maxItems": 20,
  "includeDetails": true
}
```

Scheduled price and promotion watch:

```json
{
  "search": ["cordless drill"],
  "maxItems": 50,
  "monitorMode": true
}
```

### Output

One dataset row per product. Missing values are `null`.

Search-card rows fill the fields the card has: item id, URL, title, brand, price, original price, promotion, currency, in-stock flag, store inventory when the listing payload includes it, rating, and review count. Detail rows add model, store SKU, UPC, breadcrumbs, images, specifications, description, bullets, and variants when the page has them. A product page fills `inStock`, `pickupAvailable`, `deliveryAvailable`, and `storeInventory` when that page embeds fulfillment JSON. On the 0.1.1 live runs those fields were present on search cards and null on product-detail rows, because the product HTML did not include the same block.

Monitor rows add `changeType` (`new`, `price_changed`, `promotion_changed`, `availability_changed`) and `previous` (the last national price, promotion, and online availability).

```json
{
  "itemId": "322138372",
  "url": "https://www.homedepot.com/p/DEWALT-Atomic-20V-Lithium-Ion-Cordless-Compact-1-2-in-Drill-Driver-Kit-with-2-0Ah-Battery-and-Charger-DCD794D1/322138372",
  "title": "DEWALT Atomic 20V Lithium-Ion Cordless Compact 1/2 in. Drill/Driver Kit with 2.0Ah Battery and Charger DCD794D1",
  "brand": "DEWALT",
  "modelNumber": "DCD794D1",
  "storeSkuNumber": "1008373177",
  "upc": "0885911904810",
  "price": 99,
  "originalPrice": 179,
  "currency": "USD",
  "promotion": {
    "type": "strikethrough",
    "description": "Save $80.00 (45%)",
    "startDate": "2026-10-26",
    "endDate": "2027-01-31",
    "savingsPercent": 45
  },
  "inStock": null,
  "storeId": "121",
  "storeName": "Cumberland",
  "storeInventory": null,
  "rating": 4.7,
  "reviewCount": 12397,
  "breadcrumbs": ["Tools", "Power Tools", "Drills", "Power Drills", "DEWALT Power Drills"],
  "scrapedAt": "2026-11-06T18:00:20+00:00"
}
```

### Use cases

- A retailer compares shelf prices for “cordless drill” against their own catalog.
- A reseller drops a list of internet numbers in `itemIds` and exports model, UPC, and price.
- A pricing job runs the same input every morning with `monitorMode` so the dataset contains only SKUs that moved. The first run is the baseline (`changeType: "new"`). Quiet runs still check each product.

### Pricing

Pay per event, plus a tiny per-run start fee. Prices below are per 1,000 events.

| Event | Price per 1,000 | When it is charged |
| :--- | ---: | :--- |
| `apify-actor-start` | tiny per-run fee | Charged by the platform when the run starts. |
| `product-listing` | $0.99 | One search or category card saved without opening the product page. |
| `product-details` | $3.99 | One row saved with product details. |
| `monitor-check` | $2.99 | One product successfully checked in monitor mode, including the baseline run. |
| `monitor-change` | $0.99 | One row saved in monitor mode (a new baseline row or a real change). |

Keyword search returns up to the results the site shows for that search. Category URLs paginate, so use a category URL when you need a larger pull. Only saved rows and completed checks are charged. The run stops cleanly when the run’s maximum charge is reached.

### Integration examples

#### Node.js

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("crawloop/home-depot-scraper").call({
  search: ["cordless drill"],
  maxItems: 50,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("crawloop/home-depot-scraper").call(run_input={
    "search": ["cordless drill"],
    "maxItems": 50,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["itemId"], item["price"])
```

#### cURL

```bash
curl "https://api.apify.com/v2/acts/crawloop~home-depot-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"search":["cordless drill"],"maxItems":50}'
```

### MCP and AI assistants

Connect [Apify MCP](https://docs.apify.com/platform/integrations/mcp) and ask for this Actor by name. Example prompts:

- “Run the Home Depot scraper for cordless drill and return price, rating, and stock flag for 20 products.”
- “Check these Home Depot item IDs and tell me which ones are on promotion.”
- “Using yesterday’s monitor run, list Home Depot products whose price changed.”

### FAQ

**How do I get more than a few dozen products from a category?**
Use a specific subcategory URL (for example `https://www.homedepot.com/b/Tools-Power-Tools-Drills/Cordless/N-5yc1vZc27fZ1z140i3`). Top-level department pages show only a featured selection; subcategory pages paginate through the full list.

**Does monitor mode output unchanged products?**
No. After the baseline, a row is saved only when price, stock or availability, or the promotion changed.

**What do the store fields mean?**
`storeId`, `storeName`, `storeInventory`, and `pickupAvailable` are the nearest store to that request and vary from request to request. They are informational. Monitor mode ignores them.

**Why is stock filled on search rows and empty on product rows?**
Search and category cards include the listing's in-stock flag and quantity when that payload has them. Product pages include the same fields only when they embed fulfillment JSON. When they do not, those fields are null. `inStock` used for monitoring is online availability, not the store quantity.

**Can I mix keywords, URLs, and item IDs?**
Yes. Product URLs and item IDs are always detailed. Search and category cards are detailed only when `includeDetails` is true.

**Are reviews included?**
The rating and the review count are included. Review text is not.

# Actor input Schema

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

Home Depot URLs, mixed: product pages (/p/...), search pages (/s/...), and category pages (/b/...). Product pages always return full details.

## `search` (type: `array`):

Keywords to search. Example: cordless drill.

## `itemIds` (type: `array`):

Home Depot internet numbers (9 digits). Each one returns product details.

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

Maximum product rows to save. In monitor mode this caps how many products are checked. 0 means no limit.

## `includeDetails` (type: `boolean`):

Open each product from search or category results for model, UPC, bullets, specifications, and store fields. Product URLs and item IDs always include details.

## `monitorMode` (type: `boolean`):

Save only products whose national price, promotion, or online availability changed since the previous run with the same input. The first run is the baseline and outputs every product with changeType new. Schedule it for price tracking.

## `maxConcurrency` (type: `integer`):

How many pages to fetch at once. Use a higher value for product lists and monitor checks.

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

Optional proxy configuration.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.homedepot.com/s/cordless%20drill"
    }
  ],
  "search": [],
  "itemIds": [],
  "maxItems": 100,
  "includeDetails": false,
  "monitorMode": false,
  "maxConcurrency": 8,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Default dataset items.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.homedepot.com/s/cordless%20drill"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/home-depot-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 = { "startUrls": [{ "url": "https://www.homedepot.com/s/cordless%20drill" }] }

# Run the Actor and wait for it to finish
run = client.actor("crawloop/home-depot-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 '{
  "startUrls": [
    {
      "url": "https://www.homedepot.com/s/cordless%20drill"
    }
  ]
}' |
apify call crawloop/home-depot-scraper --silent --output-dataset

```

## MCP server setup

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