Lowe's
Lowe's Product API
One Lowe's item at one store: price, was-price and savings, units on hand with lead time per fulfillment method, stock at nearby stores, aisle and bay, grouped specifications, bullets, UPC, dimensions and weight, rating, images, and the store's address and hours. store_id and the store's ZIP are required. Prices are in dollars. 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_idstringrequiredLowe's item id (the number at the end of a lowes.com/pd/ URL), or the full product URL.
Example: 5016412045
store_idstringrequiredLowe's store number (up to 4 digits), as returned by /api/v1/lowes/stores.
Example: 0595
zipstringrequired5-digit US ZIP code. Use the store's own ZIP from /api/v1/lowes/stores.
Example: 28117
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
p = client.lowes.product(item_id="5016412045", store_id="0595", zip="28117")["data"]
print(p["title"], p["price"], "on hand:", p["stock_quantity"])
for a in p["aisle_locations"]:
print("aisle", a["aisle"], "bay", a["bay"])
# Stock at the stores around this one, same call
for s in p["pickup"]["nearby_stores"]:
print("store", s["store_id"], s["distance_miles"], "mi:", s["quantity"])Response