获得淘宝商品详情页面数据采集如下:
taobao.item_get
公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
key | String | 是 | 调用key(必须以GET方式拼接在URL中)注册key账号接入 |
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=724068359994&is_promotion=1
参数说明:num_iid:淘宝商品ID
is_promotion:是否获取取促销价
响应示例
{
"item": {
"num_iid": "724068359994",
"title": "zauo韩国防晒裤女夏季束脚休闲灯笼裤宽松显瘦薄款透气速干长裤",
"desc_short": "",
"price": "178.00",
"total_price": 0,
"suggestive_price": 0,
"orginal_price": "198.00",
"nick": "小泽麻生希",
"num": "200",
"min_num": 0,
"detail_url": "https://item.taobao.com/item.htm?id=724068359994",
"pic_url": "//img.alicdn.com/imgextra/i1/2208752728/O1CN0135c0EK1W1TJfOvRgY_!!2208752728.png",
"brand": "ZAUO VOPLVY",
"brandId": "24679823856",
"rootCatId": "16",
"cid": "162201",
"crumbs": [],
"created_time": "",
"modified_time": "",
"delist_time": "",
"desc": "<div >\n <div >\n <img src=\"http://img.alicdn.com/imgextra/i1/2208752728/O1CN01gz1jIv1W1TJjfbCDS_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01u7s4O91W1TJhmIak7_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i2/2208752728/O1CN01lf1O9l1W1TJZbEKC8_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i3/2208752728/O1CN017GLubP1W1TJflKryu_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i2/2208752728/O1CN015Nf67u1W1TJcck01s_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i1/2208752728/O1CN01HdF36p1W1TJYOagEW_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i1/2208752728/O1CN010LAKQ81W1TJjfXqIJ_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01uB9DVh1W1TJddtTuM_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01rEC1yb1W1TJTfhMkr_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i2/2208752728/O1CN01aQCKlJ1W1TJZbFCGG_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i2/2208752728/O1CN017ufKs61W1TJcMq7ub_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN017pYL2X1W1TJcMrXF9_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i1/2208752728/O1CN012WoVQd1W1TJddtcDB_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01ctOsn51W1TJcL9rb5_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i1/2208752728/O1CN01Y9ubLF1W1TJgH2prM_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i3/2208752728/O1CN01ql6HCP1W1TJhmL4dD_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i2/2208752728/O1CN01svzeIn1W1TJYOZoD6_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01KYdiws1W1TJaIAbnJ_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01VyqDBP1W1TJcL9zvT_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN010cMa8e1W1TJcMqvqK_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i2/2208752728/O1CN015Dr25d1W1TJdduku8_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01twPc7C1W1TJaI9fZ4_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i3/2208752728/O1CN01d7e1441W1TJdxtezH_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i1/2208752728/O1CN01ZITC761W1TJaIB4sI_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01uDuMAx1W1TJYObcT9_!!2208752728.jpg\" />\n <img src=\"http://img.alicdn.com/imgextra/i4/2208752728/O1CN012hVx5t1W1TJgH2Ml7_!!2208752728.jpg\" />\n </div>\n </div><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-3.64e30466806a6&p=1778787828&k=i_key&t=1692599401\" style=\"display:none\" />",
"desc_img": [
"http://img.alicdn.com/imgextra/i1/2208752728/O1CN01gz1jIv1W1TJjfbCDS_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01u7s4O91W1TJhmIak7_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i2/2208752728/O1CN01lf1O9l1W1TJZbEKC8_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i3/2208752728/O1CN017GLubP1W1TJflKryu_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i2/2208752728/O1CN015Nf67u1W1TJcck01s_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i1/2208752728/O1CN01HdF36p1W1TJYOagEW_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i1/2208752728/O1CN010LAKQ81W1TJjfXqIJ_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01uB9DVh1W1TJddtTuM_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01rEC1yb1W1TJTfhMkr_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i2/2208752728/O1CN01aQCKlJ1W1TJZbFCGG_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i2/2208752728/O1CN017ufKs61W1TJcMq7ub_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN017pYL2X1W1TJcMrXF9_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i1/2208752728/O1CN012WoVQd1W1TJddtcDB_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01ctOsn51W1TJcL9rb5_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i1/2208752728/O1CN01Y9ubLF1W1TJgH2prM_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i3/2208752728/O1CN01ql6HCP1W1TJhmL4dD_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i2/2208752728/O1CN01svzeIn1W1TJYOZoD6_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01KYdiws1W1TJaIAbnJ_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01VyqDBP1W1TJcL9zvT_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN010cMa8e1W1TJcMqvqK_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i2/2208752728/O1CN015Dr25d1W1TJdduku8_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01twPc7C1W1TJaI9fZ4_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i3/2208752728/O1CN01d7e1441W1TJdxtezH_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i1/2208752728/O1CN01ZITC761W1TJaIB4sI_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN01uDuMAx1W1TJYObcT9_!!2208752728.jpg",
"http://img.alicdn.com/imgextra/i4/2208752728/O1CN012hVx5t1W1TJgH2Ml7_!!2208752728.jpg"
],
"item_imgs": [
{
"url": "//img.alicdn.com/imgextra/i1/2208752728/O1CN01DDp7GU1W1TJcMkgnI_!!2208752728.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i3/2208752728/O1CN01Hc7MfO1W1TJaI5m3O_!!2208752728.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i1/2208752728/O1CN01Yjt7Sv1W1TJjfT4kP_!!2208752728.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i2/2208752728/O1CN017nqlb11W1TJddpS9l_!!2208752728.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i4/2208752728/O1CN013nwQ0M1W1TJYOXK4m_!!2208752728.jpg"
}
],
"item_weight": "",
"item_size": "",
"location": "广东深圳",
"post_fee": 0,
"express_fee": null,
"ems_fee": "",
"shipping_to": "",
"has_discount": "true",
"video": {
"url": "https://cloud.video.taobao.com/play/u/2208752728/p/2/e/6/t/1/419582970680.mp4?appKey=38829"
},
"is_virtual": "",
"sample_id": "",
"is_promotion": "true",
"props_name": "20518:28314:尺寸:S;20518:28315:尺寸:M;1627207:28341:颜色分类:黑色;1627207:28332:颜色分类:浅灰色;1627207:3232478:颜色分类:深灰色",
"prop_imgs": {
"prop_img": [
{
"properties": "1627207:28341",
"url": "//img.alicdn.com/imgextra/i1/2208752728/O1CN01q1wev61W1TJcmZNTf_!!2208752728.jpg"
},
{
"properties": "1627207:28332",
"url": "//img.alicdn.com/imgextra/i2/2208752728/O1CN018WvfnO1W1TJe7aa0v_!!2208752728.jpg"
},
{
"properties": "1627207:3232478",
"url": "//img.alicdn.com/imgextra/i1/2208752728/O1CN0111xIGb1W1TJhUChcf_!!2208752728.jpg"
}
]
},
"property_alias": "",
"props": [
{
"name": "品牌",
"value": "ZAUO VOPLVY"
},
{
"name": "适用年龄",
"value": "25-29周岁"
},
{
"name": "尺寸",
"value": "S,M"
},
{
"name": "风格",
"value": "通勤"
},
{
"name": "通勤",
"value": "简约"
},
{
"name": "女裤腰高",
"value": "自然腰"
},
{
"name": "颜色分类",
"value": "黑色,浅灰色,深灰色"
},
{
"name": "货号",
"value": "200523suk"
},
{
"name": "年份季节",
"value": "2023年春季"
},
{
"name": "厚薄",
"value": "薄款"
},
{
"name": "裤长",
"value": "长裤"
},
{
"name": "女裤裤型",
"value": "灯笼裤"
},
{
"name": "材质成分",
"value": "聚酰胺纤维(锦纶)87.2% 聚氨酯弹性纤维(氨纶)12.8%"
}
],
"total_sold": "31",
"skus": {
"sku": [
{
"price": "178",
"total_price": 0,
"orginal_price": "178",
"properties": "20518:28314;1627207:28341",
"properties_name": "20518:28314:尺寸:S;1627207:28341:颜色分类:黑色",
"quantity": "121",
"sku_id": "5199333286253"
},
{
"price": "178",
"total_price": 0,
"orginal_price": "178",
"properties": "20518:28315;1627207:28341",
"properties_name": "20518:28315:尺寸:M;1627207:28341:颜色分类:黑色",
"quantity": "116",
"sku_id": "5199333286254"
},
{
"price": "178",
"total_price": 0,
"orginal_price": "178",
"properties": "20518:28314;1627207:28332",
"properties_name": "20518:28314:尺寸:S;1627207:28332:颜色分类:浅灰色",
"quantity": "195",
"sku_id": "5199429150922"
},
{
"price": "178",
"total_price": 0,
"orginal_price": "178",
"properties": "20518:28315;1627207:28332",
"properties_name": "20518:28315:尺寸:M;1627207:28332:颜色分类:浅灰色",
"quantity": "196",
"sku_id": "5199429150923"
},
{
"price": "178",
"total_price": 0,
"orginal_price": "178",
"properties": "20518:28314;1627207:3232478",
"properties_name": "20518:28314:尺寸:S;1627207:3232478:颜色分类:深灰色",
"quantity": "198",
"sku_id": "5199333286257"
},
{
"price": "178",
"total_price": 0,
"orginal_price": "178",
"properties": "20518:28315;1627207:3232478",
"properties_name": "20518:28315:尺寸:M;1627207:3232478:颜色分类:深灰色",
"quantity": "192",
"sku_id": "5199333286258"
}
]
},
"seller_id": "2208752728",
"sales": 10,
"shop_id": "113196079",
"props_list": {
"20518:28314": "尺寸:S",
"20518:28315": "尺寸:M",
"1627207:28341": "颜色分类:黑色",
"1627207:28332": "颜色分类:浅灰色",
"1627207:3232478": "颜色分类:深灰色"
},
"seller_info": {
"nick": "小泽麻生希",
"item_score": "4.8 ",
"score_p": "4.9 ",
"delivery_score": "4.9 ",
"shop_type": "C",
"user_num_id": "2208752728",
"sid": "113196079",
"title": "大山儿海外正品贸易购",
"zhuy": "https://shop113196079.taobao.com/",
"shop_name": "大山儿海外正品贸易购"
},
"tmall": false,
"error": "",
"warning": "",
"url_log": [],
"fav_count": "102",
"fans_count": "9465",
"freight": "快递: 快递包邮",
"props_imgs": {
"prop_img": [
{
"properties": "1627207:28341",
"url": "//img.alicdn.com/imgextra/i1/2208752728/O1CN01q1wev61W1TJcmZNTf_!!2208752728.jpg"
},
{
"properties": "1627207:28332",
"url": "//img.alicdn.com/imgextra/i2/2208752728/O1CN018WvfnO1W1TJe7aa0v_!!2208752728.jpg"
},
{
"properties": "1627207:3232478",
"url": "//img.alicdn.com/imgextra/i1/2208752728/O1CN0111xIGb1W1TJhUChcf_!!2208752728.jpg"
}
]
},
"_ddf": "xdl",
"promo_type": null,
"props_img": {
"1627207:28341": "//img.alicdn.com/imgextra/i1/2208752728/O1CN01q1wev61W1TJcmZNTf_!!2208752728.jpg",
"1627207:28332": "//img.alicdn.com/imgextra/i2/2208752728/O1CN018WvfnO1W1TJe7aa0v_!!2208752728.jpg",
"1627207:3232478": "//img.alicdn.com/imgextra/i1/2208752728/O1CN0111xIGb1W1TJhUChcf_!!2208752728.jpg"
},
"format_check": "ok",
"shop_item": [],
"relate_items": []
},
"error": "",
"secache": "341ec87fdc5410a6df1d0ebd83b01229",
"secache_time": 1692599401,
"secache_date": "2023-08-21 14:30:01",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:83 max:10100 all[230=83+74+73];expires:2030-12-31",
"execution_time": "2.747",
"server_time": "Beijing/2023-08-21 14:30:01",
"client_ip": "106.6.37.244",
"call_args": {
"num_iid": "724068359994",
"is_promotion": "1"
},