For the complete documentation index, see llms.txt. This page is also available as Markdown.

Home Depot Reviews API (Async)

The Home Depot Reviews API endpoint returns customer reviews for a single Home Depot product.

Single Product Request

curl -X POST \
	-H "Content-Type: application/json" \
	-d '{
			"apiKey": "API_KEY",
			"item_id": "ITEM_ID",
			"callback": {
				"type": "webhook",
				"url": "YYYYY"
			}
		}' \
"https://async.scraperapi.com/structured/homedepot/reviews"
import requests

url = "https://async.scraperapi.com/structured/homedepot/reviews"
headers = {
    "Content-Type": "application/json"
}
data = {
    "apiKey": "API_KEY",
    "item_id": "ITEM_ID",
    "callback": {
        "type": "webhook",
        "url": "YYYYY"
    }
}

response = requests.post(url, json=data, headers=headers)
print(response.text)

Multiple Products Request

curl -X POST \
	-H "Content-Type: application/json" \
	-d '{
			"apiKey": "API_KEY",
			"item_ids": ["ITEM_ID1", "ITEM_ID2"],
			"callback": {
				"type": "webhook",
				"url": "YYYYY"
			}
		}' \
"https://async.scraperapi.com/structured/homedepot/reviews"
import requests

url = "https://async.scraperapi.com/structured/homedepot/reviews"
headers = {
    "Content-Type": "application/json"
}
data = {
    "apiKey": "API_KEY",
    "item_ids": ["ITEM_ID1", "ITEM_ID2"],
    "callback": {
        "type": "webhook",
        "url": "YYYYY"
    }
}

response = requests.post(url, json=data, headers=headers)
print(response.text)

Supported Parameters

Parameters
Details

API_KEY (required)

Your API Key.

ITEM_ID (required)

Home Depot Internet number, the number at the end of the product URL. Required unless GTIN or URL is provided. Example: 320326855

To submit several products in one request, send them as an array in item_ids instead. Each item ID creates its own job.

PAGE

Reviews page number, sent as a string (e.g. "2"). Each page contains up to 30 reviews. Defaults to "1". Used only with ITEM_ID.

GTIN

Product barcode (UPC, EAN or GTIN), used instead of ITEM_ID.

Example: 045242637720

Note: Returns the 1st page with 10 reviews only. The barcode must match exactly one Home Depot product.

URL

A Home Depot product page or reviews page URL, used instead of ITEM_ID.

  • Product page (e.g. https://www.homedepot.com/p/320326855): returns the first 10 reviews only.

  • Reviews page (e.g. https://www.homedepot.com/p/reviews/x/320326855/3): returns that page, up to 30 reviews.

OUTPUT_FORMAT

This endpoint returns JSON output only. CSV is not supported.

Options:

  • json (default)

Only one product identifier is used per request. If you send more than one, URL takes priority, then GTIN, then ITEM_ID. To page through all reviews, use ITEM_ID with PAGE.

Sample Response

Single Product Request

Multiple Products Request

After the job(s) finish, you will find the result under the response key in the response JSON object. The structure is the same as in the corresponding SYNC data endpoint.