Sign Up

Log In

BestBuy

FREE
By raygorodskij
Updated 7 months ago
eCommerce
3.6/10
Popularity Score
88ms
Latency
100%
Success Rate

BestBuy API Documentation

Best Buy is a leading provider of technology products, services and solutions.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

POSTgetAllCategories
POSTgetAllOpenBox
POSTgetAlsoViewedProduct
POSTgetCategoriesById
POSTgetCategoriesByName
POSTgetPopularViewedProductsByCategoryId
POSTgetProductBySearchQuery
POSTgetStoresBySearchQuery
POSTgetTrendingProductsByCategoryId
POSTopenBoxByCategory
POSTopenBoxByListSKUs
POSTopenBoxBySKU
POSTgetAllCategories

The query to the right will return all the Best Buy product categories. Query is filtered to show only ids.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
apiKeyCREDENTIALS
REQUIREDAPI key that you received from BestBuy.
Optional Parameters
facetsQueryNUMBER
OPTIONALYou can retrieve summary information about the items that are returned by your query by using the facets query parameter.
pageSizeNUMBER
OPTIONALBy default, we include 10 results per page, but you can ask for up to 100 per page by making use of the `pageSize` parameter.
sortSTRING
OPTIONALYou can specify the way in which you’d like to have the results sorted by one or more attribute value(s).`attribute.asc` - Sort the results in ascending order of the specified attribute. `attribute.dsc` - Sort the results in descending order of the specified attribute. `attribute.desc` - Sort the results in descending order of the specified attribute.
pageNUMBER
OPTIONALUse the `page` parameter to choose which page of results you’d like returned.
facetsNumberNUMBER
OPTIONALFacets number.Required if use facetsQuery.
returnedFieldsSTRING
OPTIONALThe show attribute allows you to control which attributes are returned.To return all attributes `all`.
cursorMaskSTRING
OPTIONALWith large result sets - e.g., query sets with more than 10 pages of results - we recommend you use the cursorMark parameter to walk through your results. You can use cursorMark to walk through the full product or store catalog, deltas since you last queried for active products, or any other query result. The cursorMark works a lot like a bookmark, keeping track of what subset of items are currently shown in your result set and how to get to the next subset of items.To use the cursorMark with your result set, add cursorMark=* to your query parameters.
Request Snippet
unirest.post("https://BestBuyraygorodskijV1.p.rapidapi.com/getAllCategories")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("facetsQuery=undefined")
.send("pageSize=undefined")
.send("sort=undefined")
.send("page=undefined")
.send("facetsNumber=undefined")
.send("returnedFields=undefined")
.send("cursorMask=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://BestBuyraygorodskijV1.p.rapidapi.com/getAllCategories")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("facetsQuery=undefined")
.send("pageSize=undefined")
.send("sort=undefined")
.send("page=undefined")
.send("facetsNumber=undefined")
.send("returnedFields=undefined")
.send("cursorMask=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard