Best Buy
Best Buy Store Pickup Availability API
Store pickup availability of one bestbuy.com SKU at up to 8 Best Buy stores: the stores nearest a ZIP code, or the store ids you pass. Each store has a status (in_stock, limited, ship_to_store, out_of_stock, not_available_for_pickup or unknown), the pickup date, the minimum hours until pickup, a quantity only when Best Buy shows "only N left", and the nearby store Best Buy suggests when this one cannot fill it. Takes 5-20 seconds. An unknown SKU is a 404 and is not charged. Costs 2 credits per request, whatever the number of 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/jsonskustringBest Buy SKU (a search result's sku). Pass sku or url.
Example: 6607832
urlstringA bestbuy.com product URL that names a SKU. Used when sku is not given.
zipstringCheck the stores nearest this US ZIP code. Pass zip or store_ids, not both.
Example: 94103
max_storesintegerWith zip: how many of the nearest stores to check, 1-8. Defaults to 5.
Example: 3
store_idsstring[]Check these stores instead: up to 8 store numbers (a stores result's store_id), as an array or a comma-separated string.
Example: ["187", "873"]
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.best_buy.availability(sku="6607832", zip="94103", max_stores=8)["data"]
print(res["name"], res["status_counts"])
for s in res["stores"]:
print(s["store_id"], s["name"], s["status"], s["quantity"], s["pickup_date"])Response