# Home Depot & Lowe's Scraper - Price & Store Stock

> Scrape Home Depot and Lowe's products by keyword, category URL, product URL or item ID: price, was-price, UPC, model, SKU, local store price, in-store stock quantity, aisle/bay, pickup/delivery, specs, images, ratings and optional reviews.

- Category: E-commerce & reviews
- Price: $6 per 1,000 × product with details, billed per result by Apify (no subscription); any other billed events are listed on the Store page. Cap any run with `maxTotalChargeUsd`.
- Store page: https://apify.com/wrenfield-data/home-depot-lowes-scraper?fpr=qx6tzs
- Human page: https://wrenfielddata.com/tools/home-depot-lowes-scraper/
- OpenAPI 3 spec: https://api.apify.com/v2/acts/wrenfield-data~home-depot-lowes-scraper/builds/default/openapi.json
- MCP tool: https://mcp.apify.com?tools=wrenfield-data/home-depot-lowes-scraper (appears as `wrenfield-data--home-depot-lowes-scraper`)

## Call it

Synchronous run that returns the dataset rows as JSON (use `/runs` for long jobs and poll; see the OpenAPI spec):

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/wrenfield-data~home-depot-lowes-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"retailer": "both", "startUrls": [{"url": "https://www.homedepot.com/b/Tools-Hand-Tools-Hammers-Claw-Hammers/N-5yc1vZc98p"}], "productIds": ["hd:205594063", "lowes:1000379005"], "maxItems": 4, "maxItemsPerQuery": 24, "includeDetails": true, "includeReviews": false, "maxReviewsPerProduct": 20, "reviewsSort": "relevance", "proxyConfiguration": {"useApifyProxy": true}, "residentialFallback": true, "useBrowserSessions": true, "maxConcurrency": 8, "maxRetries": 8}'
```

## Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `searchKeywords` | array |  |  | Keywords to search, one per line (e.g. cordless drill, claw hammer). Each keyword is searched on the retailer(s) chosen below and returns up to Max products per search/category products from each. |
| `retailer` | string |  | `"both"` | Where to search the keywords. URLs and prefixed item IDs always go to the retailer they belong to. |
| `startUrls` | array |  |  | homedepot.com category pages (/b/...N-5yc1v...), search pages (/s/drill) or product pages (/p/...); lowes.com category pages (/pl/...), search pages (/search?searchTerm=...) or product pages (/pd/...). |
| `productIds` | array |  |  | One per line: product URLs, or IDs with a prefix - hd:205594063 (Home Depot internet # / OMSID), lowes:1000379005 (Lowe's product ID from the URL) or lowes:921987 (Lowe's item #). Bare 9-digit numbers are treated as Home Depot IDs, other numbers as Lowe's. |
| `maxItems` | integer |  | `50` | Maximum number of product rows for the whole run (reviews are not counted). Duplicates across inputs are skipped. |
| `maxItemsPerQuery` | integer |  | `24` | How many products to take from each keyword (per retailer) or category URL. Both sites show 24 products per page; Home Depot allows paging to about 700 products per search. |
| `includeDetails` | boolean |  | `true` | Fetch each product's detail data: UPC, model, specifications, description, all images, categories, fulfillment and aisle/bay. Turn off for a faster listing-only scrape (title, price, rating, stock from the search grid). |
| `zipCode` | string |  |  | Optional 5-digit US ZIP. The nearest Home Depot and Lowe's stores are used for local price, in-store stock quantity and aisle/bay. Leave empty for online (national) prices. |
| `homeDepotStoreId` | string |  |  | Optional Home Depot store number (e.g. 121), overrides the ZIP lookup. Shown on homedepot.com store pages. |
| `lowesStoreId` | string |  |  | Optional Lowe's store number (e.g. 1807), overrides the ZIP lookup. Recommended for Lowe's - faster and more reliable than a ZIP search. |
| `includeReviews` | boolean |  | `false` | Also output customer reviews for every product (one row per review, type = review). |
| `maxReviewsPerProduct` | integer |  | `20` | Reviews are fetched 10 per request. |
| `reviewsSort` | string |  | `"relevance"` | Lowe's supports only most relevant and newest; other options fall back to most relevant there. |
| `proxyConfiguration` | object |  | `{"useApifyProxy": true}` | The run uses only the proxy you choose here, for the whole run (default: Apify datacenter proxy). It never switches to another proxy when a site blocks it: it backs off, stops early and saves what it has. As of November 2026 both retailers block datacenter IPs. |
| `maxConcurrency` | integer |  | `8` | Parallel requests. |
| `maxRetries` | integer |  | `8` | Blocked requests are retried with a new IP and session. |

## Example input

```json
{
  "retailer": "both",
  "startUrls": [
    {
      "url": "https://www.homedepot.com/b/Tools-Hand-Tools-Hammers-Claw-Hammers/N-5yc1vZc98p"
    }
  ],
  "productIds": [
    "hd:205594063",
    "lowes:1000379005"
  ],
  "maxItems": 4,
  "maxItemsPerQuery": 24,
  "includeDetails": true,
  "includeReviews": false,
  "maxReviewsPerProduct": 20,
  "reviewsSort": "relevance",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "residentialFallback": true,
  "useBrowserSessions": true,
  "maxConcurrency": 8,
  "maxRetries": 8
}
```

## Output fields

One flat row per result:

| Field | Type | Description |
|---|---|---|
| `type` | string | Row type: product, review or error (error rows are free) |
| `retailer` | string | homedepot or lowes |
| `itemId` | string | Home Depot internet # / OMSID, or Lowe's product ID |
| `modelNumber` | string | Manufacturer model number |
| `sku` | string | Home Depot store SKU / Lowe's item # |
| `upc` | string | UPC / barcode |
| `title` | string | Product title |
| `brand` | string | Brand |
| `image` | string | Main image URL |
| `price` | number | Current price (local store price when a store/ZIP is set) |
| `wasPrice` | number | Previous / strike-through price |
| `currency` | string | Currency |
| `unitPrice` | number/string | Price per unit when shown |
| `unitOfMeasure` | string | Unit of measure (Home Depot) |
| `savingsAmount` | number | Savings vs was-price |
| `savingsPercent` | number | Savings percent |
| `promotion` | object | Active promotion (Home Depot) |
| `specialBuy` | boolean | Special Buy / deal of the day (Home Depot) |
| `clearancePrice` | number | In-store clearance price (Home Depot) |
| `priceType` | string | STORE or NETWORK price (Lowe's) |
| `rating` | number | Average rating 1-5 |
| `reviewCount` | integer | Number of reviews |
| `availability` | object | online / shipToHome / delivery / pickup / inStore flags, online quantity, delivery dates |
| `storeStockQuantity` | integer | Units on hand at the selected store |
| `storeLimitedStock` | boolean | Limited stock at the store (Home Depot) |
| `aisle` | string | Aisle at the selected store |
| `bay` | string | Bay at the selected store |
| `store` | object | Selected store (id, name, address, city, state, zip) |
| `categories` | array | Category breadcrumb |
| `images` | array | All image URLs |
| `specifications` | array | Specifications {group, name, value} |
| `description` | string | Description |
| `bullets` | array | Feature bullets |
| `highlights` | array | Highlights (Home Depot) |
| `socialProof` | string | Social proof message, e.g. "100+ bought last week" (Lowe's) |
| `isSponsored` | boolean | Sponsored listing |
| `url` | string | Product URL |
| `detailsScraped` | boolean | false = listing-only row |
| `source` | object | Which input produced the row (search, page, position) |
| `productTitle` | string | Reviewed product title (review rows) |
| `reviewId` | string | Review ID |
| `reviewTitle` | string | Review title |
| `text` | string | Review text |
| `date` | string | Review date |
| `author` | string | Reviewer nickname |
| `recommended` | boolean | Would recommend |
| `helpfulVotes` | integer | Helpful votes |
| `verifiedPurchase` | boolean | Verified purchaser |
| `incentivized` | boolean | Incentivized review |
| `photos` | array | Review photo URLs |
| `error` | string | Error message (error rows) |
| `scrapedAt` | string | Scrape time (UTC) |
| `isBundle` | boolean | Home Depot bundle ("sets") product |
| `detailsError` | string | Why product-page details could not be loaded (listing-only row) |

## Notes

- Auth: an Apify API token as `Authorization: Bearer <token>`; the MCP server also supports OAuth sign-in.
- Failed or empty results are not charged on most tools; check the pricing on the Store page.
- Questions: hello@wrenfielddata.com
- Apify Store links on this page are referral links. They may earn us a commission, at no extra cost to you.
