Search Amazon products by keyword or ASIN
justoneapi.x.amazon-search-products-v1Searches Amazon marketplace products by keyword or ASIN with country, sort, condition, Prime-only, deals, and page controls.
- 价格
- $0.01476/success按供应商原价
- 成功率
- 100%近 30 天 · 6,014 次
- 延迟 p50
- 4.1 秒p95 7.9 秒
- 最后验证
- 2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.amazon-search-products-v1?page=1&sortBy=RELEVANCE&country=US&isPrime=False&keyword=headphones&productCondition=ALL&dealsAndDiscounts=NONE预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
page | 整数 | 可选 | Page number for pagination. | 1 |
sortBy | 字符串 | 可选 | Sort order for Amazon product search results. Available Values: - `RELEVANCE`: Relevance - `LOWEST_PRICE`: Lowest Price - `HIGHEST_PRICE`: Highest Price - `REVIEWS`: Reviews - `NEWEST`: Newest - `BEST_SELLERS`: Best Sellers One of: RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS. | RELEVANCE |
country | 字符串 | 可选 | Country code for the Amazon marketplace. 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 A One of: US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG. | US |
isPrime | 布尔 | 可选 | Whether to return only Prime-eligible products. | false |
keyword | 字符串 | 必填 | Search keyword or ASIN to find Amazon products. | headphones |
productCondition | 字符串 | 可选 | Product condition filter for Amazon search results. Available Values: - `ALL`: All product conditions - `NEW`: New products - `USED`: Used products - `RENEWED`: Renewed products - `COLLECTIBLE`: Collectible products One of: ALL, NEW, USED, RENEWED, COLLECTIBLE. | ALL |
dealsAndDiscounts | 字符串 | 可选 | Deals and discounts filter for Amazon search results. Available Values: - `NONE`: Do not filter by deals or discounts - `ALL_DISCOUNTS`: Return discounted products - `TODAYS_DEALS`: Return today's deals One of: NONE, ALL_DISCOUNTS, TODAYS_DEALS. | NONE |
- 查询参数
page整数可选Page number for pagination.
示例:
1sortBy字符串可选Sort order for Amazon product search results. Available Values: - `RELEVANCE`: Relevance - `LOWEST_PRICE`: Lowest Price - `HIGHEST_PRICE`: Highest Price - `REVIEWS`: Reviews - `NEWEST`: Newest - `BEST_SELLERS`: Best Sellers One of: RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS.
示例:
RELEVANCEcountry字符串可选Country code for the Amazon marketplace. 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 A One of: US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG.
示例:
USisPrime布尔可选Whether to return only Prime-eligible products.
示例:
falsekeyword字符串必填Search keyword or ASIN to find Amazon products.
示例:
headphonesproductCondition字符串可选Product condition filter for Amazon search results. Available Values: - `ALL`: All product conditions - `NEW`: New products - `USED`: Used products - `RENEWED`: Renewed products - `COLLECTIBLE`: Collectible products One of: ALL, NEW, USED, RENEWED, COLLECTIBLE.
示例:
ALLdealsAndDiscounts字符串可选Deals and discounts filter for Amazon search results. Available Values: - `NONE`: Do not filter by deals or discounts - `ALL_DISCOUNTS`: Return discounted products - `TODAYS_DEALS`: Return today's deals One of: NONE, ALL_DISCOUNTS, TODAYS_DEALS.
示例:
NONE
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.amazon-search-products-v1?page=1&sortBy=RELEVANCE&country=US&isPrime=False&keyword=headphones&productCondition=ALL&dealsAndDiscounts=NONE' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.amazon-search-products-v1?page=1&sortBy=RELEVANCE&country=US&isPrime=False&keyword=headphones&productCondition=ALL&dealsAndDiscounts=NONE",
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-search-products-v1?page=1&sortBy=RELEVANCE&country=US&isPrime=False&keyword=headphones&productCondition=ALL&dealsAndDiscounts=NONE", {
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.01476/success 计费,已含服务费。