淘寶詳情APi介面的使用方式

Alin2477305449發表於2023-03-30

淘寶API是淘寶網開放平臺提供的一套介面,可以讓開發者透過API訪問到淘寶網站的商品資料、店鋪資料、訂單資料等。開發者可以透過呼叫API實現自己的應用或網站獲取商品資料,代理淘寶店家或者自營店鋪,提高流量和銷量。淘寶API的功能包括商品搜尋、店鋪搜尋、商品詳情資料、店鋪詳情資料、訂單資訊查詢等。淘寶API的使用需要註冊淘寶開放平臺賬號並進行API的申請和授權,開發者在開發時需要遵守淘寶API規定的使用協議和安全規範。


請求連結:

 返回結果:

{
	"item": {
		"num_iid": "652874751412",
		"title": "北歐輕奢布藝沙發 小戶型簡約現代客廳ins風網紅款三雙人訂製沙發",
		"desc_short": "",
		"price": "480.00",
		"total_price": 0,
		"suggestive_price": 0,
		"orginal_price": "3400.00",
		"nick": "惜情yqq1127",
		"num": 1551,
		"min_num": 0,
		"detail_url": "
		"pic_url": "//img.alicdn.com/imgextra/i4/2568161054/O1CN01aYBriY1Jem9UDtt9e_!!2568161054.jpg",
		"brand": "#0 工廠",
		"brandId": null,
		"rootCatId": "50008164",
		"cid": "50020632",
		"crumbs": [],
		"created_time": "",
		"modified_time": "",
		"delist_time": "",
		"desc": "<div > \n   <div >\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n    <img src=\"!!2568161054.jpg\"  />\n   </div> \n  </div><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-1.6425554caf21c&p=3702633869&k=13020&t=1680168271\" style=\"display:none\" />",
		"desc_img": [
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg",
			"!!2568161054.jpg"
		],
		"item_imgs": [
			{
				"url": "//img.alicdn.com/imgextra/i4/2568161054/O1CN01aYBriY1Jem9UDtt9e_!!2568161054.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i3/2568161054/O1CN01kjOfNb1Jem9DmWn8Y_!!2568161054.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i1/2568161054/O1CN01HoB9ha1Jem9DmWn8r_!!2568161054.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i4/2568161054/O1CN011PjP2P1Jem9MXEUFT_!!2568161054.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i3/2568161054/O1CN01KUfBFL1Jem9KTTMn1_!!2568161054.jpg"
			}
		],
		"item_weight": "",
		"item_size": "",
		"location": "江蘇南通",
		"post_fee": "",
		"express_fee": null,
		"ems_fee": "",
		"shipping_to": "",
		"has_discount": "true",
		"video": {
			"url": null
		},
		"is_virtual": "",
		"sample_id": "",
		"is_promotion": "true",
		"props_name": "31480:14306495906:幾人坐:腳踏90*60*48cm;31480:14306495907:幾人坐:雙人165*95*67cm;31480:14306495908:幾人坐:三人210*95*67cm;31480:14306495909:幾人坐:單人100*95*67cm;31480:21480914361:幾人坐:四人位240*95*67cm;31480:21480914362:幾人坐:大四人320*95*76cm;31480:1387571900:幾人坐:3米貴妃沙發;31480:32527954:幾人坐:定製尺寸;1627207:28321:顏色分類:乳白色 尺寸顏色可定製",
		"prop_imgs": {
			"prop_img": [
				{
					"properties": "1627207:28321",
					"url": "//img.alicdn.com/imgextra/i1/2568161054/O1CN017GTZ4h1Jem9Qra1ap_!!2568161054.jpg"
				}
			]
		},
		"property_alias": "",
		"props": [
			{
				"name": "品牌",
				"value": "#0 工廠"
			},
			{
				"name": "型號",
				"value": "520"
			},
			{
				"name": "材質",
				"value": "木"
			},
			{
				"name": "木質材質",
				"value": "松木"
			},
			{
				"name": "面料",
				"value": "絨布"
			},
			{
				"name": "風格",
				"value": "北歐"
			},
			{
				"name": "幾人坐",
				"value": "腳踏90*60*48cm,雙人165*95*67cm,三人210*95*67cm,單人100*95*67cm,四人位240*95*67cm,大四人320*95*76cm,3米貴妃沙發,定製尺寸"
			},
			{
				"name": "顏色分類",
				"value": "乳白色"
			},
			{
				"name": "填充物",
				"value": "海綿"
			},
			{
				"name": "結構工藝",
				"value": "木質工藝"
			},
			{
				"name": "是否可定製",
				"value": "是"
			},
			{
				"name": "沙發組合形式",
				"value": "U形"
			},
			{
				"name": "是否可拆洗",
				"value": "是"
			},
			{
				"name": "適用物件",
				"value": "成年人"
			},
			{
				"name": "是否帶儲物空間",
				"value": "否"
			},
			{
				"name": "產地",
				"value": "上海"
			},
			{
				"name": "地市",
				"value": "上海市"
			},
			{
				"name": "區縣",
				"value": "奉賢區"
			},
			{
				"name": "是否組裝",
				"value": "否"
			},
			{
				"name": "計程車是否可運輸",
				"value": "否"
			},
			{
				"name": "填充物硬度",
				"value": "軟"
			},
			{
				"name": "款式定位",
				"value": "經濟型"
			}
		],
		"total_sold": null,
		"skus": {
			"sku": [
				{
					"price": "480",
					"total_price": 0,
					"orginal_price": "480",
					"properties": "31480:14306495906;1627207:28321",
					"properties_name": "31480:14306495906:幾人坐:腳踏90*60*48cm;1627207:28321:顏色分類:乳白色 尺寸顏色可定製",
					"quantity": "200",
					"sku_id": "4881047531343"
				},
				{
					"price": "1688",
					"total_price": 0,
					"orginal_price": "1688",
					"properties": "31480:14306495907;1627207:28321",
					"properties_name": "31480:14306495907:幾人坐:雙人165*95*67cm;1627207:28321:顏色分類:乳白色 尺寸顏色可定製",
					"quantity": "151",
					"sku_id": "4881047531344"
				},
				{
					"price": "2088",
					"total_price": 0,
					"orginal_price": "2088",
					"properties": "31480:14306495908;1627207:28321",
					"properties_name": "31480:14306495908:幾人坐:三人210*95*67cm;1627207:28321:顏色分類:乳白色 尺寸顏色可定製",
					"quantity": "200",
					"sku_id": "4881047531345"
				},
				{
					"price": "968",
					"total_price": 0,
					"orginal_price": "968",
					"properties": "31480:14306495909;1627207:28321",
					"properties_name": "31480:14306495909:幾人坐:單人100*95*67cm;1627207:28321:顏色分類:乳白色 尺寸顏色可定製",
					"quantity": "200",
					"sku_id": "4881047531346"
				},
				{
					"price": "2388",
					"total_price": 0,
					"orginal_price": "2388",
					"properties": "31480:21480914361;1627207:28321",
					"properties_name": "31480:21480914361:幾人坐:四人位240*95*67cm;1627207:28321:顏色分類:乳白色 尺寸顏色可定製",
					"quantity": "200",
					"sku_id": "5039985183001"
				},
				{
					"price": "3188",
					"total_price": 0,
					"orginal_price": "3188",
					"properties": "31480:21480914362;1627207:28321",
					"properties_name": "31480:21480914362:幾人坐:大四人320*95*76cm;1627207:28321:顏色分類:乳白色 尺寸顏色可定製",
					"quantity": "200",
					"sku_id": "5039985183002"
				},
				{
					"price": "3400",
					"total_price": 0,
					"orginal_price": "3400",
					"properties": "31480:1387571900;1627207:28321",
					"properties_name": "31480:1387571900:幾人坐:3米貴妃沙發;1627207:28321:顏色分類:乳白色 尺寸顏色可定製",
					"quantity": "200",
					"sku_id": "5039984824000"
				},
				{
					"price": "3000",
					"total_price": 0,
					"orginal_price": "3000",
					"properties": "31480:32527954;1627207:28321",
					"properties_name": "31480:32527954:幾人坐:定製尺寸;1627207:28321:顏色分類:乳白色 尺寸顏色可定製",
					"quantity": "200",
					"sku_id": "5039985183003"
				}
			]
		},
		"seller_id": "2568161054",
		"sales": 35,
		"shop_id": "567158267",
		"props_list": {
			"31480:14306495906": "幾人坐:腳踏90*60*48cm",
			"31480:14306495907": "幾人坐:雙人165*95*67cm",
			"31480:14306495908": "幾人坐:三人210*95*67cm",
			"31480:14306495909": "幾人坐:單人100*95*67cm",
			"31480:21480914361": "幾人坐:四人位240*95*67cm",
			"31480:21480914362": "幾人坐:大四人320*95*76cm",
			"31480:1387571900": "幾人坐:3米貴妃沙發",
			"31480:32527954": "幾人坐:定製尺寸",
			"1627207:28321": "顏色分類:乳白色 尺寸顏色可定製"
		},
		"seller_info": {
			"nick": "惜情yqq1127",
			"item_score": "4.9 ",
			"score_p": "4.9 ",
			"delivery_score": "4.9 ",
			"shop_type": "C",
			"user_num_id": "2568161054",
			"sid": "567158267",
			"title": "現代布藝沙發",
			"zhuy": "
			"shop_name": "現代布藝沙發"
		},
		"tmall": false,
		"error": "",
		"warning": "",
		"url_log": [],
		"fav_count": "7332",
		"fans_count": "637",
		"freight": "平郵: 快遞包郵",
		"props_imgs": {
			"prop_img": [
				{
					"properties": "1627207:28321",
					"url": "//img.alicdn.com/imgextra/i1/2568161054/O1CN017GTZ4h1Jem9Qra1ap_!!2568161054.jpg"
				}


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69952502/viewspace-2942802/,如需轉載,請註明出處,否則將追究法律責任。

相關文章