Scraper APIBest Buy
bestbuy.search
The products on a page of Best Buy's search results: prices, ratings, brands, models and who sells each.
- Id
bestbuy.search- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/bestbuy.search/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
queryrequired | string | What to search for, e.g. "wireless headphones".Limit: at least 1 characters, at most 200 characters. |
page | integer | The results page, from 1 (Best Buy serves at most 100, of 18 products each).Limit: 1 to 100. Default: 1. |
sort | "best_match" | "best_selling" | "best_discount" | "price_low" | "price_high" | "rating_high" | "newest" | Best Buy's sort order.Default: "best_match". |
max_results | integer | Return at most this many items of the page; all of them when not given.Limit: 1 to 100. |
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
sku | string or null | Best Buy's SKU number of the product; null for a bundle, which has none of its own. |
bundle | boolean | True for a bundle of several products sold together: it has a name, a page and the SKUs in it, and the results list states no price, brand or rating for it.Default: false. |
bundle_skus | array of string | For a bundle, the SKUs of the products in it. |
url | string or null | The product's (or the bundle's) address on bestbuy.com. |
title | string | The product's name, as the results page writes it. |
brand | string or null | The brand. |
model | string or null | The manufacturer's model number, when Best Buy states one. |
price | number or null | The current price, in currency; null when Best Buy does not show one before the product is in the cart. |
regular_price | number or null | The regular price Best Buy states beside the current one; the same amount when the product is not reduced. |
savings | number or null | How much below the regular price the current price is, when it is. |
price_note | string or null | What Best Buy writes in place of a price it does not show, e.g. to see it in the cart. |
currency | string or null | The currency of the prices: USD, the only currency bestbuy.com sells in; null when the record states no price. |
rating | number or null | Average rating, 1 to 5; null for a product nobody has reviewed. |
rating_count | integer or null | Number of reviews. |
condition | string or null | The product's condition in Best Buy's words, e.g. new, refurbished, pre-owned. |
seller_type | string or null | best_buy when Best Buy sells the product itself, marketplace when another seller does. |
seller_id | string or null | Best Buy's id of the marketplace seller; null when Best Buy sells the product. |
labels | array of string | The labels on the tile, e.g. Trending Deal, Special offer. |
is_new | boolean or null | True when Best Buy marks the product as a new arrival. |
image | string or null | The address of the product's main picture. |
position | integer | The item's place among the returned items of this page, from 1. |
page | integer | The results page the item was on. |
fetched_at | string (date-time) | When the results page was read, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/bestbuy.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"laptop"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("bestbuy.search", {"query": "laptop"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("bestbuy.search", { query: "laptop" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "bestbuy.search", map[string]any{"query": "laptop"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("bestbuy.search", Map.of("query", "laptop"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run bestbuy.search --input query=laptopInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"query": "laptop"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "bestbuy.search",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"query": "laptop"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"sku": "6679316",
"bundle": false,
"bundle_skus": [],
"url": "https://www.bestbuy.com/product/hp-omnibook-3-14-2k-oled-laptop-snapdragon-x-8-core-cpu-8gb-memory-256gb-ssd-41-hrs-battery-life1-starlit-blue/J3PPHFY77J/sku/6679316",
"title": "HP - OmniBook 3 - 14\" 2K OLED Laptop - Snapdragon X (8-Core CPU) - 8GB Memory - 256GB SSD - 41+ Hrs Battery Life¹ - Starlit Blue",
"brand": "HP",
"model": "14-hz0088dx/DQ2E7UA#ABA",
"price": 399.99,
"regular_price": 599.99,
"savings": 200,
"price_note": null,
"currency": "USD",
"rating": 4.6,
"rating_count": 137,
"condition": "new",
"seller_type": "best_buy",
"seller_id": null,
"labels": [
"Core essentials PC",
"Everyday productivity PC"
],
"is_new": false,
"image": "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/39e6d3fd-e7c7-46bf-9356-dc30a18e60ae.jpg",
"position": 1,
"page": 1,
"fetched_at": "2026-11-19T18:07:39.095099Z"
}
],
"next_cursor": null
}A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Best Buy scrapers are in their own section there.