Core APIs
...
Parameters
Customer Feedback
Questions
3min
questions parameters get get /request the questions parameters are applicable when making a request with type=questions to retrieve customer questions for a single product on home depot the product is specified using either the item id or url parameter (where the url parameter contains a link to a home depot product page) the parameters should be appended as querystring parameters to the home depot product data api get http request questions are retrieved from the customer questions page https //www homedepot com/p/317061059 for a single product on home depot for example, to request questions sorted by most helpful ( sort by=most helpful ), for the item id 317061059 , the request would be http https //api bigboxapi com/request?api key=demo\&type=questions\&item id=317061059\&sort by=most helpfulcurl l get https //api bigboxapi com/request d api key="demo" d type="questions" d item id="317061059" d sort by="most helpful"const axios = require('axios'); // set up the request parameters const params = { api key "demo", type "questions", item id "317061059", sort by "most helpful" } // make the http get request to bigbox api axios get('https //api bigboxapi com/request', { params }) then(response => { // print the json response from bigbox api console log(json stringify(response data, 0, 2)); }) catch(error => { // catch and print the error console log(error); })import requests import json \# set up the request parameters params = { 'api key' 'demo', 'type' 'questions', 'item id' '317061059', 'sort by' 'most helpful' } \# make the http get request to bigbox api api result = requests get('https //api bigboxapi com/request', params) \# print the json response from bigbox api print(json dumps(api result json()))\<?php \# set up the request parameters $querystring = http build query(\[ 'api key' => 'demo', 'type' 'questions', 'item id' '317061059', 'sort by' 'most helpful' ]); \# make the http get request to bigbox api $ch = curl init(sprintf('%s?%s', 'https //api bigboxapi com/request', $querystring)); curl setopt($ch, curlopt returntransfer, true); curl setopt($ch, curlopt followlocation, true); \# the following options are required if you're using an outdated openssl version \# more details https //www openssl org/blog/blog/2021/09/13/letsencryptrootcertexpire/ curl setopt($ch, curlopt ssl verifyhost, false); curl setopt($ch, curlopt ssl verifypeer, false); curl setopt($ch, curlopt timeout, 180); $api result = curl exec($ch); curl close($ch); \# print the json response from bigbox api echo $api result; ?> questions parameters the following parameters are available for all requests made when type=questions in addition to the common parameters parameter required description item id required the home depot item id to retrieve questions for note if the item id parameter is supplied then the url parameter is ignored gtin optional the gtin/isbn/upc code to look up a matching product on home depot for to retrieve questions for if the gtin parameter is supplied then the item id parameter is ignored gtin based requests work by looking up the gtin/isbn/upc on home depot first, then retrieving the questions for the first matching item id url optional the home depot questions page url to retrieve questions from sort by optional determines the sort order of questions to return valid values are newest to oldest returns questions ordered from newest to oldest oldest to newest returns questions ordered from oldest to newest most answered returns questions with most answers first most helpful returns questions with the most helpful questions first featured questions returns featured questions first can you answer returns questions returned under the "can you answer these questions" filter first (questions with no answer yet) search term optional search term to use to search questions page optional the current page of questions to retrieve inspect the pagination total pages property in the questions results https //docs trajectdata com/bigboxapi/homedepot product data api/results/questions to see how many pages of questions are available note the maximum number of questions per page is 10 (this is a home depot limit) max page optional use the max page parameter to get multiple pages of results in one request the api will automatically paginate through pages and concatenate the results into one response see the pagination https //docs trajectdata com/bigboxapi/homedepot product data api/pagination docs for more information next steps questions results https //docs trajectdata com/bigboxapi/homedepot product data api/results/questions