Publix
Publix Savings Search API
Find a keyword across one Publix store's weekly ad, Extra Savings and digital coupons in one call. Each item carries saving_type (weekly_ad, extra_savings or coupon) and that list's own fields: deal type, savings text and valid dates for weekly-ad items, the amount saved and final price for Extra Savings, value and terms for coupons. "coffee" at a Miami store returned 18 matches. Costs 1 credit 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/jsonquerystringrequiredA keyword to find in the store's weekly ad, Extra Savings and digital coupons, 1-100 characters.
Example: coffee
store_idstring | integerrequiredA Publix store number (stores[].store_id of the stores endpoint, found by ZIP or city), 1-5 digits. Prices, promotions and aisles are this store's, and the answer echoes the store (id, name).
Example: 1614
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# Every coffee deal at store 1614, grouped by where it comes from.
r = client.publix.savings_search(query="coffee", store_id="1614")["data"]
for i in r["items"]:
print(i["saving_type"], i["title"], i["savings_text"], i.get("valid_to"))Response