一、简介
淘宝作为国内最大的电商平台,每天有大量的商品数据在平台上交易。对于数据分析、运营人员和需要精准把握市场动态的商家来说,淘宝商品数据采集是不可或缺的一环。本文将分享如何使用API技术进行淘宝商品数据采集,包括商品价格、详情图、主图等重要信息。
二、API介绍
首先,需要了解的是淘宝开放平台提供了丰富的API接口供开发者使用。其中,商品数据采集相关的API主要有“商品详情查询”和“宝贝类目查询”等。这些API可以帮助我们获取到商品的详细信息,如价格、标题、主图、详情图等。
三、API使用流程
1. 注册淘宝开放平台账号并登录。
2. 创建应用并获取AppKey和AppSecret。
3. 根据需求选择合适的API接口,并了解接口的请求参数和返回结果。
4. 使用HTTP请求调用API接口,获取商品数据。
5. 对返回的JSON格式数据进行解析,提取所需信息。
四、注意事项
1. API调用次数限制:淘宝开放平台对API调用次数有一定的限制,请根据实际需求合理使用。
2. 数据安全:在采集数据时,请遵守相关法律法规和淘宝平台的规定,不得用于非法用途。
3. 数据格式:返回的数据为JSON格式,需要具备一定的JSON解析能力。
"item": {
"seller": {
"creditLevel": "14",
"creditLevelIcon": "//gw.alicdn.com/imgextra/i1/O1CN01VD9Iap25oweneR31D_!!6000000007574-2-tps-120-60.png",
"evaluates": [
{
"level": "-1",
"levelText": "低",
"score": "4.7 ",
"title": "宝贝描述",
"type": "desc"
},
{
"level": "-1",
"levelText": "低",
"score": "4.7 ",
"title": "卖家服务",
"type": "serv"
},
{
"level": "-1",
"levelText": "低",
"score": "4.8 ",
"title": "物流服务",
"type": "post"
}
],
"pcShopUrl": "//shop574484170.taobao.com",
"sellerId": "2210859731730",
"sellerNick": "梨话旗舰店",
"sellerType": "B",
"shopIcon": "https://img.alicdn.com/imgextra/i4/6000000002608/O1CN01M1ce7H1V8Vh69VQxX_!!6000000002608-2-shopmanager.png",
"shopId": "574484170",
"shopName": "梨话旗舰店",
"startsIcon": "https://img.alicdn.com/imgextra/i2/O1CN01Z8Xo0V1vJCxVltJIB_!!6000000006151-2-tps-91-14.png",
"userId": "2210859731730"
},
"item": {
"bottomIcons": [],
"images": [
"https://img.alicdn.com/imgextra/i1/2210859731730/O1CN01NMeAB51OeOFSuwTBF_!!4611686018427382546-2-item_pic.png",
"https://img.alicdn.com/imgextra/i3/2210859731730/O1CN015v5iRc1OeOFU8rol8_!!2210859731730.jpg",
"https://img.alicdn.com/imgextra/i3/2210859731730/O1CN01AMziBr1OeOFU8oGKj_!!2210859731730.jpg",
"https://img.alicdn.com/imgextra/i4/2210859731730/O1CN01ewe7Sr1OeOFTc0gYK_!!2210859731730.jpg",
"https://img.alicdn.com/imgextra/i3/2210859731730/O1CN01KNfZaK1OeOFURxTBl_!!2210859731730.jpg"
],
"itemId": "918719969324",
"pcADescUrl": "//market.m.taobao.com/app/detail-project/desc/index.html?id=918719969324&descVersion=7.0&type=1&f=icoss!0918719969324!13429251537&sellerType=B",
"qrCode": "https://h5.m.taobao.com/awp/core/detail.htm?id=918719969324",
"spuId": "8424389053",
"title": "新中式女装国风提花旗袍上衣半身裙套装女2025新款夏装搭配一整套",
"titleIcon": "//img.alicdn.com/tfs/TB1SMG7nnvI8KJjSspjXXcgjXXa-78-36.png?getAvatar=avatar",
"useWirelessDesc": "true",
"vagueSellCount": "79",
"videos": [
{
"actionEvent": {
"exposureArgs": {
"item_id": "918719969324",
"video_id": "518556978187"
},
"openUrlEventArgs": {
"enableUserTrackEvent": "true",
"userTrackArgs": {
"page": "Page_Detail",
"type": "userTrack",
"item_id": "918719969324",
"arg1": "Page_Detail_Videos_Dx_Skip",
"video_id": "518556978187"
}
}
},
"itemId": "918719969324",
"spatialVideoDimension": "3:4",
"type": "3",
"url": "https://cloud.video.taobao.com/play/u/2210859731730/p/2/e/6/t/1/518556978187.mp4?appKey=38829",
"videoId": "518556978187",
"videoThumbnailURL": "https://img.alicdn.com/imgextra/i3/6000000000635/O1CN01cMJwtC1GYsYZAXo1Y_!!6000000000635-0-tmap.jpg",
"weexRecommendUrl": "https://market.m.taobao.com/apps/market/detailrax/recommend-items.html?spm=a2116h.app.0.0.16d957e9U2bxVj&wh_weex=true&itemId=918719969324"
}
]
},
"plusViewVO": {
"pcMiniCartVO": {
"bizCode": "",
"hit": "true"
},
"guessLikeVO": {
"bizCode": "",
"hit": "true"
},
"rankVO": {
"bizCode": "",
"hit": "true",
"spm": "aliabtest723647_830745"
},
"tabPlaceholderVO": {
"bizCode": "",
"hit": "true",
"spm": "aliabtest801234_834392"
},
"industryParamVO": {
"basicParamList": [
{
"propertyName": "品牌",
"valueName": "梨话"
},
{
"propertyName": "腰型",
"valueName": "高腰"
},
{
"propertyName": "销售渠道类型",
"valueName": "纯电商(只在线上销售)"
},
{
"propertyName": "材质成分",
"valueName": "聚酯纤维100%"
},
{
"propertyName": "适用体型",
"valueName": "矩型 通用型 苹果型 沙漏型 梨型 直筒型 倒三角型"
},
{
"propertyName": "货号",
"valueName": "H0429204445"
},
{
"propertyName": "适用季节",
"valueName": "夏季"
},
{
"propertyName": "组合形式",
"valueName": "两件套"
},
{
"propertyName": "厚薄",
"valueName": "常规"
},
{
"propertyName": "上市年份季节",
"valueName": "2025年夏季"
},
{
"propertyName": "袖长",
"valueName": "无袖"
},
{
"propertyName": "领型",
"valueName": "立领"
},
{
"propertyName": "图案",
"valueName": "卡通动漫"
},
{
"propertyName": "尺码",
"valueName": "S M L XL"
},
{
"propertyName": "颜色分类",
"valueName": "新中式马甲+半身裙 新中式马甲"
}
],
"bizCode": "",
"hit": "true"
},
"detailUpdateVO": {
"bizCode": "",
"ext": {
"type": "compare_two"
},
"hit": "true",
"spm": "aliabtest773281_847424"
},
"headAtmosphereBeltVO": {
"actionImg": "https://img.alicdn.com/imgextra/i4/O1CN01ie9ezx1YiBb0H6XLY_!!6000000003092-2-tps-136-52.png",
"actionParam": {
"linkUrl": "https://pages-fast.m.taobao.com/wow/z/blackvip/v/pc-super?x-render-mode=csr&from=pc_detail_piaotiao_pcvip_xiaofeiquan",
"buttonActionType": "openPage"
},
"actionType": "button",
"bgColors": [
"#FAEDE1",
"#FAE7D4"
],
"bizCode": "",
"eventParam": {
"code": "dp-xfqCuLing-*-online"
},
"hit": "true",
"icon": "",
"text": "88VIP享800元专享大额消费券,限时有效!",
"textColor": "#11192D",
"valid": "true"
},
"commentListVO": {
"bizCode": "",
"ext": {
"countShow": "\"false\""
},
"hit": "true"
},
"pcFrontSkuQuantityLimitVO": {
"bizCode": "",
"hit": "true"
},
"buyParamVO": {
"bizCode": "",
"ext": {
"autoApplCoupSource": "pcDetailOrder",
"needAutoApplCoup": "true"
},
"hit": "true",
"spm": "aliabtest582366_724531"
}
},
"skuCore": {
"sku2info": {
"0": {
"limit": "3",
"logisticsTime": "预售,30天内发货",
"moreQuantity": "true",
"price": {
"priceColorNew": "#7A7A7A",
"priceMoney": "16800",
"priceText": "168起",
"priceTitle": "优惠前"
},
"quantity": "200",
"quantityDisplayValue": "1",
"quantityText": "有货(限购3件)",
"subPrice": {
"priceBgColor": "#FF5000",
"priceColor": "#FFFFFF",
"priceColorNew": "#FF5000",
"priceMoney": "14200",
"priceText": "142起",
"priceTitle": "券后",
"priceTitleColor": "#FFFFFF"
}
},
"5971212131143": {
"cartParam": {
"addCartCheck": "true"
},
"limit": "3",
"logisticsTime": "预售,30天内发货",
"moreQuantity": "true",
"price": {
"priceColorNew": "#7A7A7A",
"priceMoney": "16800",
"priceText": "168",
"priceTitle": "优惠前"
},
"quantity": "200",
"quantityDisplayValue": "1",
"quantityText": "有货(限购3件)",
"subPrice": {
"priceBgColor": "#FF5000",
"priceColor": "#FFFFFF",
"priceColorNew": "#FF5000",
"priceMoney": "14200",
"priceText": "142",
"priceTitle": "券后",
"priceTitleColor": "#FFFFFF"
}
},
"5971212131148": {
"cartParam": {
"addCartCheck": "true"
},
"limit": "3",
"logisticsTime": "预售,30天内发货",
"moreQuantity": "true",
"price": {
"priceColorNew": "#7A7A7A",
"priceMoney": "26800",
"priceText": "268",
"priceTitle": "优惠前"
},
"quantity": "200",
"quantityDisplayValue": "1",
"quantityText": "有货(限购3件)",
"subPrice": {
"priceBgColor": "#FF5000",
"priceColor": "#FFFFFF",
"priceColorNew": "#FF5000",
"priceMoney": "22700",
"priceText": "227",
"priceTitle": "券后",
"priceTitleColor": "#FFFFFF"
}
},
"5971212131149": {
"cartParam": {
"addCartCheck": "true"
},
"limit": "3",
"logisticsTime": "预售,30天内发货",
"moreQuantity": "true",
"price": {
"priceColorNew": "#7A7A7A",
"priceMoney": "16800",
"priceText": "168",
"priceTitle": "优惠前"
},
"quantity": "200",
"quantityDisplayValue": "1",
"quantityText": "有货(限购3件)",
"subPrice": {
"priceBgColor": "#FF5000",
"priceColor": "#FFFFFF",
"priceColorNew": "#FF5000",
"priceMoney": "14200",
"priceText": "142",
"priceTitle": "券后",
"priceTitleColor": "#FFFFFF"
}
},
"5971212131150": {
"cartParam": {
"addCartCheck": "true"
},
"limit": "3",
"logisticsTime": "预售,30天内发货",
"moreQuantity": "true",
"price": {
"priceColorNew": "#7A7A7A",
"priceMoney": "26800",
"priceText": "268",
"priceTitle": "优惠前"
},
"quantity": "200",
"quantityDisplayValue": "1",
"quantityText": "有货(限购3件)",
"subPrice": {
"priceBgColor": "#FF5000",
"priceColor": "#FFFFFF",
"priceColorNew": "#FF5000",
"priceMoney": "22700",
"priceText": "227",
"priceTitle": "券后",
"priceTitleColor": "#FFFFFF"
}
},
"5971212131144": {
"cartParam": {
"addCartCheck": "true"
},
"limit": "3",
"logisticsTime": "预售,30天内发货",
"moreQuantity": "true",
"price": {
"priceColorNew": "#7A7A7A",
"priceMoney": "26800",
"priceText": "268",
"priceTitle": "优惠前"
},
"quantity": "200",
"quantityDisplayValue": "1",
"quantityText": "有货(限购3件)",
"subPrice": {
"priceBgColor": "#FF5000",
"priceColor": "#FFFFFF",
"priceColorNew": "#FF5000",
"priceMoney": "22700",
"priceText": "227",
"priceTitle": "券后",
"priceTitleColor": "#FFFFFF"
}
},
"5971212131145": {
"cartParam": {
"addCartCheck": "true"
},
"limit": "3",
"logisticsTime": "预售,30天内发货",
"moreQuantity": "true",
"price": {
"priceColorNew": "#7A7A7A",
"priceMoney": "16800",
"priceText": "168",
"priceTitle": "优惠前"
},
"quantity": "200",
"quantityDisplayValue": "1",
"quantityText": "有货(限购3件)",
"subPrice": {
"priceBgColor": "#FF5000",
"priceColor": "#FFFFFF",
"priceColorNew": "#FF5000",
"priceMoney": "14200",
"priceText": "142",
"priceTitle": "券后",
"priceTitleColor": "#FFFFFF"
}
},
"5971212131146": {
"cartParam": {
"addCartCheck": "true"
},
"limit": "3",
"logisticsTime": "预售,30天内发货",
"moreQuantity": "true",
"price": {
"priceColorNew": "#7A7A7A",
"priceMoney": "26800",
"priceText": "268",
"priceTitle": "优惠前"
},
"quantity": "200",
"quantityDisplayValue": "1",
"quantityText": "有货(限购3件)",
"subPrice": {
"priceBgColor": "#FF5000",
"priceColor": "#FFFFFF",
"priceColorNew": "#FF5000",
"priceMoney": "22700",
"priceText": "227",
"priceTitle": "券后",
"priceTitleColor": "#FFFFFF"
}
},
"5971212131147": {
"cartParam": {
"addCartCheck": "true"
},
"limit": "3",
"logisticsTime": "预售,30天内发货",
"moreQuantity": "true",
"price": {
"priceColorNew": "#7A7A7A",
"priceMoney": "16800",
"priceText": "168",
"priceTitle": "优惠前"
},
"quantity": "200",
"quantityDisplayValue": "1",
"quantityText": "有货(限购3件)",
"subPrice": {
"priceBgColor": "#FF5000",
"priceColor": "#FFFFFF",
"priceColorNew": "#FF5000",
"priceMoney": "14200",
"priceText": "142",
"priceTitle": "券后",
"priceTitleColor": "#FFFFFF"
}
}
},
"skuItem": {
"itemStatus": "0",
"renderSku": "true",
"unitBuy": "1"
}
},
"services": {
"allServices": [
{
"autoSelect": "false",
"desc": "(天猫自营 上门取送 180天随时约)",
"extraDisplayName": "天猫自营 上门取送 180天随时约",
"groupName": "特色服务",
"isvService": "false",
"mustSelect": "false",
"name": "清洗养护",
"serviceCode": "XIHUGUAZAIFUWUFUSHI311",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"standardPresentationV2": "true",
"uniqueServices": [
{
"attributeStr": "",
"autoSelect": "false",
"name": "外套清洗",
"uniqueId": "5807475289020"
},
{
"attributeStr": "",
"autoSelect": "false",
"name": "外套清洗2件",
"uniqueId": "5807475289021"
}
]
}
],
"multiSelect": "true",
"mustSelect": "false",
"name": "特色服务",
"sku2StandardServiceV2": {
"0": {
"925350335013:5807475289021": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "2290",
"priceText": "22.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289021"
},
"925350335013:5807475289020": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "1290",
"priceText": "12.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289020"
}
},
"5971212131143": {
"925350335013:5807475289021": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "2290",
"priceText": "22.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289021"
},
"925350335013:5807475289020": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "1290",
"priceText": "12.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289020"
}
},
"5971212131148": {
"925350335013:5807475289021": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "2290",
"priceText": "22.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289021"
},
"925350335013:5807475289020": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "1290",
"priceText": "12.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289020"
}
},
"5971212131149": {
"925350335013:5807475289021": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "2290",
"priceText": "22.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289021"
},
"925350335013:5807475289020": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "1290",
"priceText": "12.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289020"
}
},
"5971212131150": {
"925350335013:5807475289021": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "2290",
"priceText": "22.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289021"
},
"925350335013:5807475289020": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "1290",
"priceText": "12.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289020"
}
},
"5971212131144": {
"925350335013:5807475289021": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "2290",
"priceText": "22.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289021"
},
"925350335013:5807475289020": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "1290",
"priceText": "12.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289020"
}
},
"5971212131145": {
"925350335013:5807475289021": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "2290",
"priceText": "22.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289021"
},
"925350335013:5807475289020": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "1290",
"priceText": "12.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289020"
}
},
"5971212131146": {
"925350335013:5807475289021": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "2290",
"priceText": "22.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289021"
},
"925350335013:5807475289020": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "1290",
"priceText": "12.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289020"
}
},
"5971212131147": {
"925350335013:5807475289021": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "2290",
"priceText": "22.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289021"
},
"925350335013:5807475289020": {
"cells": "false",
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"price": "1290",
"priceText": "12.9",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"uniqueId": "5807475289020"
}
}
},
"sku2serviceMap": {
"0": [
{
"serviceId": "925350335013",
"serviceSkuPrices": [
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "1290",
"lineThroughPriceText": "12.9",
"price": "1290",
"priceText": "12.9",
"serviceTypeRec": "false",
"skuId": "5971212131144",
"uniqueId": "5807475289020"
},
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "2290",
"lineThroughPriceText": "22.9",
"price": "2290",
"priceText": "22.9",
"serviceTypeRec": "false",
"skuId": "5971212131144",
"uniqueId": "5807475289021"
}
],
"serviceTypeRec": "false",
"standardPresentationV2": "true"
}
],
"5971212131143": [
{
"serviceId": "925350335013",
"serviceSkuPrices": [
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "1290",
"lineThroughPriceText": "12.9",
"price": "1290",
"priceText": "12.9",
"serviceTypeRec": "false",
"skuId": "5971212131143",
"uniqueId": "5807475289020"
},
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "2290",
"lineThroughPriceText": "22.9",
"price": "2290",
"priceText": "22.9",
"serviceTypeRec": "false",
"skuId": "5971212131143",
"uniqueId": "5807475289021"
}
],
"serviceTypeRec": "false",
"standardPresentationV2": "true"
}
],
"5971212131148": [
{
"serviceId": "925350335013",
"serviceSkuPrices": [
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "1290",
"lineThroughPriceText": "12.9",
"price": "1290",
"priceText": "12.9",
"serviceTypeRec": "false",
"skuId": "5971212131148",
"uniqueId": "5807475289020"
},
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "2290",
"lineThroughPriceText": "22.9",
"price": "2290",
"priceText": "22.9",
"serviceTypeRec": "false",
"skuId": "5971212131148",
"uniqueId": "5807475289021"
}
],
"serviceTypeRec": "false",
"standardPresentationV2": "true"
}
],
"5971212131149": [
{
"serviceId": "925350335013",
"serviceSkuPrices": [
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "1290",
"lineThroughPriceText": "12.9",
"price": "1290",
"priceText": "12.9",
"serviceTypeRec": "false",
"skuId": "5971212131149",
"uniqueId": "5807475289020"
},
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "2290",
"lineThroughPriceText": "22.9",
"price": "2290",
"priceText": "22.9",
"serviceTypeRec": "false",
"skuId": "5971212131149",
"uniqueId": "5807475289021"
}
],
"serviceTypeRec": "false",
"standardPresentationV2": "true"
}
],
"5971212131150": [
{
"serviceId": "925350335013",
"serviceSkuPrices": [
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "1290",
"lineThroughPriceText": "12.9",
"price": "1290",
"priceText": "12.9",
"serviceTypeRec": "false",
"skuId": "5971212131150",
"uniqueId": "5807475289020"
},
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "2290",
"lineThroughPriceText": "22.9",
"price": "2290",
"priceText": "22.9",
"serviceTypeRec": "false",
"skuId": "5971212131150",
"uniqueId": "5807475289021"
}
],
"serviceTypeRec": "false",
"standardPresentationV2": "true"
}
],
"5971212131144": [
{
"serviceId": "925350335013",
"serviceSkuPrices": [
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "1290",
"lineThroughPriceText": "12.9",
"price": "1290",
"priceText": "12.9",
"serviceTypeRec": "false",
"skuId": "5971212131144",
"uniqueId": "5807475289020"
},
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "2290",
"lineThroughPriceText": "22.9",
"price": "2290",
"priceText": "22.9",
"serviceTypeRec": "false",
"skuId": "5971212131144",
"uniqueId": "5807475289021"
}
],
"serviceTypeRec": "false",
"standardPresentationV2": "true"
}
],
"5971212131145": [
{
"serviceId": "925350335013",
"serviceSkuPrices": [
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "1290",
"lineThroughPriceText": "12.9",
"price": "1290",
"priceText": "12.9",
"serviceTypeRec": "false",
"skuId": "5971212131145",
"uniqueId": "5807475289020"
},
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "2290",
"lineThroughPriceText": "22.9",
"price": "2290",
"priceText": "22.9",
"serviceTypeRec": "false",
"skuId": "5971212131145",
"uniqueId": "5807475289021"
}
],
"serviceTypeRec": "false",
"standardPresentationV2": "true"
}
],
"5971212131146": [
{
"serviceId": "925350335013",
"serviceSkuPrices": [
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "1290",
"lineThroughPriceText": "12.9",
"price": "1290",
"priceText": "12.9",
"serviceTypeRec": "false",
"skuId": "5971212131146",
"uniqueId": "5807475289020"
},
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "2290",
"lineThroughPriceText": "22.9",
"price": "2290",
"priceText": "22.9",
"serviceTypeRec": "false",
"skuId": "5971212131146",
"uniqueId": "5807475289021"
}
],
"serviceTypeRec": "false",
"standardPresentationV2": "true"
}
],
"5971212131147": [
{
"serviceId": "925350335013",
"serviceSkuPrices": [
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "1290",
"lineThroughPriceText": "12.9",
"price": "1290",
"priceText": "12.9",
"serviceTypeRec": "false",
"skuId": "5971212131147",
"uniqueId": "5807475289020"
},
{
"desc": "(省力更省心)",
"extraDisplayName": "省力更省心",
"extraServiceInfo": "外套清洗2件(省力更省心)",
"extraTagText": "限时",
"free": "false",
"lineThroughPrice": "2290",
"lineThroughPriceText": "22.9",
"price": "2290",
"priceText": "22.9",
"serviceTypeRec": "false",
"skuId": "5971212131147",
"uniqueId": "5807475289021"
}
],
"serviceTypeRec": "false",
"standardPresentationV2": "true"
}
]
},
"standardServiceV2": [
{
"items": [
{
"autoSelect": "false",
"desc": "(天猫自营 上门取送 180天随时约)",
"extraDisplayName": "天猫自营 上门取送 180天随时约",
"groupName": "特色服务",
"isvService": "false",
"mustSelect": "false",
"name": "清洗养护",
"serviceCode": "XIHUGUAZAIFUWUFUSHI311",
"serviceId": "925350335013",
"serviceTypeRec": "false",
"standardPresentationV2": "true",
"uniqueServices": [
{
"attributeStr": "",
"autoSelect": "false",
"name": "外套清洗",
"uniqueId": "5807475289020"
},
{
"attributeStr": "",
"autoSelect": "false",
"name": "外套清洗2件",
"uniqueId": "5807475289021"
}
]
}
],
"title": "特色服务"
}
]
},
"params": {
"aplusParams": "[]",
"trackParams": {
"detailabtestdetail": ""
},
"userAbtestDetail": ""
},
"skuBase": {
"components": [],
"props": [
{
"comboProperty": "false",
"hasGroupTags": "false",
"hasImage": "true",
"name": "颜色分类",
"nameDesc": "(2)",
"packProp": "false",
"pid": "1627207",
"shouldGroup": "false",
"values": [
{
"comboPropertyValue": "false",
"image": "https://gw.alicdn.com/bao/uploaded/i4/2210859731730/O1CN01LPClhG1OeOFMQ9aZR_!!2210859731730.png",
"name": "新中式马甲+半身裙",
"sortOrder": "0",
"vid": "23446734787"
},
{
"comboPropertyValue": "false",
"image": "https://gw.alicdn.com/bao/uploaded/i2/2210859731730/O1CN01xT8TyN1OeOFT6331i_!!2210859731730.jpg",
"name": "新中式马甲",
"sortOrder": "5",
"vid": "22727446728"
}
]
},
{
"comboProperty": "false",
"hasGroupTags": "false",
"hasImage": "false",
"name": "尺码",
"packProp": "false",
"pid": "20509",
"shouldGroup": "false",
"values": [
{
"comboPropertyValue": "false",
"name": "S",
"sortOrder": "1",
"vid": "28314"
},
{
"comboPropertyValue": "false",
"name": "M",
"sortOrder": "2",
"vid": "28315"
},
{
"comboPropertyValue": "false",
"name": "L",
"sortOrder": "3",
"vid": "28316"
},
{
"comboPropertyValue": "false",
"name": "XL",
"sortOrder": "4",
"vid": "28317"
}
]
}
],
"skus": [
{
"propPath": "1627207:23446734787;20509:28314",
"skuId": "5971212131144"
},
{
"propPath": "1627207:23446734787;20509:28315",
"skuId": "5971212131146"
},
{
"propPath": "1627207:23446734787;20509:28316",
"skuId": "5971212131148"
},
{
"propPath": "1627207:23446734787;20509:28317",
"skuId": "5971212131150"
},
{
"propPath": "1627207:22727446728;20509:28314",
"skuId": "5971212131143"
},
{
"propPath": "1627207:22727446728;20509:28315",
"skuId": "5971212131145"
},
{
"propPath": "1627207:22727446728;20509:28316",
"skuId": "5971212131147"
},
{
"propPath": "1627207:22727446728;20509:28317",
"skuId": "5971212131149"
}
]
},
"pcTrade": {
"bizDataBuyParams": [],
"buyNowUrl": "//buy.tmall.com/order/confirm_order.htm",
"pcBuyParams": {
"virtual": "false",
"buy_now": "268.00",
"auction_type": "b",
"x-uid": "",
"title": "新中式女装国风提花旗袍上衣半身裙套装女2025新款夏装搭配一整套",
"buyer_from": "ecity",
"page_from_type": "main_site_pc",
"detailIsLimit": "false",
"who_pay_ship": "卖家承担运费",
"rootCatId": "16",
"auto_post1": null,
"routeToNewPc": "1",
"auto_post": "false",
"seller_nickname": "梨话旗舰店",
"photo_url": "i2/2210859731730/O1CN01uVv6O01OeOFQhBs5L_!!4611686018427382546-2-item_pic.png",
"current_price": "268.00",
"region": "广东深圳",
"seller_id": "",
"etm": "post"
},
"pcCartParam": {
"areaId": ""
},
"tradeType": "2"
},
"componentsVO": {
"headImageVO": {
"images": [
"https://img.alicdn.com/imgextra/i1/2210859731730/O1CN01NMeAB51OeOFSuwTBF_!!4611686018427382546-2-item_pic.png",
"https://img.alicdn.com/imgextra/i3/2210859731730/O1CN015v5iRc1OeOFU8rol8_!!2210859731730.jpg",
"https://img.alicdn.com/imgextra/i3/2210859731730/O1CN01AMziBr1OeOFU8oGKj_!!2210859731730.jpg",
"https://img.alicdn.com/imgextra/i4/2210859731730/O1CN01ewe7Sr1OeOFTc0gYK_!!2210859731730.jpg",
"https://img.alicdn.com/imgextra/i3/2210859731730/O1CN01KNfZaK1OeOFURxTBl_!!2210859731730.jpg"
],
"videos": [
{
"itemId": "918719969324",
"spatialVideoDimension": "3:4",
"url": "http://cloud.video.taobao.com/play/u/2210859731730/p/2/e/6/t/1/518556978187.mp4?appKey=38829",
"videoId": "518556978187",
"videoThumbnailURL": "https://img.alicdn.com/imgextra/i1/2210859731730/O1CN01NMeAB51OeOFSuwTBF_!!4611686018427382546-2-item_pic.png"
}
]
},
"headerVO": {
"buttons": [
{
"background": {
"": "1.0",
"disabledAlpha": "1.0"
},
"disabled": "false",
"events": [
{
"fields": {
"url": "//s.taobao.com/search"
},
"type": "onClick"
}
],
"subTitle": [],
"title": {
"text": "搜索"
},
"type": "search_in_taobao"
},
{
"background": {
"": "1.0",
"disabledAlpha": "1.0"
},
"disabled": "false",
"events": [
{
"fields": {
"url": "//shop574484170.taobao.com/search.htm"
},
"type": "onClick"
}
],
"subTitle": [],
"title": {
"text": "搜本店"
},
"type": "search_in_store"
}
],
"logoJumpUrl": "https://www.tmall.com",
"mallLogo": "https://img.alicdn.com/imgextra/i2/O1CN01a69z6z1hJklCkBqOU_!!6000000004257-2-tps-174-106.png",
"searchText": "搜索宝贝"
},
"storeCardVO": {
"buttons": [
{
"disabled": "false",
"image": {
"gifAnimated": "false",
"imageUrl": ""
},
"title": {
"text": "联系客服"
},
"type": "customer_service"
},
{
"disabled": "false",
"events": [
{
"fields": {
"url": "//shop574484170.taobao.com"
},
"type": "openUrl"
}
],
"image": {
"gifAnimated": "false",
"imageUrl": "https://img.alicdn.com/imgextra/i4/O1CN01jn67ow1ZhYeiTJlZn_!!6000000003226-55-tps-24-24.svg"
},
"title": {
"text": "进入店铺"
},
"type": "enter_shop"
}
],
"creditLevel": "14",
"creditLevelIcon": "//gw.alicdn.com/imgextra/i1/O1CN01VD9Iap25oweneR31D_!!6000000007574-2-tps-120-60.png",
"evaluates": [
{
"score": "4.5",
"title": "宝贝质量"
},
{
"score": "3.9",
"title": "服务保障"
},
{
"score": "4.8",
"title": "物流速度"
}
],
"labelList": [
{
"contentDesc": "客服平均30秒回复"
},
{
"contentDesc": "物流体验优秀"
},
{
"contentDesc": "商品体验良好"
}
],
"overallScore": "3.5",
"sellerType": "B",
"shopIcon": "https://img.alicdn.com/imgextra/i4/6000000002608/O1CN01M1ce7H1V8Vh69VQxX_!!6000000002608-2-shopmanager.png",
"shopName": "梨话旗舰店",
"shopUrl": "//shop574484170.taobao.com",
"startsIcon": "https://img.alicdn.com/imgextra/i2/O1CN01Z8Xo0V1vJCxVltJIB_!!6000000006151-2-tps-91-14.png"
},
"titleVO": {
"salesDesc": "已售 79",
"subTitles": [
{
"title": "可开发票"
}
],
"title": {
"title": "新中式女装国风提花旗袍上衣半身裙套装女2025新款夏装搭配一整套"
}
},
"debugVO": {
"host": "",
"traceId": ""
},
"umpPriceLogVO": {
"bcType": "b",
"bs": "businessScenario",
"dumpInvoke": "0",
"map": "{5971212131143:{\"channelKeyD\":\"empty\",\"fpChannelKeyD\":\"empty\",\"price1\":\"168.00\",\"price2\":\"142.00\",\"price3\":\"268.00\",\"sourceTypeKeyD\":\"4_null\",\"utcDNow\":\"20_2600^9_10000\",\"utcDPre\":\"noProm\"},5971212131148:{\"channelKeyD\":\"empty\",\"fpChannelKeyD\":\"empty\",\"price1\":\"268.00\",\"price2\":\"227.00\",\"price3\":\"368.00\",\"sourceTypeKeyD\":\"4_null\",\"utcDNow\":\"20_4100^9_10000\",\"utcDPre\":\"noProm\"},5971212131149:{\"channelKeyD\":\"empty\",\"fpChannelKeyD\":\"empty\",\"price1\":\"168.00\",\"price2\":\"142.00\",\"price3\":\"268.00\",\"sourceTypeKeyD\":\"4_null\",\"utcDNow\":\"20_2600^9_10000\",\"utcDPre\":\"noProm\"},5971212131150:{\"channelKeyD\":\"empty\",\"fpChannelKeyD\":\"empty\",\"price1\":\"268.00\",\"price2\":\"227.00\",\"price3\":\"368.00\",\"sourceTypeKeyD\":\"4_null\",\"utcDNow\":\"20_4100^9_10000\",\"utcDPre\":\"noProm\"},5971212131144:{\"channelKeyD\":\"empty\",\"fpChannelKeyD\":\"empty\",\"price1\":\"268.00\",\"price2\":\"227.00\",\"price3\":\"368.00\",\"sourceTypeKeyD\":\"4_null\",\"utcDNow\":\"20_4100^9_10000\",\"utcDPre\":\"noProm\"},5971212131145:{\"channelKeyD\":\"empty\",\"fpChannelKeyD\":\"empty\",\"price1\":\"168.00\",\"price2\":\"142.00\",\"price3\":\"268.00\",\"sourceTypeKeyD\":\"4_null\",\"utcDNow\":\"20_2600^9_10000\",\"utcDPre\":\"noProm\"},5971212131146:{\"channelKeyD\":\"empty\",\"fpChannelKeyD\":\"empty\",\"price1\":\"268.00\",\"price2\":\"227.00\",\"price3\":\"368.00\",\"sourceTypeKeyD\":\"4_null\",\"utcDNow\":\"20_4100^9_10000\",\"utcDPre\":\"noProm\"},5971212131147:{\"channelKeyD\":\"empty\",\"fpChannelKeyD\":\"empty\",\"price1\":\"168.00\",\"price2\":\"142.00\",\"price3\":\"268.00\",\"sourceTypeKeyD\":\"4_null\",\"utcDNow\":\"20_2600^9_10000\",\"utcDPre\":\"noProm\"}}",
"sellerId": "2210859731730",
"sid": "0",
"traceId": "",
"type": "99",
"umpCreateTime": "",
"version": "2.1",
"xobjectId": "918719969324"
},
"o2oVo": {
"enableJzLocalizationProduct": "false"
},
"itemEndorseVO": {
"endorseList": [
{
"textList": [
"超1千人加购"
],
"type": "itemAddCart"
}
]
},
"bottomBarVO": {
"buyInMobile": "false",
"leftButtons": [
{
"background": {
"": "1.0",
"disabledAlpha": "1.0",
"disabledColor": [
"#ff7700",
"#ff4900"
],
"gradientColor": [
"#ff7700",
"#ff4900"
]
},
"disabled": "false",
"title": {
"": "1.0",
"bold": "true",
"color": "#ffffff",
"disabledAlpha": "0.2",
"disabledColor": "#80ffffff",
"fontSize": "16",
"text": "领券购买"
},
"type": "buy_now"
},
{
"background": {
"": "1.0",
"disabledAlpha": "1.0",
"disabledColor": [
"#ffcb00",
"#ff9402"
],
"gradientColor": [
"#ffcb00",
"#ff9402"
]
},
"disabled": "false",
"title": {
"": "1.0",
"bold": "true",
"color": "#ffffff",
"disabledAlpha": "0.2",
"disabledColor": "#33ffffff",
"fontSize": "16",
"text": "加入购物车"
},
"type": "add_cart"
}
],
"rightButtons": [
{
"disabled": "false",
"icon": {
"": "1.0",
"color": "#666666",
"disabledAlpha": "1.0",
"disabledColor": "#dddddd",
"iconFontName": "뀚",
"size": "14"
},
"title": {
"": "1.0",
"bold": "false",
"color": "#666666",
"disabledAlpha": "1.0",
"disabledColor": "#666666",
"fontSize": "14",
"text": "收藏"
},
"type": "collect"
}
]
},
"extensionInfoVO": {
"infos": [
{
"items": [
{
"text": [
"官方立减26元"
]
},
{
"text": [
"淘金币可抵5.04元起"
]
},
{
"text": [
"购买得积分"
]
}
],
"title": "优惠",
"type": "DAILY_COUPON"
},
{
"items": [
{
"icon": "",
"text": [
"送你500淘金币,下单直抵5元"
]
}
],
"title": "活动",
"type": "ACTIVITIES"
},
{
"items": [
{
"text": [
"假一赔四",
"极速退款",
"7天无理由退换"
]
}
],
"title": "保障",
"type": "GUARANTEE"
},
{
"items": [
{
"text": [
"梨话"
],
"title": "品牌"
},
{
"text": [
"高腰"
],
"title": "腰型"
},
{
"text": [
"纯电商(只在线上销售)"
],
"title": "销售渠道类型"
},
{
"text": [
"聚酯纤维100%"
],
"title": "材质成分"
},
{
"text": [
"矩型 通用型 苹果型 沙漏型 梨型 直筒型 倒三角型"
],
"title": "适用体型"
},
{
"text": [
"H0429204445"
],
"title": "货号"
},
1. 商品价格采集:通过“商品详情查询”API,可以获取到商品的售价信息。
2. 商品主图和详情图采集:同样通过“商品详情查询”API,可以获取到商品的主图和详情图URL,然后通过HTTP请求获取图片数据。
3. 筛选和分类:根据需求,可以使用“宝贝类目查询”API对商品进行分类和筛选,以便更精准地获取所需数据。
4. 数据存储和处理:将采集到的数据存储到本地数据库或云端数据库中,并进行后续的数据分析和处理。
六、总结
通过使用淘宝开放平台的API,我们可以方便地获取到淘宝商品的各种数据信息。在采集过程中,需要注意遵守相关法律法规和平台规定,合理使用API接口,并注意数据的筛选和处理。希望联讯数据的分享能对大家在进行淘宝商品数据采集时提供一定的帮助。
市场上存在一些第三方数据服务平台,如联讯数据等,这些平台提供经过封装的淘宝商品详情 API 接口等服务。在选择第三方平台时,申请者需要谨慎评估平台的合法性、稳定性以及数据准确性等关键因素。合法的平台应具备相关的经营资质和数据授权协议,确保数据获取与使用的合规性;稳定的平台能够保证 API 接口的持续稳定运行,减少因接口故障导致的应用中断风险;数据准确的平台则能够提供可靠的淘宝数据,为应用的正常运行和数据分析提供坚实基础。