Core API
...
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 for an amazon category categories can be specified either via passing an amazon category url in to the url parameter, or by passing a category id in the category id and an amazon domain in the amazon domain parameter the parameters should be appended as querystring parameters to the product data api get http request category results are retrieved from the https //www amazon com/b/?node=1069664 on amazon for example, to request category results for the category id 1069664 , on amazon com , the request would be http https //api asindataapi com/request?api key=demo\&type=category\&amazon domain=amazon com\&category id=1069664curl l get https //api asindataapi com/request \\ d api key="demo" \\ d type="category" \\ d category id="1069664" \\ d amazon domain="amazon com"const axios = require('axios'); // set up the request parameters const params = { api key "demo", type "category", category id "1069664", amazon domain "amazon com" } // make the http get request to asin data api axios get('https //api asindataapi com/request', { params }) then(response => { // print the json response from asin data 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' '1069664', 'amazon domain' 'amazon com' } \# make the http get request to asin data api api result = requests get('https //api asindataapi com/request', params) \# print the json response from asin data api print(json dumps(api result json()))\<?php \# set up the request parameters $querystring = http build query(\[ 'api key' => 'demo', 'type' => 'category', 'category id' => '1069664', 'amazon domain' => 'amazon com' ]); \# make the http get request to asin data api $ch = curl init(sprintf('%s?%s', 'https //api asindataapi 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 asin data api echo $api result; ?> 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 next steps https //docs trajectdata com/asindataapi/product data api/results/category