item_get-获得lazada商品详情 注册开通
onebound.lazada.item_get
| 名称 | 类型 | 必须 | 描述 |
|---|---|---|---|
| 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=1799582869&nation=co.th
参数说明:num_iid:lazada商品ID(是对应国家不同国家的ID不能通用)
nation:国家
国家域名后缀可选值如下:co.id、com.my、com.ph、sg、co.th、vn
Version: Date:
| 名称 | 类型 | 必须 | 示例值 | 描述 |
|---|---|---|---|---|
| item | item[] | 0 | 获得lazada商品详情 | |
| num_iid | String | 0 | 宝贝ID | |
| title | String | 0 | 商品标题 | |
| price | Float | 0 | 价格 | |
| nick | String | 0 | 卖家昵称 | |
| pic_url | String | 0 | 宝贝图片 | |
| detail_url | String | 0 | 宝贝链接 | |
| brand | String | 0 | 品牌 | |
| orginal_price | Float | 0 | 原价 | |
| skus | Mix | 0 | 商品规格信息列表 | |
| props_name | String | 0 | 商品属性名 | |
| props_img | Mix | 0 | 属性图片 | |
| item_imgs | Mix | 0 | 商品图片列表 | |
| seller | Mix | 0 | ||
| desc | String | 0 | ||
| props_list | Mix | 0 | 商品属性 | |
| seller_info | Mix | 0 | 卖家信息 | |
| num | Int | 0 | ||
| post_fee | Float | 0 | 邮费 | |
| language | String | 0 | ||
| currency_code | String | 0 | ||
| property_alias | String | 0 | 属性别名 |
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/lazada/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=1799582869&nation=co.th"
"item": {
"num_iid": "1799582869",
"title": "Apple MacBook Air : M1 chip with 8-core CPU and 7-core GPU 256GB SSD 13-inch",
"price": 32900,
"nick": "Apple Flagship Store",
"pic_url": "//th-test-11.slatic.net/p/05b985a38e8f746e096eedad0485d22a.jpg",
"detail_url": "https://www.lazada.co.th/products/secen-loafer-shoe-pu-ss-523-i1799582869-s4257082749.html?search=1",
"brand": "Apple",
"orginal_price": null,
"skus": {
"sku": [
{
"price": 32900,
"orginal_price": null,
"total_price": 0,
"quantity": 53,
"properties": "30097:251149",
"properties_name": "30097:251149:涂料:สเปซเกรย์",
"sku_id": "5327154531"
}
]
},
"prop_imgs": {
"prop_img": [
{
"properties": "30097:251149",
"url": "//th-test-11.slatic.net/p/05b985a38e8f746e096eedad0485d22a.jpg"
}
]
},
"props_name": "30097:251149:涂料:สเปซเกรย์",
"props_img": {
"30097:251149": "//th-test-11.slatic.net/p/05b985a38e8f746e096eedad0485d22a.jpg"
},
"item_imgs": [
{
"url": "//th-test-11.slatic.net/p/05b985a38e8f746e096eedad0485d22a.jpg"
},
{
"url": "//th-test-11.slatic.net/p/05b985a38e8f746e096eedad0485d22a.jpg"
},
{
"url": "//th-test-11.slatic.net/p/08f894f126c714fef2bf7b3979f67c9b.jpg"
},
{
"url": "//th-test-11.slatic.net/p/c3309ee1e04bb674d0def3f422d25d62.jpg"
},
{
"url": "//th-test-11.slatic.net/p/adee1913767ca024d871fefada133607.jpg"
},
{
"url": "//th-test-11.slatic.net/p/a786b47bb5c9d3549fa12e1405ccecc6.jpg"
}
],
"desc": "",
"props_list": {
"30097:251149": "涂料:สเปซเกรย์"
},
"seller_info": {
"nick": "Apple Flagship Store",
"tltle": "Apple Flagship Store",
"shop_name": "Apple Flagship Store",
"shop_id": 182839,
"Store rating": "95%",
"Delivery score": "96%",
"user_num_id": "100244794",
"zhuy": "//www.lazada.co.th/shop/apple/?itemId=1799582869&channelSource=pdp",
"level": 3
},
"num": 53,
"post_fee": "",
"language": "th",
"currency_code": "THB",
"_ddf": "wyx",
"property_alias": "30097:251149:สเปซเกรย์"
},
"secache": "74ae589543623e75235d94a7b945a176",
"secache_time": 1665725061,
"secache_date": "2022-10-14 13:24:21",
"translate_status": "ok",
"translate_time": 5.011,
"language": {
"current_lang": "cn",
"source_lang": "th"
},
"error": "",
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:133 max:10000 all[418=133+194+91];expires:2030-12-31",
"execution_time": "7.424",
"server_time": "Beijing/2022-10-14 13:24:26",
"client_ip": "106.6.36.148",
"call_args": {
"num_iid": "1799582869",
"is_promotion": "co.th"
},
"api_type": "lazada",
"translate_language": "zh-CN",
"translate_engine": "baidu",
"server_memory": "3.38MB",
"request_id": "1.6348f282e9da1",
"last_id": "1282516434"
}