Home Depot
Home Depot Store Search API
Find Home Depot stores near a ZIP code, city or address as JSON: store number, full address, coordinates, distance in miles, store, Pro Desk and tool rental phone numbers, opening hours for each day, and in-store services such as tool rental, propane, key cutting and truck rental. Nearest first. Use the store number with the Store Availability and Delivery Quote endpoints. Costs 2 credits per request. With country "ca" it finds stores of Home Depot Canada (homedepot.ca, The Home Depot's Canadian store: 182 stores in 10 provinces) near a postal code, a city or a point, with 7 dated days of hours, for 1 credit.
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/jsonquerystringrequiredA 5-digit ZIP code, a city, or an address. Up to 200 characters. With country ca: a Canadian postal code (e.g. M5V 2T6) or a city (e.g. Calgary), up to 100 characters, or leave it out and pass latitude and longitude.
Example: 10001
limitintegerStores to return, nearest first. 1 to 20, default 20. With country ca: 1 to 50, default 10.
Example: 5
countryenum<string>default:usWhich Home Depot store to read. us (the default) is homedepot.com, exactly as before country existed, at the US cost. ca is Home Depot Canada (homedepot.ca, The Home Depot's Canadian store: 182 stores in 10 provinces), in Canadian dollars, at 1 credit per call. The parameters marked "Home Depot Canada only" apply only with ca.
Example: ca
us— homedepot.com (United States, USD). The default: a request without country is a US request.ca— homedepot.ca (Home Depot Canada, CAD), in English or French (language).
latitudenumberHome Depot Canada only: with longitude, instead of query. A latitude in Canada (41 to 84).
Example: 49.2827
longitudenumberHome Depot Canada only: with latitude, instead of query. A longitude in Canada (-142 to -52).
Example: -123.1207
pageintegerHome Depot Canada only: page of stores, 1-based (total_pages and has_more say how many).
Example: 2
languageenum<string>default:enHome Depot Canada only: en or fr. Item ids, store numbers and CAD prices are the same in both; names, links (/product/ or /produit/), facets and the unit of measure come back in that language.
Example: fr
en— English (default).fr— French.
Notes
Home Depot Canada. With country: "ca" this endpoint reads Home Depot Canada (homedepot.ca, The Home Depot's Canadian store: 182 stores in 10 provinces), in Canadian dollars, for 1 credit per call. Without country (or with us) it is the homedepot.com endpoint described above, unchanged. Stores with ca returns query, location_text, page, page_size, total_results, total_pages, has_more, count and stores [{store_id, name, address {line1, city, province, postal_code, country, formatted}, phone, latitude, longitude, distance_km, time_zone, services, hours}], where hours are 7 dated days ({day, date, closed, open, close}, local time with offset). store_id is the 4-digit store number the other Home Depot Canada endpoints take.
Not available for Home Depot Canada: UPC / GTIN (Home Depot Canada does not show them), structured sale end dates (a sale is a price badge such as New Lower Price or Special Buy, plus Home Depot Canada's promotion text), reviews past the first 8 per language, delivery quotes (shipping with ca is a 400), the flyer, cart or checkout, and price history (poll and store your own).
| Endpoint | US (homedepot.com) | Canada (homedepot.ca) |
|---|---|---|
search | 2 | 1 |
product | 2 | 1 (with or without store_id) |
reviews | 2 | 1 (first 8 reviews per language) |
stores | 2 | 1 |
availability | 2 | 1 (store_id required) |
shipping | 4 | Not available (400, not charged) |
category | Not available | 1 |
categories | Not available | 1 |
stock | Not available | 1 |
store | Not available | 1 |
suggestions | Not available | 1 |
Request
import requests
r = requests.post(
"https://api.scavio.dev/api/v1/homedepot/stores",
headers={"Authorization": "Bearer sk_live_your_key"},
json={"query": "10001", "limit": 5},
)
for store in r.json()["data"]["stores"]:
print(store["store_id"], store["name"], store["distance_miles"], "mi")Response