Lowe's
Lowe's Store Locator API
Find Lowe's stores near a US ZIP code, nearest first: store number, name, address, phone and Pro Desk phone, coordinates, distance in miles, time zone, opening hours and features. Pass a store's store_id and its own ZIP to Lowe's Search and Product. Costs 2 credits per request.
POST/api/v1/lowes/stores
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/jsonzipstringrequired5-digit US ZIP code to find stores near.
Example: 28117
limitintegerStores to return, nearest first. 1 to 10, default 10.
Example: 10
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
stores = client.lowes.stores(zip="28117")["data"]["stores"]
for s in stores:
print(s["store_id"], s["name"], s["address"]["postal_code"], s["distance_miles"], "mi")
# Pin search and product to the nearest store
s = stores[0]
res = client.lowes.search(query="cordless drill", store_id=s["store_id"], zip=s["address"]["postal_code"])Response
"zip": "28117",
"count": 10,
},
"response_time": 18024
}