POST
/api/open/taobao/items/search商品搜索
根据关键词检索淘宝商品,返回统一商品列表结构。
可走平台备用能力
未授权也可调用商品类接口;如客户授权且额度可用,优先使用客户授权
keywordsstring是搜索关键词
wireless mouse
pagenumber否页码,默认 1
1
limitnumber否每页数量,1-20,默认 20
20
country_codestring否多语言编码:en、ja、vi、ru、ko
en
price_startnumber否最低价筛选
10
price_endnumber否最高价筛选
80
order_descstring否排序,如 price,asc 或 monthSold,desc
price,asc
请求示例
curl -X POST "https://api.your-domain.com/api/open/taobao/items/search" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_APP_KEY" \
-H "Authorization: Bearer YOUR_APP_SECRET" \
-d '{
"keywords": "wireless mouse",
"country_code": "en",
"page": 1,
"limit": 20
}'返回示例
{
"success": true,
"code": 0,
"message": "success",
"data": {
"items": [],
"page": 1,
"source": "taobao"
},
"billing": {
"charged": 0.02,
"product": "接口产品名称",
"callId": 1024
}
}