Call it
curl https://api.peume.com/v1/call/search-home-depot \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"q": "your q"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-home-depot", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"q": "your q"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-home-depot",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"q": "your q"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: search-home-depot.
Parameters
store_idstringStore ID to filter the products by the specific store only. See all Home Depot stores
countrystringThe country to use for the Home Depot search. Only United States(`us`), and Canada(`ca`) are supported.
psstringDetermines the number of items per page. There are scenarios where The Home Depot overrides the `ps` value. By default, The Home Depot returns `24` (maximum allowed value) results.
upperboundstringDefines upper bound for price in USD.
minmaxstringDefines lower and upper bound for price in CAD. Parameter is only used in the Home Depot Canada. Example: `price:[100 TO 500]`(Between $100 to $500) Example: `price:[100 TO *]`(Minimum $100) Example: `price:[0 TO 500]`(Maximum $500) Example: `price:%5B100%20TO%20500%5D`(Encoded version, Between $100 to $500)
storestringStore ID to filter the products by the specific store only in Home Depot Canada. The default store is Gatineau (`7140`). See all Home Depot Canada stores
sortstringResults sorted by different options in Home Depot Canada. It can be set to: `price-asc`: Price Low to High, `price-desc`: Price High to Low, `reviewAvgRating`: Top Rated, `relevance`: Recommended (Default)
filterstringUsed to pass filter tokens divided by dash (-) in Home Depot Canada. Filter tokens can be obtained from API response
qRequiredstringThe search query. You can use anything that you would use in a regular The Home Depot search.
hd_filter_tokensstringUsed to pass filter tokens divided by comma. Filter tokens can be obtained from API response
lowerboundstringDefines lower bound for price in USD.
pagesizestringDetermines the number of items per page in the Home Depot Canada. By default, the Home Depot Canada returns `40` (maximum allowed value) results.
pagestringValue is used to get the items on a specific page. (e.g., `1` (default) is the first page of results, `2` is the 2nd page of results, `3` is the 3rd page of results, etc.). This parameter is common for both US and CA searches.
hd_sortstringResults sorted by different options in Home Depot US. It can be set to: `top_sellers`: Top Sellers, `price_low_to_high`: Price Low to High, `price_high_to_low`: Price High to Low, `top_rated`: Top Rated, `best_match`: Best Match
delivery_zipstringZIP Postal code. To filter the shipping products by a selected area.
naostringDefines offset for products result. A single page contains 24 products. First page offset is 0, second -> 24, third -> 48 and so on.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
