Whole Foods
Whole Foods Store Locator API
Whole Foods Market stores near a US ZIP code, nearest first, within 15 miles widening to 50: store_id, name, address, phone, coordinates, distance in miles, time zone, and seven days of in-store and pickup hours. Costs 1 credit per request.
POST/api/v1/wholefoods/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/jsonzipstringrequiredUS ZIP code to search around.
Example: 10019
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.whole_foods.stores(zip="10019")["data"]
for s in res["stores"]:
print(s["store_id"], s["name"], s["address"], s["distance_miles"], "mi", "pickup:", bool(s["pickup_hours"]))Response
"zip": "10019",
"count": 29,
},
"response_time": 2565
}