Core APIs
...
Parameters
Seller Data
Seller Products
4min
seller products parameters get get /request the seller products parameters are applicable when making a request with type=seller products to retrieve seller product listing results for a single seller on amazon the seller is specified using either the seller id and amazon domain parameters or the url parameter (where the url parameter contains a link to an amazon seller product listing page) the parameters should be appended as querystring parameters to the product data api get http request seller product listing results are retrieved from the seller product listings page https //www amazon com/s?me=a02211013q5hp3omszc7w\&marketplaceid=atvpdkikx0der for a single seller on amazon you can retrieve the seller id value for a given seller from other rainforest requests, such as type=offers requests for example, to request seller product listings for the seller with id a02211013q5hp3omszc7w on amazon com the request would be http https //api rainforestapi com/request?api key=demo\&type=seller products\&seller id=a02211013q5hp3omszc7w\&amazon domain=amazon comcurl l get https //api rainforestapi com/request \\ d api key="demo" \\ d type="seller products" \\ d seller id="a02211013q5hp3omszc7w" \\ d amazon domain="amazon com"const axios = require('axios'); // set up the request parameters const params = { api key "demo", type "seller products", seller id "a02211013q5hp3omszc7w", 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' 'seller products', 'seller id' 'a02211013q5hp3omszc7w', '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' => 'seller products', 'seller id' => 'a02211013q5hp3omszc7w', '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; ?> seller products parameters the following parameters are available for all requests made when type=seller products parameter required description amazon domain optional the amazon domain to retrieve seller product listings from for the seller specified in the seller id parameter for a full list of supported amazon domains see supported amazon domains https //docs trajectdata com/rainforestapi/product data api/reference/amazon domains note if the amazon domain and seller id parameters are supplied then the url parameter is ignored seller id optional the amazon seller id to retrieve seller product listings for used in combination with the amazon domain parameter note if the seller id and amazon domain parameters are supplied then the url parameter is ignored note seller ids can be retrieved from rainforest api type=offers requests refinements optional a comma seperated list of refinement values to filter the seller product results by these allow you to refine your request by values such as "reviews rating 4 and over", "price range" and "brand" refinement values are returned in the refinements array of each type=seller products result (if they are displayed) refinement values are dynamic and change by seller if you wish to use refinements you should first issue a type=seller products request without specifying any refinements to retrieve a master list of the avaialble refinements for the given request you can then cache these refinement values for use on subsequent requests for example, to run a type=seller products request specifying two refinements with values p 85/2470955011 and p 36/2421886011 the value of the refinements parameter would be refinements=p 85/2470955011,p 36/2421886011 url optional the amazon seller products listing page url to retrieve seller products results from page optional the page of seller products 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 seller products results https //docs trajectdata com/rainforestapi/product data api/results/seller products