Core APIs
...
Core Requests
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 target the category is specified in the category id parameter the parameters should be appended as querystring parameters to the target product data api get http request category results are retrieved from the https //www target com/c/ /n pmrkg on target for example, to request category results for the category id of pmrkg (the trampolines category on target), the request would be http https //api redcircleapi com/request?api key=demo\&type=category\&category id=pmrkgcurl l get https //api redcircleapi com/request d api key="demo" d type="category" d category id="pmrkg"const axios = require('axios'); // set up the request parameters const params = { api key "demo", type "category", category id "pmrkg" } // make the http get request to redcircle api axios get('https //api redcircleapi com/request', { params }) then(response => { // print the json response from redcircle 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' 'category', 'category id' 'pmrkg' } \# make the http get request to redcircle api api result = requests get('https //api redcircleapi com/request', params) \# print the json response from redcircle api print(json dumps(api result json())) category parameters the following parameters are available for all requests made when type=category true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type next steps https //docs trajectdata com/redcircleapi/target product data api/results/category