item_get-获得淘宝商品详情
一、申请淘宝API
首先注册账号,点击淘宝API进入主页。
朴实无华的主页,右上角就是登录和立即注册,点击立即注册。
请求示例(java)
返回数据如下
"item": {
"num_iid": "679370122052",
"title": "寻找独角兽 RiCO快乐工厂系列盲盒潮玩手办摆件女生礼物公仔网红",
"desc_short": "",
"price": "69",
"total_price": 0,
"suggestive_price": 0,
"orginal_price": "69.00",
"nick": "寻找独角兽旗舰店",
"num": "200",
"min_num": 0,
"detail_url": "https://item.taobao.com/item.htm?id=679370122052",
"pic_url": "//img.alicdn.com/imgextra/i2/2206884770406/O1CN010tzHeU1ErzZgeiYdK_!!2206884770406-2-lubanu-s.png",
"brand": "寻找独角兽",
"brandId": "376760923",
"rootCatId": "124484008",
"cid": "122692006",
"crumbs": [],
"created_time": "",
"modified_time": "",
"delist_time": "",
"desc": "",
"desc_img": [],
"item_imgs": [
{
"url": "//img.alicdn.com/imgextra/i2/2206884770406/O1CN010tzHeU1ErzZgeiYdK_!!2206884770406-2-lubanu-s.png"
},
{
"url": "//img.alicdn.com/imgextra/i3/2206884770406/O1CN01ek3Yzz1ErzZdaHQHg_!!2206884770406-0-lubanu-s.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i3/2206884770406/O1CN01y3Amxe1ErzZhKBL6u_!!2206884770406-0-lubanu-s.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i1/2206884770406/O1CN01NBR4Ro1ErzZYEV1r3_!!2206884770406-0-lubanu-s.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i1/2206884770406/O1CN01QOQkLO1ErzZYEXRXS_!!2206884770406-0-lubanu-s.jpg"
}
],
"item_weight": "",
"item_size": "",
"location": "广东深圳",
"post_fee": " 6.00",
"express_fee": null,
"ems_fee": "",
"shipping_to": "",
"has_discount": "false",
"video": [],
"is_virtual": "",
"sample_id": "",
"is_promotion": "false",
"props_name": "1627207:3232483:颜色分类:盲盒(随机发不接受指定);134942334:28383:大小:不支持7天无理由退款(整盒请拍9个)",
"prop_imgs": {
"prop_img": [
{
"properties": "1627207:3232483",
"url": "//img.alicdn.com/imgextra/i4/2206884770406/O1CN018EsgtD1ErzZdbnkEm_!!2206884770406.png"
}
]
},
"property_alias": "",
"props": [
{
"name": "品牌",
"value": "寻找独角兽"
},
{
"name": "型号",
"value": "RiCO快乐工厂系列"
},
{
"name": "颜色分类",
"value": "盲盒(随机发不接受指定)"
},
{
"name": "出售状态",
"value": "现货"
},
{
"name": "大小",
"value": "不支持7天无理由退款(整盒请拍9个)"
}
],
"total_sold": "0",
"skus": {
"sku": [
{
"price": "69",
"total_price": 0,
"orginal_price": "69",
"properties": "1627207:3232483;134942334:28383",
"properties_name": "1627207:3232483:颜色分类:盲盒(随机发不接受指定);134942334:28383:大小:不支持7天无理由退款(整盒请拍9个)",
"quantity": "200",
"sku_id": "5046874995996"
}
]
},
"seller_id": "2206884770406",
"sales": 23,
"shop_id": "511473698",
"props_list": {
"1627207:3232483": "颜色分类:盲盒(随机发不接受指定)",
"134942334:28383": "大小:不支持7天无理由退款(整盒请拍9个)"
},
"seller_info": {
"nick": "寻找独角兽旗舰店",
"item_score": "4.7 ",
"score_p": "4.8 ",
"delivery_score": "4.8 ",
"shop_type": "B",
"user_num_id": "2206884770406",
"sid": "511473698",
"title": "寻找独角兽旗舰店",
"zhuy": "https://shop511473698.taobao.com/",
"shop_name": "寻找独角兽旗舰店"
},
"tmall": true,
"error": "",
"warning": "",
"url_log": [],
"fav_count": "2380",
"fans_count": "80.3万",
"freight": "快递: 6.00",
"props_imgs": {
"prop_img": [
{
"properties": "1627207:3232483",
"url": "//img.alicdn.com/imgextra/i4/2206884770406/O1CN018EsgtD1ErzZdbnkEm_!!2206884770406.png"
}
]
},
"_ddf": "xdl",
"promo_type": null,
"props_img": {
"1627207:3232483": "//img.alicdn.com/imgextra/i4/2206884770406/O1CN018EsgtD1ErzZdbnkEm_!!2206884770406.png"
},
"format_check": "ok",
"shop_item": [],
"relate_items": []
},
"error": "",
"secache": "a2681f382ba51bb7ba6c329d174b5bf7",
"secache_time": 1659938535,
"secache_date": "2022-08-08 14:02:15",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:123 max:10100 all[190=123+23+44];expires:2030-12-31",
"execution_time": "5.852",
"server_time": "Beijing/2022-08-08 14:02:15",
"client_ip": "106.6.32.227",
"call_args": {
"num_iid": "679370122052",
"is_promotion": "1"
},
"api_type": "taobao",
"translate_language": "zh-CN",
"translate_engine": "google_new",
"server_memory": "0.89MB",
"request_id": "gw-4.62f0a6e1b38ad",
"last_id": "1137436952"