Search products
curl --request GET \
--url https://scrapebadger.com/v1/bestbuy/search \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/bestbuy/search"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/bestbuy/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/bestbuy/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/bestbuy/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/bestbuy/search")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/bestbuy/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_bodyBest Buy endpoints
Search products
Search products.
GET
/
v1
/
bestbuy
/
search
Search products
curl --request GET \
--url https://scrapebadger.com/v1/bestbuy/search \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/bestbuy/search"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/bestbuy/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/bestbuy/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/bestbuy/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/bestbuy/search")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/bestbuy/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_bodySearch products.
Credits: 10 per successful request. Failed requests and empty result sets are not charged.
Browse all Best Buy endpoints.
Authentication
string
required
Your ScrapeBadger API key.
Parameters
string
required
Query. Minimum length: 1.
integer
default:"1"
Page. Minimum: 1. Maximum: 100.
string
default:"best_match"
Sort. Allowed values:
best_match, best_selling, price_low, price_high, rating, newest.Response
{
"query": "laptop",
"page": 1,
"total_results": 7120,
"products": [
{
"sku": "6668412",
"bsin": "JJGH3R7P6C",
"title": "Lenovo - IdeaPad Slim 3i 15.6\" Full HD Laptop - Intel Processor N150 2024- 8GB Memory 128GB Storage - Arctic Grey",
"url": "https://www.bestbuy.com/product/lenovo-ideapad-slim-3i-15-6-full-hd-laptop-intel-processor-n150-2024-8gb-memory-128gb-storage-arctic-grey/JJGH3R7P6C/sku/6668412",
"brand": "Lenovo",
"upc": "199273053452",
"description": {
"long": "Impossibly slim, the Lenovo IdeaPad Slim 3i is amazingly dynamic and remarkably smart to take your work and play to the next level. Combined with an array of AI-driven productivity features, you’ve got the full works right in your hands."
},
"price": 269.99,
"regular_price": 399.99,
"savings": 130.0,
"currency": "USD",
"rating": 4.6,
"review_count": 106,
"images": [
{
"piscesHref": "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/3200e090-612e-4446-83fc-eb2be0732fe3.jpg",
"altText": "FIC-1-QA-WSD1D-2i1D-7YFnL-Joe4-1K-3Ci-6-13d-ZxD-N-Intel INSIDE Lenovo",
"rel": "Front_Zoom"
}
],
"specifications": [
{
"name": "Key Specs",
"specifications": [
{
"displayName": "Screen Type",
"value": "TN"
}
]
}
],
"features": [
{
"description": "Windows 11 Home OS smartly manages your hardware and runs routine applications efficiently.",
"title": "Windows 11 Home operating system"
}
],
"fulfillment": {},
"buying_options": [
{
"type": "New",
"pdpUrl": "https://www.bestbuy.com/product/lenovo-ideapad-slim-3i-15-6-full-hd-laptop-intel-processor-n150-2024-8gb-memory-128gb-storage-arctic-grey/JJGH3R7P6C/sku/6668412",
"product": {
"skuId": "6668412",
"openBoxCondition": null,
"price": {
"customerPrice": 269.99
},
"name": {
"short": "Lenovo - IdeaPad Slim 3i 15.6\" Full HD Laptop - Intel Processor N150 2024- 8GB Memory 128GB Storage - Arctic Grey"
},
"primaryImage": {
"piscesHref": "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/3200e090-612e-4446-83fc-eb2be0732fe3.jpg"
}
}
}
],
"seller": {
"classification": "1P",
"id": "bby"
},
"badges": [
{
"displayName": "Core essentials PC",
"typeCode": "NA",
"startDate": "2026-09-18T22:30Z",
"endDate": "2028-09-17T04:45Z"
}
],
"questions": {}
}
],
"facets": [
{
"parentFacetField": null,
"displayName": "GIF-Same Day Shipping",
"facetDisplay": "true",
"facetField": "samedayshippingallcondition_facet",
"maxValue": 10,
"values": [
{
"count": 107,
"value": "55423",
"categoryPath": null,
"nestedValues": null,
"__typename": "SearchFacetValue"
}
],
"__typename": "SearchFacet"
}
],
"sort_options": [
{
"value": "Best-Match",
"displayName": "Best Match",
"__typename": "SearchSortOption"
}
],
"applied_filters": {
"appliedFacets": [
{
"values": [
"abcat0502000"
],
"id": "category_facet",
"autoFacet": "true",
"__typename": "SearchRequestInfoAppliedFacet"
}
],
"categoryFacet": {
"categoryName": "Laptops",
"categoryPath": "abcat0502000",
"__typename": "SearchRequestInfoCategoryFacet"
},
"sort": {
"value": "Best-Match",
"displayName": "Best Match",
"__typename": "SearchRequestInfoSort"
},
"__typename": "SearchRequestInfo"
}
}
Example
curl --get 'https://scrapebadger.com/v1/bestbuy/search' \
--header 'X-API-Key: YOUR_API_KEY' \
--data-urlencode 'query=laptop' \
--data-urlencode 'page=1' \
--data-urlencode 'sort=best_match'

