ALDI
ALDI Product API
One ALDI US product by id or aldi.us URL at one store: price and was-price in dollars for that store and shopping mode (in-store shelf price by default), unit price, stock level, aisle location, category, brand, size, description, ingredients, allergen warnings, dietary labels and images. Pass store_id, or zip for the nearest store. 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/jsonproduct_idstringrequiredALDI product id (product_id of a search result), or an aldi.us product URL.
Example: 16902710
store_idstringALDI store id (store_id from /api/v1/aldi/stores). Prices and stock are that store's. Pass this, or zip to use the nearest store.
Example: 151248
zipstringUS ZIP code. Without store_id, the nearest ALDI store to this ZIP is used.
Example: 33133
service_typestringWhich price to return: instore (default, the shelf price in the store), pickup or delivery (the online prices for ordering from that store, often higher than the shelf price).
Example: instore
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
p = client.aldi.product(product_id="16902710", store_id="151248")["data"]
print(p["name"], p["size"], p["price"], p["unit_price"], p["stock_level"])
print("ingredients:", p["ingredients"])
print("allergens:", p["warnings"])Response