API Parameters
Customize the response from the HomeDepot API by adding parameters to your request.
Set engine=homedepot on every Home Depot API request.
The Home Depot API uses general parameters for authentication and routing, plus search-type-specific parameters for the selected Home Depot page type.
General parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
api_key | Yes | string | Your API access key. |
engine | Yes | string | Must be homedepot. |
type | Yes | string | The search type to scrape. Use product for Home Depot product pages. |
Product parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
product_id | Yes | string | Home Depot product ID. Required when type=product. |
Example
curl --get "https://ecom.webscrapingapi.com/v1" \
--data-urlencode "api_key=<YOUR_API_KEY>" \
--data-urlencode "engine=homedepot" \
--data-urlencode "type=product" \
--data-urlencode "product_id=310268685"