Access Home Depot's vast product catalog with our powerful web scraping API. Get prices, specifications, and availability across product categories with unmatched reliability. Our Home Depot Scraper delivers comprehensive product information when precision and reliability matters most. Monitor Home Depot product prices across categories. Identify patterns. Respond to changes before your competitors even notice. Track product availability across locations. Identify regional stocking patterns. Never miss a restocking opportunity. Capture ratings and reviews at scale. Identify product quality trends. Extract valuable Home Depot product information with our ready-made code examples. Start scraping in seconds. Input parameters Product or item to be searched for on Home Depot. Starting point for pagination of search results. Sorting criterion (e.g., bestmatch, price, toprated). Order direction (ascending or descending). Input Output Product parameters Home Depot product identifier. Store location identifier for inventory checking. Input Output Access every corner of Home Depot's product catalog with ease. 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. Extract complete specifications, model numbers, brand details, and availability status with perfect accuracy. Compare across categories, track inventory changes, and identify emerging product trends. From anti-bot bypassing to pixel-perfect screenshots, our web scraping API handles the complex parts 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. 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. Click, scroll, wait for dynamic content to appear, or just run some custom JavaScript code. Our JavaScript scenarios simulate real user behavior. Seamlessly. Need a screenshot of that website and not HTML? Generate screenshots for visual analysis. Full-page captures. Partial views. Perfect for monitoring design changes. Extract Google Search data at scale with our specialized Google Search API. No rate limits. No complexity. Just pure search intelligence. 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. Cancel anytime, no questions asked! Need more credits and concurrency per month? Not sure what plan you need? Try ScrapingBee with 1000 free API calls. (No credit card required) The same powerful technology. Adapted to put retail data at your fingertips.Home Depot Scraping API
Raw Home Depot Data. Endless Possibilities. Perfect for Builders.
Track Price Fluctuations
Monitor Inventory Status
Analyze Consumer Feedback
Home Depot Product Data. From Request to Results. In Seconds
search_query
start
sort_by
sort_order
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"))
{
"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_id
store_id
(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();
});
}
(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
From basic searches to specialized product details, you can focus on using the data, not collecting it.Price Monitoring. Without Compromise
Complete Product Data. At Scale. Automatic
ScrapingBee. Built for Speed. Designed for Web Scraping Simplicity
Our customers focus on what matters - growing their businesses.Seamless Data Access
Get Exactly What You Need
Interact Like a Human
Screenshots for Visual Intelligence
Search Engine Results
AI Powered Web Scraping
Simple, transparent pricing.
More Scrapers. More Retail Data Sources. More Opportunities
Your Home Depot Data Questions. Answered.
Related Articles