万邦阿里巴巴一起买商品推荐 API 返回值说明
item_search_buytogether-一起买商品推荐
onebound.alibaba.item_search_buytogether
请求地址: console.open.onebound.cn/console/?i=… 注册免费测试3天
| 名称 | 类型 | 必须 | 描述 |
|---|---|---|---|
| key | String | 是 | 调用key(必须以GET方式拼接在URL中) |
| secret | String | 是 | 调用密钥 |
| api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
| cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
| result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
| lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
| version | String | 否 | API版本 |
请求参数:num_iid=62347145180
参数说明:num_iid:商品id
Version: Date:
| 名称 | 类型 | 必须 | 示例值 | 描述 |
|---|---|---|---|---|
| items | item[] | 0 | 热卖商品推荐 |
- [Curl]
- [PHP]
- [PHPsdk]
- [JAVA]
- [C#]
- [Python]
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/alibaba/item_search_buytogether/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=62347145180"
{
"item": [
{
"num_iid": "1600203426060",
"price": "$2.55 - $3.15",
"pic_url": "https://s.alicdn.com/@sc04/kf/Habf31d392c71458099a9e62300aa1fdaS.jpg_220x220.jpg",
"title": "2021 spring new design stocklot comfortable women fashion causal shoes for walking",
"min_num": "1 pair",
"detail_url": "//www.alibaba.com/product-detail/2021-spring-new-design-stocklot-comfortable_1600203426060.html"
},
{
"num_iid": "1600256366160",
"price": "$2.55 - $3.15",
"pic_url": "https://s.alicdn.com/@sc04/kf/Hf6ea8f764e6b456f972e2a06af71cf8b4.jpg_220x220.jpg",
"title": "wholesale custom summer hiking casual shoes women sneakers sport",
"min_num": "1 pair",
"detail_url": "//www.alibaba.com/product-detail/wholesale-custom-summer-hiking-casual-shoes_1600256366160.html"
},
{
"num_iid": "1600332365501",
"price": "$2.50 - $3.30",
"pic_url": "https://s.alicdn.com/@sc04/kf/H434bf5c9707447aa871d1c0294d71df1r.jpg_220x220.jpg",
"title": "hot sale new walking sneakers ladies sport womens casual shoes",
"min_num": "1 pair",
"detail_url": "//www.alibaba.com/product-detail/hot-sale-new-walking-sneakers-ladies_1600332365501.html"
},
{
"num_iid": "1600443186569",
"price": "$3.00 - $3.50",
"pic_url": "https://s.alicdn.com/@sc04/kf/H1a7f18f75f834a6bbcd5fdc7e192b10eX.jpg_220x220.jpg",
"title": "Women Fashion Sneakers Casual Tennis Walking Shoes Custom",
"min_num": "1 pair",
"detail_url": "//www.alibaba.com/product-detail/Women-Fashion-Sneakers-Casual-Tennis-Walking_1600443186569.html"
},
{
"num_iid": "1600246231765",
"price": "$3.00 - $3.80",
"pic_url": "https://s.alicdn.com/@sc04/kf/H7b7f0acdf6ad4943a27b3d991a0858daM.jpg_220x220.jpg",
"title": "New Styles Low Price Men Sneakers Sports Shoes Walking Running Shoes Casual",
"min_num": "1 pair",
"detail_url": "//www.alibaba.com/product-detail/New-Styles-Low-Price-Men-Sneakers_1600246231765.html"
}
],
"_ddf": "app",
"error": "",
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:39 max:5000 all[55=39+11+5];expires:2023-04-25",
"execution_time": "1.001",
"server_time": "Beijing/2022-07-22 15:38:11",
"client_ip": "106.6.33.140",
"call_args": [],
"api_type": "alibaba",
"translate_language": "zh-CN",
"translate_engine": "baidu",
"server_memory": "3.7MB",
"request_id": "gw-3.62da53e22a65c",
"last_id": "1094110936"
}