Core APIs
...
Parameters
Specialist Pages

Brand Stores

4min
store parameters get get /request the store parameters are applicable when making a request with type=store to retrieve brand store results for a brand store the brand store can be specified either by the url parameter, or by a combination of the store id and amazon domain parameters the parameters should be appended as querystring parameters to the product data api get http request brand store ids and urls brand store ids and urls are returned by type=product product page https //docs trajectdata com/rainforestapi/product data api/results/product requests under the brand store id and brand store url properties assuming they are shown on the product page the brand store id/url is typically shown above the asin title, as shown below brand store results are retrieved from the brand store page https //www amazon com/stores/page/70f3122d 4966 4242 a8a6 871c8d7e6f8b on amazon for example, to request brand store results for the store id 70f3122d 4966 4242 a8a6 871c8d7e6f8b on amazon com , the request would be http https //api rainforestapi com/request?api key=demo\&type=store\&store id=70f3122d 4966 4242 a8a6 871c8d7e6f8b\&amazon domain=amazon comcurl l get https //api rainforestapi com/request \\ d api key="demo" \\ d type="store" \\ d store id="70f3122d 4966 4242 a8a6 871c8d7e6f8b" \\ d amazon domain="amazon com"const axios = require('axios'); // set up the request parameters const params = { api key "demo", type "store", store id "70f3122d 4966 4242 a8a6 871c8d7e6f8b", amazon domain "amazon com" } // make the http get request to rainforest api axios get('https //api rainforestapi com/request', { params }) then(response => { // print the json response from rainforest 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' 'store', 'store id' '70f3122d 4966 4242 a8a6 871c8d7e6f8b', 'amazon domain' 'amazon com' } \# make the http get request to rainforest api api result = requests get('https //api rainforestapi com/request', params) \# print the json response from rainforest api print(json dumps(api result json()))\<?php \# set up the request parameters $querystring = http build query(\[ 'api key' => 'demo', 'type' => 'store', 'store id' => '70f3122d 4966 4242 a8a6 871c8d7e6f8b', 'amazon domain' => 'amazon com' ]); \# make the http get request to rainforest api $ch = curl init(sprintf('%s?%s', 'https //api rainforestapi 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 rainforest api echo $api result; ?> store parameters the following parameters are available for all requests made when type=store parameter required description store id optional a brand store id to retrieve results from should be used in combination with the amazon domain parameter note if the url parameter is supplied then the store id parameter is ignored as the url itself specifies the store id amazon domain optional the amazon domain to retrieve brand store results from for a full list of supported amazon domains see supported amazon domains https //docs trajectdata com/rainforestapi/product data api/reference/amazon domains should be used in combination with the store id parameter note if the url parameter is supplied then the amazon domain parameter is ignored as the url itself specifies the amazon domain url optional the brand store page url to retrieve brand store results from be sure to url encode the url parameter note the url parameter is supplied, the store id and amazon domain parameters cannot be used (as the url itself defines the store id and amazon domain used) page optional the current page of brand store results to retrieve 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/rainforestapi/product data api/pagination docs for more information next steps store results https //docs trajectdata com/rainforestapi/product data api/results/store