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

Best Buy Suggest API Documentation

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

Best Buy Suggest API Documentation Autocomplete a query prefix. The response has suggested terms, category ids and names, SKU ids and names, and a spell check suggestion. Use the SKU ids in the reviews and availability endpoints. This is the public id source of the Best Buy API. One suggest request costs 1 credit. A prefix without suggestions returns an empty list and is not billed. Failed requests are not billed. Not affiliated with Best Buy.

Best Buy Suggest API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/bestbuy/suggest
Auth header
x-api-key
Cost
1 credit / request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "query": "sony head",
        "terms": [
            "sony headphones",
            "sony headphones wireless"
        ],
        "products": [
            {
                "sku": "6505727",
                "name": "Sony WH-1000XM5 Wireless Headphones"
            }
        ],
        "categories": [
...

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.

query string Required

Prefix to autocomplete, 1 to 100 characters.

Example value coffee shops

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": {
        "query": "sony head",
        "terms": [
            "sony headphones",
            "sony headphones wireless"
        ],
        "products": [
            {
                "sku": "6505727",
                "name": "Sony WH-1000XM5 Wireless Headphones"
            }
        ],
        "categories": [
            {
                "id": "cat00000",
                "name": "Headphones"
            }
        ],
        "spell_check": {
            "original_query": null,
            "corrected_query": "sony headphones"
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "suggest"
    },
    "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.