Skip to content
Scrappa Get API key
Best Buy US API 1 credit / request

Best Buy Search API Documentation

GET https://scrappa.co/api/bestbuy/search

Best Buy Search API Documentation Search Best Buy US by keyword. Filter by price range, sort and page. Every item has a SKU, a sale price and an original price as numbers with USD, the discount, a full size image URL and a numeric rating. SKUs work unchanged in the reviews and availability endpoints. Price ranges are checked on every item and a page past the end is never labelled as page 1. One search costs 1 credit. A search without hits is not billed. Failed requests are not billed. Not affiliated with Best Buy.

Best Buy Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/bestbuy/search
Auth header
x-api-key
Cost
1 credit / request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "items": [
            {
                "sku": "6505727",
                "url": "https://www.bestbuy.com/site/sony-headphones/6505727.p",
                "name": "Sony WH-1000XM5 Wireless Headphones",
                "brand": "Sony",
                "image": "https://example-image-host/images/6505727_bd.jpg",
                "price": {
                    "amount": 348,
                    "currency": "USD"
                },
                "images": [
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

4 optional filters available.

query string Required

Keyword, up to 100 characters.

Example value coffee shops
min_price number Optional

Lowest price.

Example value 10
max_price number Optional

Highest price. Compared with min_price only when min_price is set.

Example value 10
sort string Optional

best_match (default) or top_rated. Price sorts are rejected because the upstream token does not order pages.

Example value relevance
page integer Optional

1-based page, up to 200.

Example value 1

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "items": [
            {
                "sku": "6505727",
                "url": "https://www.bestbuy.com/site/sony-headphones/6505727.p",
                "name": "Sony WH-1000XM5 Wireless Headphones",
                "brand": "Sony",
                "image": "https://example-image-host/images/6505727_bd.jpg",
                "price": {
                    "amount": 348,
                    "currency": "USD"
                },
                "images": [
                    "https://example-image-host/images/6505727_bd.jpg"
                ],
                "rating": 4.7,
                "savings": {
                    "amount": 51.99,
                    "currency": "USD"
                },
                "in_stock": true,
                "button_state": "ADD_TO_CART",
                "review_count": 2841,
                "regular_price": {
                    "amount": 399.99,
                    "currency": "USD"
                },
                "discount_percent": 13
            }
        ],
        "filters": {
            "sort": "best_match",
            "query": "sony headphones",
            "max_price": null,
            "min_price": null
        },
        "currency": "USD",
        "pagination": {
            "has_more": true,
            "per_page": 18,
            "total_items": 120,
            "total_pages": 7,
            "current_page": 1
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A parameter is missing or invalid. Not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "common"
    },
    "error": {
        "code": "VALIDATION_ERROR",
        "message": "A parameter is missing or invalid. Not billable."
    },
    "success": false
}
502

Upstream Unavailable

Best Buy did not answer or sent unreadable data. Not billable. Retry later.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "common"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Best Buy did not answer or sent unreadable data. Not billable. Retry later."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.