Best Buy
Best Buy Search Suggestions API
The bestbuy.com search-box autocomplete for a partial query: the suggested search terms, each with the categories (id and name) and SKUs Best Buy shows for it, plus any spelling correction. Useful for keyword research and for building queries for search. Costs 1 credit per request.
POST/api/v1/bestbuy/suggestions
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonquerystringrequiredWhat the shopper has typed so far, 1-100 characters.
Example: ps5 con
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.best_buy.suggestions(query="ps5 con")["data"]
for s in res["suggestions"]:
print(s["term"], [c["name"] for c in s["categories"]], len(s["skus"]))Response
"query": "ps5 con",
"corrected_query": null,
"count": 13,
},
"response_time": 618
}