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/successAl precio del proveedor
- Success rate
- 100 %Last 30 days · 687 calls
- Latency p50
- 4.5 sp95 7.6 s
- Last verified
- 28 jul 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 | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
page | entero | Opcional | Page number for pagination. | 1 |
country | cadena | 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 | cadena | Obligatorio | 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
pageenteroOpcionalPage number for pagination.
Ejemplo:
1countrycadenaOpcionalCountry 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.
Ejemplo:
UScategorycadenaObligatorioBest Sellers category path taken from an Amazon Best Sellers URL. It may be a category slug or a nested category path.
Ejemplo:
electronics
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.01476/success, incluida la tarifa de servicio.