Home Depot
Home Depot Product API
Pull the full Home Depot item page as JSON by item id: price and promotion block, MAP and clearance fields, images and Brightcove videos, the complete specification table, dimensions and weight, marketing bullets and highlights, SDS and manual PDFs, return policy, Prop 65 warning, collection, and a 10-review preview. Costs 2 credits per request.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonitem_idstringrequiredHome Depot item id — the trailing number in a /p/... URL, and the item_id every Home Depot Search row returns. A full homedepot.com/p/... URL is accepted too: the id is extracted and the tracking parameters a copied listing URL carries are discarded. An id Home Depot cannot resolve is a 404 and IS billed, because Home Depot answers it with a 200 shell we pay for.
Example: 204279858
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# An id or a pasted product URL - both work.
product = client.home_depot.product("204279858")["data"]
print(product["title"], product["price"], product["rating"], product["review_count"])
specs = {row["name"]: row["value"] for row in product["specifications"]}
print(specs["Chuck Size (In.)"])
# The reviews here are a 10-item PREVIEW carrying only rating/title/author/text.
# Use the Home Depot Reviews endpoint for full bodies, dates, photos and paging.Response