Lowe's product search
Products on Lowe's (US) for keywords, as a visitor without a selected store sees them. Each product: id, item number, model, name, brand, price, was-price, savings and savings end date, rating, review count, key specs, sponsored and marketplace flags, online availability by fulfilment method, link, image and raw. facets lists the site's refinements with counts; pass a value's refinement back as refinement (join several with +). Broad terms (e.g. paint) open a category page instead of results: the answer then has no items and redirected_to names that page. 24 per page; pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
qrequired | string | Keywords, e.g. cordless drill. Example: cordless drill |
refinement | string | Refinement ids from facets[].values[].refinement, joined with +. |
page | integer | Page number (up to 50). Pass next_page from the previous response. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/lowes/v1/search?q=cordless+drill" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/lowes/v1/search",
params={"q": "cordless drill"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/lowes/v1/search");
url.searchParams.set("q", "cordless drill");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).