Publix
Publix Store Locator API
Find Publix stores near a ZIP code or in a city, or read one store by number: store_id (the input of every price endpoint), name, type, address, phone, hours for the next 7 days, departments, services, pharmacy phone and hours, the Publix Liquors store next door, coordinates, distance, weekly_ad_break_day (the day the store's weekly ad starts) and opening date. Publix operates in FL, GA, AL, SC, NC, TN, VA and KY. 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/jsonzipstringA 5-digit US ZIP code: the stores nearest to it. Send one of zip, city + state or store_id.
Example: 33101
citystringA city name, with state.
Example: Nashville
statestringA 2-letter state code, with city (FL, GA, AL, SC, NC, TN, VA or KY).
Example: TN
store_idstring | integerOne store by number.
Example: 1825
limitintegerdefault:10Stores to return, 1-30.
Example: 30
radius_milesintegerdefault:50Search radius in miles, 1-100.
Example: 25
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# The nearest stores to a ZIP, with the day each store's weekly ad starts.
r = client.publix.stores(zip="33101", limit=5)["data"]
for s in r["stores"]:
print(s["store_id"], s["name"], s["distance_miles"], s["weekly_ad_break_day"])Response