Best Buy product API
A Best Buy product with every offer, price, availability and rating.
GET /v1/bestbuy/productsBeta2 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/bestbuy/products?sku=6447382",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 2 credits{ "url": "https://www.bestbuy.com/product/apple-airpods-pro-2-wireless-active-noise-cancel…", "sku": "12558974", "product": { "@context": "https://schema.org/", "@type": "Product", "name": "Apple - AirPods Pro 2, Wireless Active Noise Cancelling Earbuds with Hearing Aid…", "image": [ { "@type": "ImageObject", "url": "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6447/6447382_sd.j…", "thumbnailUrl": "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6447/6447382_sd.j…" } ], "url": "https://www.bestbuy.com/product/apple-airpods-pro-2-wireless-active-noise-cancel…", "description": "AirPods Pro 2 - featuring pro-level Active Noise Cancellation, Adaptive Audio, T…", "sku": "12558974", "model": "MTJV3LL/A/MTJV3AM/A", "color": "White", "brand": { "@type": "Brand", "name": "Apple" }, "…": "5 more fields" }, "breadcrumb": [ { "name": "Headphones", "url": "https://www.bestbuy.com/site/electronics/headphones/abcat0204000.c?id=abcat02040…" }, "… 1 more" ]}Parameters
| Name | Type | Description |
|---|---|---|
urlquery | string | A bestbuy.com product URL. Example: https://www.bestbuy.com/site/apple-airpods-pro-2/6447382.p?skuId=6447382. |
skuquery | string | Or the Best Buy sku id. |
store_idquery | string | Accepted for parity; the page’s offers are online offers. |
Response fields
200 with a BestBuyProduct, in the schema.org Product Best Buy’s pages embed.
| Field | Type | Description |
|---|---|---|
url | string | |
sku | string | null | |
product | object | Best Buy’s schema.org Product: name, brand, model, sku, color, description, image, aggregateRating, and every offer (price, availability, condition, seller). |
breadcrumb | object[] |
Status codes
| Status | Meaning |
|---|---|
200 | The product. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The product does not exist. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Best Buy is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Best Buy is a trademark of Best Buy Co., Inc. We are not affiliated with or endorsed by Best Buy.