Amazon Best Sellers by category and country
justoneapi.x.amazon-get-best-sellers-v1Retrieves paginated Amazon Best Sellers for a category path in a selected country marketplace.
- Price
- $0.01476/successPelo preço do provedor
- Success rate
- 100%Last 30 days · 687 calls
- Latency p50
- 4.5 sp95 7.6 s
- Last verified
- 28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.amazon-get-best-sellers-v1?page=1&country=US&category=electronicsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
page | inteiro | Opcional | Page number for pagination. | 1 |
country | string | Opcional | Country code for the Amazon product. Available Values: - `US`: United States - `AU`: Australia - `BR`: Brazil - `CA`: Canada - `CN`: China - `FR`: France - `DE`: Germany - `IN`: India - `IT`: Italy - `MX`: Mexico - `NL`: Netherlands - `SG`: Singapore - `ES`: Spain - `TR`: Turkey - `AE`: United Arab One of: US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG. | US |
category | string | Obrigatório | Best Sellers category path taken from an Amazon Best Sellers URL. It may be a category slug or a nested category path. | electronics |
- Parâmetros de consulta
pageinteiroOpcionalPage number for pagination.
Exemplo:
1countrystringOpcionalCountry code for the Amazon product. Available Values: - `US`: United States - `AU`: Australia - `BR`: Brazil - `CA`: Canada - `CN`: China - `FR`: France - `DE`: Germany - `IN`: India - `IT`: Italy - `MX`: Mexico - `NL`: Netherlands - `SG`: Singapore - `ES`: Spain - `TR`: Turkey - `AE`: United Arab One of: US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG.
Exemplo:
UScategorystringObrigatórioBest Sellers category path taken from an Amazon Best Sellers URL. It may be a category slug or a nested category path.
Exemplo:
electronics
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.amazon-get-best-sellers-v1?page=1&country=US&category=electronics' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.amazon-get-best-sellers-v1?page=1&country=US&category=electronics",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.amazon-get-best-sellers-v1?page=1&country=US&category=electronics", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.01476/success, incluindo a taxa de serviço.