# Best Buy Products API

Best Buy products with title, brand, model, UPC, URL and price. Search by keyword or pass product URLs.

**Pricing:** $0.004 per product

**Endpoint:** `POST /v1/data/bestbuy/products/run`

**Auth:** `Authorization: Bearer mk_live_...`

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `searchQuery` | string | No | Keyword to search Best Buy for, e.g. 'airpods pro'. Results come back in Best Buy's own ranking. |
| `urls` | array | No | Best Buy product page URLs, e.g. https://www.bestbuy.com/site/-/6505729.p. One or more. |
| `maxResults` | integer | No | How many products to return in total. Defaults to 100; use 0 for all. |
| `sortBy` | string | No | Order of the results. Best match (Best Buy's default) if left blank. |
| `minPrice` | integer | No | Only products priced at or above this, in whole US dollars, e.g. 100. |
| `maxPrice` | integer | No | Only products priced at or below this, in whole US dollars, e.g. 500. |

## Example

`?wait=true` holds the request open until the run finishes (up to 60s) and returns the rows inline: one request, no polling.

```bash
curl -X POST "https://api.mindcase.co/v1/data/bestbuy/products/run?wait=true" \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/v1/data/bestbuy/products/run",
    params={"wait": "true"},
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {}},
)
rows = resp.json()["data"]
```

## Longer runs

If the run is still going at the 60s ceiling you get back `{ job_id, status: "running" }` instead of rows (same if the result is over 100 rows; those come back `truncated`). Poll with that `job_id`:

```bash
# 1) check status
curl https://api.mindcase.co/v1/jobs/JOB_ID \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"

# 2) when status == completed, fetch the rows
curl https://api.mindcase.co/v1/jobs/JOB_ID/results \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"
```

Full API reference (auth, jobs, balance, SDKs, MCP): https://mindcase.co/skills.md

## Response columns

| Field | Display name | Type |
|-------|--------------|------|
| `sku` | SKU | text |
| `title` | Title | text |
| `brand` | Brand | text |
| `model` | Model | text |
| `upc` | Upc | text |
| `productUrl` | Product URL | url |
| `price` | Price | number |
| `currency` | Currency | text |
| `listPrice` | List Price | number |
| `savings` | Savings | number |
| `savingsPercent` | Savings Percent | number |
| `onSale` | On Sale | boolean |
| `condition` | Condition | text |
| `availability` | Availability | text |
| `inStock` | In Stock | boolean |
| `rating` | Rating | rating |
| `reviewCount` | Review Count | number |
| `searchRank` | Search Rank | number |
| `isSponsored` | Is Sponsored | boolean |
| `sellerType` | Seller Type | text |
| `soldByBestBuy` | Sold By Best Buy | boolean |
| `openBoxLowestPrice` | Open Box Lowest Price | number |
| `openBoxOffers` | Open Box Offers | object_array |
| `financeMonthly` | Finance Monthly | number |
| `financeMonths` | Finance Months | number |
| `isNewArrival` | Is New Arrival | boolean |
| `badges` | Badges | array |
| `categoryPath` | Category Path | array |
| `mainImage` | Main Image | image |
| `images` | Images | array |
| `description` | Description | text |
| `highlights` | Highlights | array |
| `specifications` | Specifications | object |
| `dimensions` | Dimensions | object |
