Whole Foods
Whole Foods Sales Flyer API
The current weekly sales flyer of one Whole Foods Market store: each promotion's product name, brand, headline, description, terms, and regular, sale and Prime price as printed in the flyer, with start and end dates, image, tier, rank and the ASINs it covers. Costs 1 credit per request.
POST/api/v1/wholefoods/sales-flyer
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/jsonstore_idstringrequired5-digit Whole Foods store id. Find ids with /api/v1/wholefoods/stores.
Example: 10160
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.whole_foods.sales_flyer(store_id="10160")["data"]
print(res["store_name"], res["count"], "promotions")
for p in res["promotions"]:
print(p["rank"], p["product_name"], p["regular_price"], "->", p["sale_price"], "Prime:", p["prime_price"])Response
"store_id": "10160",
"store_name": "Columbus Circle",
"prime_eligible": true,
"count": 45,
},
"response_time": 1322
}