Core APIs
...
Parameters
Category
3 min
category parameters get get /request the category parameters are applicable when making a request with type=category to retrieve category results from home depot the category is specified in the category id parameter the parameters should be appended as querystring parameters to the home improvement product data api get http request category results are retrieved from the category results page https //www homedepot com/b/n 5yc1vzbm92 on home depot for example, to request category results for the category id of n 5yc1vzbm92 , the request would be http https //api backyardapi com/request?api key=demo\&engine=homedepot\&type=category\&category id=n 5yc1vzbm92curl l get https //api backyardapi com/request d api key="demo" d engine="homedepot" d type="category" d category id="5f9bb75e8bee926724ada8f8c0dae926912e15a2"const axios = require('axios'); // set up the request parameters const params = { api key "demo", engine "homedepot", type "category", category id "n 5yc1vzbm92" } // make the http get request to backyard api axios get('https //api backyardapi com/request', { params }) then(response => { // print the json response from backyard 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', 'engine' 'homedepot', 'type' 'category', 'category id' 'n 5yc1vzbm92' } \# make the http get request to backyard api api result = requests get('https //api backyardapi com/request', params) \# print the json response from backyard api print(json dumps(api result json())) category parameters the following parameters are available for all requests made when type=category true falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type next steps category results https //docs trajectdata com/backyardapi/home improvement product data api/results/category