HEB
HEB Store Locator API
Find H-E-B stores near a zip code or city: store number, address, phone, hours, pharmacy availability, fulfillment options (curbside, delivery, in-store) and distance in miles. Costs 2 credits per request.
POST/api/v1/heb/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/jsonzipstringUS zip code. Send zip or city.
Example: 78701
citystringCity name, optionally with state (e.g. "Austin, TX"). Send zip or city.
Example: Austin, TX
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
stores = client.heb.stores(zip="78701")
for s in stores["data"]["stores"]:
print(s["store_number"], s["name"], s["distance_miles"], "mi")
print(f" {s['address']['street']}, {s['address']['city']}, {s['address']['state']}")
print(f" Curbside: {s['fulfillment']['curbside']}, Delivery: {s['fulfillment']['delivery']}")Response
"count": 2,
},
"response_time": 1924
}