Lazada商品详情(代码封装)以及应用
阅读原文时间:2023年09月01日阅读:2

编辑切换为居中

Lazada平台的分析可以从以下几个方面入手:

1. 市场分析:对Lazada平台市场进行分析,及时了解市场趋势和变化,调整企业的经营策略。可以监测Lazada平台上商品的销售量、价格变化及竞争对手等情况,预测未来商品的销售情况和价格变化。也可以了解Lazada平台用户的特点、需求和消费习惯等,为企业的市场推广提供参考。

2. 商品分析:对Lazada平台上的商品进行分析,了解市场需求、竞争对手的产品特点和卖点等,为企业的商品研发提供参考,分析商品的销售情况,找出受欢迎的商品类型和热销商品。

3. 价格监测:监测Lazada平台上商品的价格变化,及时调整自己的价格,保持竞争力。可以通过价格数据分析,发现市场价格波动趋势,调整自己的价格策略。

4. 用户分析:了解Lazada平台的用户特点和行为习惯等,有利于企业更好地开展产品和服务,提高用户的购买满意度和忠诚度。可以对Lazada平台上的购买数据进行分析,找出顾客的偏好和需求。

5. 营销策略:利用Lazada平台搜索词数据和竞争对手数据,制定针对性的营销策略,提高产品的曝光率和销售量。分析广告的投放效果,优化广告投放策略,提高广告投放的回报率。

总之,通过对Lazada平台的市场和商品等方面进行分析,可以让企业更好地开展商品销售和服务,为企业提供更有价值的信息和数据支持。

item_get-获得lazada商品详情  注册开通

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=267690734&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商品详情

请求示例

-- 请求示例 url 默认请求参数已经URL编码处理 curl -i "https://api-gw.onebound.cn/lazada/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=267690734&nation=co.th"

响应示例

{
"item": {
"num_iid": "267690734",
"title": "城市奢华男士鞋正式鞋高跟鞋商务套装男牛津鞋尖头牛津鞋男士皮革婚礼",
"price": 232,
"nick": "URBAN SAFARI",
"pic_url": "//my-test-11.slatic.net/original/208de91b5132477f8a723c82c56c3a58.jpg",
"detail_url": "https://www.lazada.co.th/products/oxfords-i267690734-s418579763.html",
"brand": "No Brand",
"orginal_price": null,
"skus": {
"sku": [
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:95204;30585:133117",
"properties_name": "30097:95204:涂料:白色;30585:133117:大小:38",
"sku_id": "418579756"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1949,
"properties": "30097:95204;30585:133137",
"properties_name": "30097:95204:涂料:白色;30585:133137:大小:39",
"sku_id": "418579757"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1947,
"properties": "30097:95204;30585:133146",
"properties_name": "30097:95204:涂料:白色;30585:133146:大小:40",
"sku_id": "418579758"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1948,
"properties": "30097:95204;30585:133152",
"properties_name": "30097:95204:涂料:白色;30585:133152:大小:41",
"sku_id": "418579759"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1946,
"properties": "30097:95204;30585:133157",
"properties_name": "30097:95204:涂料:白色;30585:133157:大小:42",
"sku_id": "418579760"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1946,
"properties": "30097:95204;30585:133165",
"properties_name": "30097:95204:涂料:白色;30585:133165:大小:43",
"sku_id": "418579761"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1949,
"properties": "30097:95204;30585:133172",
"properties_name": "30097:95204:涂料:白色;30585:133172:大小:44",
"sku_id": "418579762"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1949,
"properties": "30097:95204;30585:133178",
"properties_name": "30097:95204:涂料:白色;30585:133178:大小:45",
"sku_id": "418579763"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1948,
"properties": "30097:95204;30585:133177",
"properties_name": "30097:95204:涂料:白色;30585:133177:大小:46",
"sku_id": "418579764"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:95204;30585:133198",
"properties_name": "30097:95204:涂料:白色;30585:133198:大小:47",
"sku_id": "418579765"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:95204;30585:133204",
"properties_name": "30097:95204:涂料:白色;30585:133204:大小:48",
"sku_id": "418579766"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:4660;30585:133117",
"properties_name": "30097:4660:涂料:黑色;30585:133117:大小:38",
"sku_id": "418579767"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:4660;30585:133137",
"properties_name": "30097:4660:涂料:黑色;30585:133137:大小:39",
"sku_id": "418579768"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1946,
"properties": "30097:4660;30585:133146",
"properties_name": "30097:4660:涂料:黑色;30585:133146:大小:40",
"sku_id": "418579769"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1947,
"properties": "30097:4660;30585:133152",
"properties_name": "30097:4660:涂料:黑色;30585:133152:大小:41",
"sku_id": "418579770"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1947,
"properties": "30097:4660;30585:133157",
"properties_name": "30097:4660:涂料:黑色;30585:133157:大小:42",
"sku_id": "418579771"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1948,
"properties": "30097:4660;30585:133165",
"properties_name": "30097:4660:涂料:黑色;30585:133165:大小:43",
"sku_id": "418579772"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1949,
"properties": "30097:4660;30585:133172",
"properties_name": "30097:4660:涂料:黑色;30585:133172:大小:44",
"sku_id": "418579773"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1949,
"properties": "30097:4660;30585:133178",
"properties_name": "30097:4660:涂料:黑色;30585:133178:大小:45",
"sku_id": "418579774"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1949,
"properties": "30097:4660;30585:133177",
"properties_name": "30097:4660:涂料:黑色;30585:133177:大小:46",
"sku_id": "418579775"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:4660;30585:133198",
"properties_name": "30097:4660:涂料:黑色;30585:133198:大小:47",
"sku_id": "418579776"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:4660;30585:133204",
"properties_name": "30097:4660:涂料:黑色;30585:133204:大小:48",
"sku_id": "418579777"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:4799;30585:133117",
"properties_name": "30097:4799:涂料:棕色;30585:133117:大小:38",
"sku_id": "418579778"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:4799;30585:133137",
"properties_name": "30097:4799:涂料:棕色;30585:133137:大小:39",
"sku_id": "418579779"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:4799;30585:133146",
"properties_name": "30097:4799:涂料:棕色;30585:133146:大小:40",
"sku_id": "418579780"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:4799;30585:133152",
"properties_name": "30097:4799:涂料:棕色;30585:133152:大小:41",
"sku_id": "418579781"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1948,
"properties": "30097:4799;30585:133157",
"properties_name": "30097:4799:涂料:棕色;30585:133157:大小:42",
"sku_id": "418579782"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1948,
"properties": "30097:4799;30585:133165",
"properties_name": "30097:4799:涂料:棕色;30585:133165:大小:43",
"sku_id": "418579783"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1949,
"properties": "30097:4799;30585:133172",
"properties_name": "30097:4799:涂料:棕色;30585:133172:大小:44",
"sku_id": "418579784"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1949,
"properties": "30097:4799;30585:133178",
"properties_name": "30097:4799:涂料:棕色;30585:133178:大小:45",
"sku_id": "418579785"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1949,
"properties": "30097:4799;30585:133177",
"properties_name": "30097:4799:涂料:棕色;30585:133177:大小:46",
"sku_id": "418579786"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:4799;30585:133198",
"properties_name": "30097:4799:涂料:棕色;30585:133198:大小:47",
"sku_id": "418579787"
},
{
"total_price": 0,
"price": 232,
"orginal_price": 417,
"quantity": 1950,
"properties": "30097:4799;30585:133204",
"properties_name": "30097:4799:涂料:棕色;30585:133204:大小:48",
"sku_id": "418579788"
}
]
},
"prop_imgs": {
"prop_img": [
{
"properties": "30097:4660",
"url": "//my-test-11.slatic.net/original/00b3ab8196673755dff35a21b7daaf14.jpg"
},
{
"properties": "30097:4799",
"url": "//my-test-11.slatic.net/original/5cd049094680f6f029cea8de5aba45e6.jpg"
},
{
"properties": "30097:95204",
"url": "//my-test-11.slatic.net/original/208de91b5132477f8a723c82c56c3a58.jpg"
}
]
},
"props_name": "30097:95204:涂料:白色;30097:4660:涂料:黑色;30097:4799:涂料:棕色;30585:133117:大小:38;30585:133137:大小:39;30585:133146:大小:40;30585:133152:大小:41;30585:133157:大小:42;30585:133165:大小:43;30585:133172:大小:44;30585:133178:大小:45;30585:133177:大小:46;30585:133198:大小:47;30585:133204:大小:48",
"props_img": {
"30097:4660": "//my-test-11.slatic.net/original/00b3ab8196673755dff35a21b7daaf14.jpg",
"30097:4799": "//my-test-11.slatic.net/original/5cd049094680f6f029cea8de5aba45e6.jpg",
"30097:95204": "//my-test-11.slatic.net/original/208de91b5132477f8a723c82c56c3a58.jpg"
},
"item_imgs": [
{
"url": "//my-test-11.slatic.net/original/208de91b5132477f8a723c82c56c3a58.jpg"
},
{
"url": "//my-test-11.slatic.net/original/208de91b5132477f8a723c82c56c3a58.jpg"
},
{
"url": "//my-test-11.slatic.net/original/208de91b5132477f8a723c82c56c3a58.jpg"
},
{
"url": "//my-test-11.slatic.net/original/208de91b5132477f8a723c82c56c3a58.jpg"
}
],
"seller": [],
"desc": "

จุดขายสินค้า:

1. หนังคุณภาพสูงหนังนุ่มและละเอียดอ่อนพื้นผิวใสระบายอากาศได้ดีและสะดวกสบาย

2. ตกแต่งโลหะมีสไตล์และสวยงาม

3. ระบายอากาศภายในสะดวกสบายระบายอากาศได้ดีและไม่อับ

4. พื้นรองเท้ายางกันลื่นและทนต่อการสึกหรอ

",
"props_list": {
"30097:95204": "涂料:白色",
"30097:4660": "涂料:黑色",
"30097:4799": "涂料:棕色",
"30585:133117": "大小:38",
"30585:133137": "大小:39",
"30585:133146": "大小:40",
"30585:133152": "大小:41",
"30585:133157": "大小:42",
"30585:133165": "大小:43",
"30585:133172": "大小:44",
"30585:133178": "大小:45",
"30585:133177": "大小:46",
"30585:133198": "大小:47",
"30585:133204": "大小:48"
},
"seller_info": {
"nick": "URBAN SAFARI",
"tltle": "URBAN SAFARI",
"shop_name": "URBAN SAFARI",
"user_num_id": "71550",
"zhuy": "//www.lazada.co.th/shop/urban-safari/?itemId=267690734&channelSource=pdp",
"level": 3
},
"num": 64310,
"post_fee": "ฟรี",
"language": "th",
"currency_code": "THB",
"property_alias": "30097:95204:白色;30585:133117:38;30097:95204:白色;30585:133137:39;30097:95204:白色;30585:133146:40;30097:95204:白色;30585:133152:41;30097:95204:白色;30585:133157:42;30097:95204:白色;30585:133165:43;30097:95204:白色;30585:133172:44;30097:95204:白色;30585:133178:45;30097:95204:白色;30585:133177:46;30097:95204:白色;30585:133198:47;30097:95204:白色;30585:133204:48;30097:4660:黑色;30585:133117:38;30097:4660:黑色;30585:133137:39;30097:4660:黑色;30585:133146:40;30097:4660:黑色;30585:133152:41;30097:4660:黑色;30585:133157:42;30097:4660:黑色;30585:133165:43;30097:4660:黑色;30585:133172:44;30097:4660:黑色;30585:133178:45;30097:4660:黑色;30585:133177:46;30097:4660:黑色;30585:133198:47;30097:4660:黑色;30585:133204:48;30097:4799:棕色;30585:133117:38;30097:4799:棕色;30585:133137:39;30097:4799:棕色;30585:133146:40;30097:4799:棕色;30585:133152:41;30097:4799:棕色;30585:133157:42;30097:4799:棕色;30585:133165:43;30097:4799:棕色;30585:133172:44;30097:4799:棕色;30585:133178:45;30097:4799:棕色;30585:133177:46;30097:4799:棕色;30585:133198:47;30097:4799:棕色;30585:133204:48"
},
"secache": "142ca71401476a77b9155576ca350664",
"secache_time": 1614924434,
"secache_date": "2021-03-05 14:07:14",
"translate_status": "ok",
"translate_time": 0.882,
"language": {
"current_lang": "cn",
"source_lang": "th"
},
"error": "",
"reason": "",
"error_code": "0000",

异常示例

{
 "error": "item-not-found",
 "reason": "商品没找到",
 "error_code": "2000",
 "success": 0,
 "cache": 0,
 "api_info": "today:0 max:10000",
 "execution_time": 0.081,
 "server_time": "Beijing/2020-06-10 23:44:00",
 "call_args": [],
 "api_type": "taobao",
 "request_id": "15ee0ffc041242"}

错误码解释

状态代码(error_code)

状态信息

详细描述

是否收费

0000

success

接口调用成功并返回相关数据

2000

Search success but no result

接口访问成功,但是搜索没有结果

4000

Server internal error

服务器内部错误

4001

Network error

网络错误

4002

Target server error

目标服务器错误

4003

Param error

用户输入参数错误

忽略

4004

Account not found

用户帐号不存在

忽略

4005

Invalid authentication credentials

授权失败

忽略

4006

API stopped

您的当前API已停用

忽略

4007

Account stopped

您的账户已停用

忽略

4008

API rate limit exceeded

并发已达上限

忽略

4009

API maintenance

API维护中

忽略

4010

API not found with these values

API不存在

忽略

4012

Please add api first

请先添加api

忽略

4013

Number of calls exceeded

调用次数超限

忽略

4014

Missing url param

参数缺失

忽略

4015

Wrong pageToken

参数pageToken有误

忽略

4016

Insufficient balance

余额不足

忽略

4017

timeout error

请求超时

5000

unknown error

未知错误

手机扫一扫

移动阅读更方便

阿里云服务器
腾讯云服务器
七牛云服务器