Home Depot Scraping API

Access Home Depot's vast product catalog with our powerful web scraping API. Get prices, specifications, and availability across product categories with unmatched reliability.

Gather detailed product data from America's largest home improvement retailer. At scale.
Extract everything from prices to model numbers to reviews with exceptional accuracy.
Try our Home Depot Scraper to quickly start scraping Home Depot Data. Receive clean, structured JSON.
based on 100+ reviews.

Raw Home Depot Data. Endless Possibilities. Perfect for Builders.

Our Home Depot Scraper delivers comprehensive product information when precision and reliability matters most.

image
icon

Track Price Fluctuations

Monitor Home Depot product prices across categories. Identify patterns. Respond to changes before your competitors even notice.

icon

Monitor Inventory Status

Track product availability across locations. Identify regional stocking patterns. Never miss a restocking opportunity.

icon

Analyze Consumer Feedback

Capture ratings and reviews at scale. Identify product quality trends.

Home Depot Product Data. From Request to Results. In Seconds

Extract valuable Home Depot product information with our ready-made code examples. Start scraping in seconds.

Input parameters

search_query

Product or item to be searched for on Home Depot.

start

Starting point for pagination of search results.

sort_by

Sorting criterion (e.g., bestmatch, price, toprated).

sort_order

Order direction (ascending or descending).

Input

                      from scrapingbee import ScrapingBeeClient
from pprint import pprint

client = ScrapingBeeClient(api_key="YOUR_API_KEY")


def homedepot_shopping_search(
    search_query, start=00, sort_order=None, sort_by="bestmatch"
):

    default_sort_order = {
        "bestmatch": "asc",
        "topsellers": "desc",
        "price": "asc",
        "toprated": "asc",
    }

    sort_order = default_sort_order[sort_by] if sort_order is None else sort_order

    extract_rules = {
        "total_results": ".results-applied__primary-filter-label",
        "products": {
            "selector": ".browse-search__pod",
            "type": "list",
            "output": {
                "brand_name": "[data-testid=attribute-brandname-above]",
                "product_name": "[data-testid=product-header] span.sui-text-primary",
                "current_price": "[data-testid=price-simple] span.sui-font-display.sui-text-4xl",
                "model": ".sui-flex.sui-text-xs.sui-mb-1.sui-mr-1",
                "rating": "[name=simple-rating]@aria-label",
                "reviews": "[name=simple-rating] + span",
                "link": "[data-testid=product-header] > a@href",
                "product_id": "[data-testid=product-header] > a@product-id",
            },
        },
    }

    js_scenario = {
        "instructions": [
            {"infinite_scroll": {"max_count": 0, "delay": 1000}},
            {"wait": 2000},
            {
                "evaluate": r"""
        document.querySelectorAll('[data-testid=price-simple] span.sui-font-display.sui-text-4xl').forEach( (e) => e.innerHTML = e.textContent );
        document.querySelectorAll('[name=simple-rating] + span').forEach( (e) => e.innerHTML = e.textContent.replace(/\((\d+)\)/g, '$1') );
        document.querySelectorAll('[data-testid=product-header] > a').forEach( (e) => {
            e.setAttribute('product-id', e.href.replace(/.+\/(\d+)$/g, "$1"));
            e.href = e.href;
        } );
        """
            },
            {"wait": 1000},
        ]
    }

    q = search_query.replace(" ", "+")

    response = client.get(
        f"https://www.homedepot.com/s/{q}?sortorder={
            sort_order}&sortby={sort_by}&Nao={start}",
        params={"extract_rules": extract_rules, "js_scenario": js_scenario},
        retries=2,
        headers=False,
    )

    if response.text.startswith('{"message":"Invalid api key:'):
        return f"Oops! It seems you may have missed adding your API KEY or you are using an incorrect key.\nYou can obtain your API KEY for by visiting this page: https://app.scrapingbee.com/account/manage/api_key"
    else:

        def get_info():
            if len(response.json()["products"]) == 0:
                return "FAILED TO RETRIEVE PRODUCTS"
            else:
                return "SUCCESS"

        return {
            "total_results": response.json()["total_results"].replace("\u200c", ""),
            "count": len(response.json()["products"]),
            "products": response.json()["products"],
            "info": f"{response.status_code} {get_info()}",
            "next_start": len(response.json()["products"]) + start,
        }


# sort_order: asc | desc (default values will be used if it's not specified)
# sort_by: bestmatch | topsellers | price | toprated

pprint(homedepot_shopping_search(search_query="drilling machine"))

                    

Output

                      {
    "count": 12,
    "info": "200 SUCCESS",
    "next_start": 12,
    "products": [
        {
            "brand_name": "Jet",
            "current_price": "3339",
            "link": "https://www.homedepot.com/p/Jet-2-HP-Milling-Drilling-Machine-with-R8-Taper-and-Worklight-12-Speed-115-230-Volt-JMD-18-350018/100489479",
            "model": "Model# 350018",
            "product_id": "100489479",
            "product_name": "2 HP Milling/Drilling Machine with R8 Taper and Worklight, 12-Speed, 115/230-Volt, JMD-18",
            "rating": "1 Star",
            "reviews": "1"
        },
        {
            "brand_name": "Jet",
            "current_price": "2599",
            "link": "https://www.homedepot.com/p/Jet-1-HP-Milling-Drilling-Machine-with-R8-Taper-and-Worklight-12-Speed-115-Volt-JMD-15-350017/100489506",
            "model": "Model# 350017",
            "product_id": "100489506",
            "product_name": "1 HP Milling/Drilling Machine with R8 Taper and Worklight, 12-Speed, 115-Volt, JMD-15",
            "rating": "3.5 Stars",
            "reviews": "5"
        },
        {
            "brand_name": "DEWALT",
            "current_price": "99",
            "link": "https://www.homedepot.com/p/DEWALT-20V-MAX-Cordless-1-2-in-Drill-Driver-2-20V-1-3Ah-Batteries-Charger-and-Bag-DCD771C2/204279858",
            "model": "Model# DCD771C2",
            "product_id": "204279858",
            "product_name": "20V MAX Cordless 1/2 in. Drill/Driver, (2) 20V 1.3Ah Batteries, Charger and Bag",
            "rating": "4.5 Stars",
            "reviews": "9852"
        },
        {
            "brand_name": "Jet",
            "current_price": "7689",
            "link": "https://www.homedepot.com/p/Jet-20-in-Geared-Head-Square-Column-Mill-Drill-Press-with-Power-Downfeed-6-Speed-1-2-in-Chuck-115-230V-1Ph-JMD-45GHPF-351046/306315958",
            "model": "Model# 351046",
            "product_id": "306315958",
            "product_name": "20 in. Geared Head Square Column Mill/Drill Press with Power Downfeed, 6-Speed, 1/2 in. Chuck, 115/230V 1Ph, JMD-45GHPF",
            "rating": "",
            "reviews": ""
        },
        {
            "brand_name": "RYOBI",
            "current_price": "59",
            "link": "https://www.homedepot.com/p/RYOBI-ONE-18V-Cordless-3-8-in-Drill-Driver-Kit-with-1-5-Ah-Battery-and-Charger-PCL201K1/326680222",
            "model": "Model# PCL201K1",
            "product_id": "326680222",
            "product_name": "ONE+ 18V Cordless 3/8 in. Drill/Driver Kit with 1.5 Ah Battery and Charger",
            "rating": "4.5 Stars",
            "reviews": "463"
        },
        {
            "brand_name": "RYOBI",
            "current_price": "59",
            "link": "https://www.homedepot.com/p/RYOBI-ONE-18V-Cordless-3-8-in-Drill-Driver-Kit-with-1-5-Ah-Battery-and-Charger-PDD209K/312462410",
            "model": "Model# PDD209K",
            "product_id": "312462410",
            "product_name": "ONE+ 18V Cordless 3/8 in. Drill/Driver Kit with 1.5 Ah Battery and Charger",
            "rating": "4.5 Stars",
            "reviews": "2533"
        },
        {
            "brand_name": "Jet",
            "current_price": "499",
            "link": "https://www.homedepot.com/p/Jet-1-2-HP-Benchtop-Mortise-Machine-115-Volt-1-2-in-Capacity-JBM-5-708580/100341772",
            "model": "Model# 708580",
            "product_id": "100341772",
            "product_name": "1/2 HP Benchtop Mortise Machine 115-Volt 1/2 in. Capacity JBM-5",
            "rating": "4 Stars",
            "reviews": "15"
        },
        {
            "brand_name": "Jet",
            "current_price": "899",
            "link": "https://www.homedepot.com/p/Jet-3-4-HP-15-in-Benchtop-Drill-Press-with-Worklight-16-Speed-115-Volt-J-2530-354401/204357262",
            "model": "Model# 354401",
            "product_id": "204357262",
            "product_name": "3/4 HP 15 in. Benchtop Drill Press with Worklight, 16-Speed, 115-Volt, J-2530",
            "rating": "4.5 Stars",
            "reviews": "33"
        },
        {
            "brand_name": "Shop Fox",
            "current_price": "1150",
            "link": "https://www.homedepot.com/p/Shop-Fox-13-1-4-in-12-Speed-Benchtop-Oscillating-Drill-Press-with-5-8-in-Chuck-Capacity-W1668/309625969",
            "model": "Model# W1668",
            "product_id": "309625969",
            "product_name": "13-1/4 in. 12-Speed Benchtop Oscillating Drill Press with 5/8 in. Chuck Capacity",
            "rating": "4 Stars",
            "reviews": "23"
        },
        {
            "brand_name": "Delta",
            "current_price": "458",
            "link": "https://www.homedepot.com/p/Delta-1-2-HP-Bench-Top-Mortising-Machine-14-651/203026196",
            "model": "Model# 14-651",
            "product_id": "203026196",
            "product_name": "1/2 HP Bench Top Mortising Machine",
            "rating": "4.5 Stars",
            "reviews": "42"
        },
        {
            "brand_name": "Grizzly Industrial",
            "current_price": "480",
            "link": "https://www.homedepot.com/p/Grizzly-Industrial-1-2-HP-Benchtop-Mortising-Machine-G0645/315084831",
            "model": "Model# G0645",
            "product_id": "315084831",
            "product_name": "1/2 HP Benchtop Mortising Machine",
            "rating": "4.5 Stars",
            "reviews": "43"
        },
        {
            "brand_name": "VEVOR",
            "current_price": "462",
            "link": "https://www.homedepot.com/p/VEVOR-MD40-1-1-2-in-Electric-Magnetic-Drill-Press-Drilling-Machine-with-11PC-HSS-Cutter-Set-Precise-Annular-Cutter-Kit-MD40CLZJZT11JT001V1/329892099",
            "model": "Model# MD40CLZJZT11JT001V1",
            "product_id": "329892099",
            "product_name": "MD40 1-1/2 in. Electric Magnetic Drill Press Drilling Machine with 11PC HSS Cutter Set Precise Annular Cutter Kit",
            "rating": "",
            "reviews": ""
        }
    ],
    "total_results": "79 Results"
}

                    

Product parameters

product_id

Home Depot product identifier.

store_id

Store location identifier for inventory checking.

Input

                      (function() {

  class CodeBlockComponent extends HTMLElement {
    
    constructor() {
      super();
      this.attachShadow({ mode: "open" });
    }
    
    bindEvents() {
      const { shadowRoot } = this;
      const copyButton = shadowRoot.querySelector('#copy-button'); 
      copyButton.addEventListener("click", () => {
          this.copyCode();                   
      });
    }

                    

Output

                      (function() {

  class CodeBlockComponent extends HTMLElement {
    
    constructor() {
      super();
      this.attachShadow({ mode: "open" });
    }
    
    bindEvents() {
      const { shadowRoot } = this;
      const copyButton = shadowRoot.querySelector('#copy-button'); 
      copyButton.addEventListener("click", () => {
          this.copyCode();                   
      });
    }

                    

Complete Home Depot Product Data Coverage. Unrivaled Precision

Access every corner of Home Depot's product catalog with ease.
From basic searches to specialized product details, you can focus on using the data, not collecting it.

Price Monitoring. Without Compromise

Track every price change across thousands of products in real-time. Identify seasonal discounts, flash sales, and pricing strategies. Turn Home Depot's pricing data into your market advantage.

Start Monitoring
**Price Monitoring. Without Compromise**

Complete Product Data. At Scale. Automatic

Extract complete specifications, model numbers, brand details, and availability status with perfect accuracy. Compare across categories, track inventory changes, and identify emerging product trends.

Check out Docs
**Complete Product Data. At Scale. Automatic**

ScrapingBee. Built for Speed. Designed for Web Scraping Simplicity

From anti-bot bypassing to pixel-perfect screenshots, our web scraping API handles the complex parts
Our customers focus on what matters - growing their businesses.

icon

Seamless Data Access

Extract data from any website. Bypass rate limits and anti-bot measures with advanced anti-bot measures, stealth/premium proxies and cutting-edge headless browser technology. Never miss a data point again.

See how it works
icon

Get Exactly What You Need

Skip the messy HTML. With our easy-to-use extraction rules, get perfectly structured JSON with just the data you care about. One API call. Done.

Explore extraction rules
icon

Interact Like a Human

Click, scroll, wait for dynamic content to appear, or just run some custom JavaScript code. Our JavaScript scenarios simulate real user behavior. Seamlessly.

Control the browser
icon

Screenshots for Visual Intelligence

Need a screenshot of that website and not HTML? Generate screenshots for visual analysis. Full-page captures. Partial views. Perfect for monitoring design changes.

Capture the web
icon

Search Engine Results

Extract Google Search data at scale with our specialized Google Search API. No rate limits. No complexity. Just pure search intelligence.

Explore Google Search API
icon

AI Powered Web Scraping

Jettison the Xpath and CSS selectors with our AI-powered Web Scraping feature, which enables you to extract data with just a prompt. Adapts to page layout changes with zero effort.

AI Web Scraping

Simple, transparent pricing.

Cancel anytime, no questions asked!

API Credits
Concurrent requests
Geotargeting
Screenshots, Extraction Rules, Google Search API
Priority Email Support
Dedicated Account Manager
Team Management
Freelance $49/mo
250,000
10
-
-
-
Startup $99/mo
1,000,000
50
-
-
Business + $599/mo
8,000,000
200
All prices are exclusive of VAT.

Need more credits and concurrency per month?

Not sure what plan you need? Try ScrapingBee with 1000 free API calls.

(No credit card required)

More Scrapers. More Retail Data Sources. More Opportunities

The same powerful technology. Adapted to put retail data at your fingertips.

Your Home Depot Data Questions. Answered.

Our API lets you extract comprehensive product details including names, brands, model numbers, prices, ratings, review counts, specifications, dimensions, availability, and product IDs. This data is delivered in structured JSON format for immediate integration with your systems.
Our scraper maintains exceptional reliability through advanced proxy management, browser fingerprinting, and custom JavaScript handling specifically designed for Home Depot's website structure. Even during high-traffic periods or website updates, you'll continue receiving accurate data.
Yes! Our AI-powered web scraping API makes data extraction effortless. Simply describe what you want to extract in plain everyday English — no need for complex selectors or DOM analysis. Our AI automatically adapts to page layout changes, delivers clean JSON outputs, and works seamlessly with our anti-bot technology. It's particularly powerful for Home Depot product data extraction, as it can understand and navigate complex product listings without manual configuration.
Yes. The API allows you to specify store IDs to check location-specific inventory status. This is particularly valuable for tracking regional availability patterns or monitoring stock levels in target markets.
Simply sign up for your free API key with 1000 free credits. Install our SDK, specify your search parameters, and start collecting Home Depot data immediately. Our documentation provides ready-to-use code examples to get you started in minutes.
Your data collection capacity depends on your subscription plan. Each API call consumes a certain number of credits based on the complexity of the request. Our plans are designed to scale with your needs, from occasional data collection to enterprise-level operations.