Core APIs
...
Parameters
Utility Requests
Shop By Look
4min
shop by look parameters get get /request the shop by look bought parameters are applicable when making a request with type=shop by look to retrieve shop by look asins for a single product on amazon the product is specified using the asin request parameter shop by look details are retrieved from the product page https //www amazon de/dp/b087clwh69 for a single product on amazon an type=shop by look the first page of shop by look results are always returned with type=product requests (to the product page) the purpose of the dedicated type=shop by look request is to allow pagination through all pages of shop by look results note that the 1st asin returned by a shop by look request is always the original asin specified in the asin request parameter a maximum of 12 shop by look asins are returned per request for example, to request shop by look asins for the asin b087clwh69 on amazon de the request would be http https //api rainforestapi com/request?api key=demo\&type=shop by look\&asin=b087clwh69\&amazon domain=amazon decurl l get https //api rainforestapi com/request \\ d api key="demo" \\ d type="shop by look" \\ d asin="b087clwh69" \\ d amazon domain="amazon de"const axios = require('axios'); // set up the request parameters const params = { api key "demo", type "shop by look", asin "b087clwh69", amazon domain "amazon de" } // 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' 'shop by look', 'asin' 'b087clwh69', 'amazon domain' 'amazon de' } \# 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' => 'shop by look', 'asin' => 'b087clwh69', 'amazon domain' => 'amazon de' ]); \# 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; ?> shop by look parameters the following parameters are available for all requests made when type=shop by look parameter required description amazon domain required the amazon domain to retrieve shop by look asins from for the product specified in the asin parameter for a full list of supported amazon domains see supported amazon domains https //docs trajectdata com/rainforestapi/product data api/reference/amazon domains asin required the amazon asin (product id) to retrieve shop by look asins for used in combination with the amazon domain parameter page optional the page of shop by look results to retrieve if not specified defaults to 1 note that a maximum of 12 results are returned per page 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 shop by look results https //docs trajectdata com/rainforestapi/product data api/results/shop by look