Provides all known bestseller ranks for one or more specified products. This indicates the product's placement within a category on Amazon. The country parameter allows you to specify the country for which the bestseller ranks should be provided.
Result
The result contains a list of all known bestseller ranks for the given product. Each bestseller entry includes the product's ASIN (asin), the rank within its bestseller category (rank), the category ID (category_id), and the category name (category_name).GET-Parameters
Parameters (Mandatory)
api_key
STRING
Your personal API key. This key is used to authenticate your requests. You can obtain it here.
asin
STRING
An identifier used by Amazon to uniquely identify a product. This parameter is required when querying product-related data. For multiple products, use the ASINS key instead of ASIN and provide a list of ASINs in the format ["ASIN1", "ASIN2", ...].
Parameters (Optional)
country
STRING / countrycode
Defines the country for which the method will be executed. You can find a list of available marketplace country codes here. If no country parameter is provided, the default country is 'de'.
format
STRING
Specifies whether the response will be returned in XML or JSON format. By default, the result will be in XML format.
To be able to use the API documentation with real data, you have to create an API key in your account.
EXAMPLE
$baseUrl = "https://api.sistrix.com/marketplace.product.bestsellers";
$post = [
];
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $baseUrl);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($curl);
curl_close($curl);
import requests
baseUrl = 'https://api.sistrix.com/marketplace.product.bestsellers'
post = {
}
response = requests.post(baseUrl, post)
data = response.text
curl https://api.sistrix.com/marketplace.product.bestsellers \
let baseUrl = 'https://api.sistrix.com/marketplace.product.bestsellers';
let form = new FormData();
fetch(baseUrl, {
method: 'POST',
body: form
}).then(function(response){
return response.text();
}).then(function(data){
//data contains the results of the request
})