淘宝开放接口api分享
一、開放接口
這樣的接口我們天天都在接觸,例如查快遞,你查天氣預(yù)報(bào),你查飛機(jī),火車班次等,這些都是有公共的接口。
API接口工具
二、 請求示例
?
三、響應(yīng)示例
{
?? ?"item": {
?? ??? ?"num_iid": "676155064706",
?? ??? ?"title": "【LaluneDuCiel】LLDC ?藍(lán)色復(fù)古露腰背心連衣裙女夏季無袖西裝裙",
?? ??? ?"desc_short": "",
?? ??? ?"price": "322",
?? ??? ?"total_price": 0,
?? ??? ?"suggestive_price": 0,
?? ??? ?"orginal_price": "336.00",
?? ??? ?"nick": "莫莫莫莫莫0327",
?? ??? ?"num": "200",
?? ??? ?"min_num": 0,
?? ??? ?"detail_url": "https://item.taobao.com/item.htm?id=676155064706",
?? ??? ?"pic_url": "//img.alicdn.com/imgextra/i1/2598715035/O1CN01oDTdWz1n44xm0QCtf_!!0-item_pic.jpg",
?? ??? ?"brand": "La lune Du ciel",
?? ??? ?"brandId": "13176725896",
?? ??? ?"rootCatId": "16",
?? ??? ?"cid": "50010850",
?? ??? ?"crumbs": [],
?? ??? ?"created_time": "",
?? ??? ?"modified_time": "",
?? ??? ?"delist_time": "",
?? ??? ?"desc": "<p><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i3/2598715035/O1CN01Gp38g31n44x38gJ5B_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i1/2598715035/O1CN011yDFjO1n44xBaB7rR_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i3/2598715035/O1CN010Wd9jB1n44wwZOVk6_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i2/2598715035/O1CN01PIQvXG1n44x6EbPtR_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i2/2598715035/O1CN01puET5n1n44xDUXFrL_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/2598715035/O1CN01w281af1n44xEvxcWL_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/2598715035/O1CN01bxm6zZ1n44xAPMw8C_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/2598715035/O1CN01Z6AK2z1n44x94oCsu_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i2/2598715035/O1CN01Z8Qgss1n44xDeGnMA_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i2/2598715035/O1CN016TI3Ce1n44x388TFu_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/2598715035/O1CN01Ouv67J1n44xBfrNm9_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/2598715035/O1CN01F6BBdp1n44xAqerS1_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i3/2598715035/O1CN014XmQyd1n44x1ZhkNY_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i3/2598715035/O1CN01G4fRlX1n44xBfrRvW_!!2598715035.jpg\" ?/><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i3/2598715035/O1CN01G5LbR21n44x3qnMh5_!!2598715035.jpg\" ?/></p><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-4.62e7268192a57&p=1778787231&k=i_key&t=1659315843\" style=\"display:none\" />",
?? ??? ?"desc_img": [
?? ??? ??? ?"http://img.alicdn.com/imgextra/i3/2598715035/O1CN01Gp38g31n44x38gJ5B_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i1/2598715035/O1CN011yDFjO1n44xBaB7rR_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i3/2598715035/O1CN010Wd9jB1n44wwZOVk6_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i2/2598715035/O1CN01PIQvXG1n44x6EbPtR_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i2/2598715035/O1CN01puET5n1n44xDUXFrL_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i4/2598715035/O1CN01w281af1n44xEvxcWL_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i4/2598715035/O1CN01bxm6zZ1n44xAPMw8C_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i4/2598715035/O1CN01Z6AK2z1n44x94oCsu_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i2/2598715035/O1CN01Z8Qgss1n44xDeGnMA_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i2/2598715035/O1CN016TI3Ce1n44x388TFu_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i4/2598715035/O1CN01Ouv67J1n44xBfrNm9_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i4/2598715035/O1CN01F6BBdp1n44xAqerS1_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i3/2598715035/O1CN014XmQyd1n44x1ZhkNY_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i3/2598715035/O1CN01G4fRlX1n44xBfrRvW_!!2598715035.jpg",
?? ??? ??? ?"http://img.alicdn.com/imgextra/i3/2598715035/O1CN01G5LbR21n44x3qnMh5_!!2598715035.jpg"
?? ??? ?],
?? ??? ?"item_imgs": [
?? ??? ??? ?{
?? ??? ??? ??? ?"url": "//img.alicdn.com/imgextra/i1/2598715035/O1CN01oDTdWz1n44xm0QCtf_!!0-item_pic.jpg"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"url": "//img.alicdn.com/imgextra/i3/2598715035/O1CN01vHCgJf1n44xFWtVnn_!!2598715035.jpg"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"url": "//img.alicdn.com/imgextra/i4/2598715035/O1CN01VKNvZg1n44xFWvj3K_!!2598715035.jpg"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"url": "//img.alicdn.com/imgextra/i1/2598715035/O1CN01hVEUVx1n44xEgbBbk_!!2598715035.jpg"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"url": "//img.alicdn.com/imgextra/i3/2598715035/O1CN01JoLjk51n44x5rux9n_!!2598715035.jpg"
?? ??? ??? ?}
?? ??? ?],
?? ??? ?"item_weight": "",
?? ??? ?"item_size": "",
?? ??? ?"location": "浙江杭州",
?? ??? ?"post_fee": 0,
?? ??? ?"express_fee": null,
?? ??? ?"ems_fee": "",
?? ??? ?"shipping_to": "",
?? ??? ?"has_discount": "true",
?? ??? ?"video": [],
?? ??? ?"is_virtual": "",
?? ??? ?"sample_id": "",
?? ??? ?"is_promotion": "true",
?? ??? ?"props_name": "20509:28314:尺碼:S (Gigi穿);20509:28315:尺碼:M;20509:28316:尺碼:L;1627207:28338:顏色分類:藍(lán)色 現(xiàn)貨;1627207:384506182:顏色分類:藍(lán)色 預(yù)售 7-14工作日",
?? ??? ?"prop_imgs": {
?? ??? ??? ?"prop_img": [
?? ??? ??? ??? ?{
?? ??? ??? ??? ??? ?"properties": "1627207:28338",
?? ??? ??? ??? ??? ?"url": "//img.alicdn.com/imgextra/i3/2598715035/O1CN01JoLjk51n44x5rux9n_!!2598715035.jpg"
?? ??? ??? ??? ?},
?? ??? ??? ??? ?{
?? ??? ??? ??? ??? ?"properties": "1627207:384506182",
?? ??? ??? ??? ??? ?"url": "//img.alicdn.com/imgextra/i3/2598715035/O1CN01JoLjk51n44x5rux9n_!!2598715035.jpg"
?? ??? ??? ??? ?}
?? ??? ??? ?]
?? ??? ?},
?? ??? ?"property_alias": "",
?? ??? ?"props": [
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "品牌",
?? ??? ??? ??? ?"value": "La lune Du ciel"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "適用年齡",
?? ??? ??? ??? ?"value": "18-24周歲"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "尺碼",
?? ??? ??? ??? ?"value": "S,M,L"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "圖案",
?? ??? ??? ??? ?"value": "純色"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "風(fēng)格",
?? ??? ??? ??? ?"value": "通勤"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "領(lǐng)型",
?? ??? ??? ??? ?"value": "圓領(lǐng)"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "腰型",
?? ??? ??? ??? ?"value": "高腰"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "衣門襟",
?? ??? ??? ??? ?"value": "套頭"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "顏色分類",
?? ??? ??? ??? ?"value": "藍(lán)色,藍(lán)色 預(yù)售"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "袖型",
?? ??? ??? ??? ?"value": "常規(guī)"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "組合形式",
?? ??? ??? ??? ?"value": "單件"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "裙型",
?? ??? ??? ??? ?"value": "A字裙"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "年份季節(jié)",
?? ??? ??? ??? ?"value": "2022年夏季"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "袖長",
?? ??? ??? ??? ?"value": "無袖"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "裙長",
?? ??? ??? ??? ?"value": "短裙"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "流行元素/工藝",
?? ??? ??? ??? ?"value": "拉鏈"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "款式",
?? ??? ??? ??? ?"value": "其他/other"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "廓形",
?? ??? ??? ??? ?"value": "A型"
?? ??? ??? ?},
?? ??? ??? ?{
?? ??? ??? ??? ?"name": "材質(zhì)成分",
?? ??? ??? ??? ?"value": "其他材質(zhì)"
?? ??? ??? ?}
?? ??? ?],
?? ??? ?"total_sold": "464",
?? ??? ?"skus": {
?? ??? ??? ?"sku": [
?? ??? ??? ??? ?{
?? ??? ??? ??? ??? ?"price": "322",
?? ??? ??? ??? ??? ?"total_price": 0,
?? ??? ??? ??? ??? ?"orginal_price": "322",
?? ??? ??? ??? ??? ?"properties": "20509:28314;1627207:28338",
?? ??? ??? ??? ??? ?"properties_name": "20509:28314:尺碼:S (Gigi穿);1627207:28338:顏色分類:藍(lán)色 現(xiàn)貨",
?? ??? ??? ??? ??? ?"quantity": "0",
?? ??? ??? ??? ??? ?"sku_id": "5036213307445"
?? ??? ??? ??? ?},
?? ??? ??? ??? ?{
?? ??? ??? ??? ??? ?"price": "322",
?? ??? ??? ??? ??? ?"total_price": 0,
?? ??? ??? ??? ??? ?"orginal_price": "322",
?? ??? ??? ??? ??? ?"properties": "20509:28315;1627207:28338",
?? ??? ??? ??? ??? ?"properties_name": "20509:28315:尺碼:M;1627207:28338:顏色分類:藍(lán)色 現(xiàn)貨",
?? ??? ??? ??? ??? ?"quantity": "0",
?? ??? ??? ??? ??? ?"sku_id": "5036213307446"
?? ??? ??? ??? ?},
?? ??? ??? ??? ?{
?? ??? ??? ??? ??? ?"price": "322",
?? ??? ??? ??? ??? ?"total_price": 0,
?? ??? ??? ??? ??? ?"orginal_price": "322",
?? ??? ??? ??? ??? ?"properties": "20509:28316;1627207:28338",
?? ??? ??? ??? ??? ?"properties_name": "20509:28316:尺碼:L;1627207:28338:顏色分類:藍(lán)色 現(xiàn)貨",
?? ??? ??? ??? ??? ?"quantity": "0",
?? ??? ??? ??? ??? ?"sku_id": "5036213307447"
?? ??? ??? ??? ?},
?? ??? ??? ??? ?{
?? ??? ??? ??? ??? ?"price": "322",
?? ??? ??? ??? ??? ?"total_price": 0,
?? ??? ??? ??? ??? ?"orginal_price": "322",
?? ??? ??? ??? ??? ?"properties": "20509:28314;1627207:384506182",
?? ??? ??? ??? ??? ?"properties_name": "20509:28314:尺碼:S (Gigi穿);1627207:384506182:顏色分類:藍(lán)色 預(yù)售 7-14工作日",
?? ??? ??? ??? ??? ?"quantity": "200",
?? ??? ??? ??? ??? ?"sku_id": "5036213307448"
?? ??? ??? ??? ?},
?? ??? ??? ??? ?{
?? ??? ??? ??? ??? ?"price": "322",
?? ??? ??? ??? ??? ?"total_price": 0,
?? ??? ??? ??? ??? ?"orginal_price": "322",
?? ??? ??? ??? ??? ?"properties": "20509:28315;1627207:384506182",
?? ??? ??? ??? ??? ?"properties_name": "20509:28315:尺碼:M;1627207:384506182:顏色分類:藍(lán)色 預(yù)售 7-14工作日",
?? ??? ??? ??? ??? ?"quantity": "200",
?? ??? ??? ??? ??? ?"sku_id": "5036213307449"
?? ??? ??? ??? ?},
?? ??? ??? ??? ?{
?? ??? ??? ??? ??? ?"price": "322",
?? ??? ??? ??? ??? ?"total_price": 0,
?? ??? ??? ??? ??? ?"orginal_price": "322",
?? ??? ??? ??? ??? ?"properties": "20509:28316;1627207:384506182",
?? ??? ??? ??? ??? ?"properties_name": "20509:28316:尺碼:L;1627207:384506182:顏色分類:藍(lán)色 預(yù)售 7-14工作日",
?? ??? ??? ??? ??? ?"quantity": "200",
?? ??? ??? ??? ??? ?"sku_id": "5036213307450"
?? ??? ??? ??? ?}
?? ??? ??? ?]
?? ??? ?},
?? ??? ?"seller_id": "2598715035",
?? ??? ?"sales": 1000,
?? ??? ?"shop_id": "365109630",
?? ??? ?"props_list": {
?? ??? ??? ?"20509:28314": "尺碼:S (Gigi穿)",
?? ??? ??? ?"20509:28315": "尺碼:M",
?? ??? ??? ?"20509:28316": "尺碼:L",
?? ??? ??? ?"1627207:28338": "顏色分類:藍(lán)色 現(xiàn)貨",
?? ??? ??? ?"1627207:384506182": "顏色分類:藍(lán)色 預(yù)售 7-14工作日"
?? ??? ?},
?? ??? ?"seller_info": {
?? ??? ??? ?"nick": "莫莫莫莫莫0327",
?? ??? ??? ?"item_score": "4.7 ",
?? ??? ??? ?"score_p": "4.8 ",
?? ??? ??? ?"delivery_score": "4.8 ",
?? ??? ??? ?"shop_type": "C",
?? ??? ??? ?"user_num_id": "2598715035",
?? ??? ??? ?"sid": "365109630",
?? ??? ??? ?"title": "LaLuneDuCiel",
?? ??? ??? ?"zhuy": "https://shop365109630.taobao.com/",
?? ??? ??? ?"shop_name": "LaLuneDuCiel"
?? ??? ?},
?? ??? ?"tmall": false,
?? ??? ?"error": "",
?? ??? ?"warning": "",
?? ??? ?"url_log": [],
?? ??? ?"fav_count": "8426",
?? ??? ?"fans_count": "80.1萬",
?? ??? ?"freight": "快遞: 快遞包郵",
?? ??? ?"props_imgs": {
?? ??? ??? ?"prop_img": [
?? ??? ??? ??? ?{
?? ??? ??? ??? ??? ?"properties": "1627207:28338",
?? ??? ??? ??? ??? ?"url": "//img.alicdn.com/imgextra/i3/2598715035/O1CN01JoLjk51n44x5rux9n_!!2598715035.jpg"
?? ??? ??? ??? ?},
?? ??? ??? ??? ?{
?? ??? ??? ??? ??? ?"properties": "1627207:384506182",
?? ??? ??? ??? ??? ?"url": "//img.alicdn.com/imgextra/i3/2598715035/O1CN01JoLjk51n44x5rux9n_!!2598715035.jpg"
?? ??? ??? ??? ?}
?? ??? ??? ?]
?? ??? ?},
?? ??? ?"_ddf": "xdl",
?? ??? ?"promo_type": null,
?? ??? ?"props_img": {
?? ??? ??? ?"1627207:28338": "//img.alicdn.com/imgextra/i3/2598715035/O1CN01JoLjk51n44x5rux9n_!!2598715035.jpg",
?? ??? ??? ?"1627207:384506182": "//img.alicdn.com/imgextra/i3/2598715035/O1CN01JoLjk51n44x5rux9n_!!2598715035.jpg"
?? ??? ?},
?? ??? ?"format_check": "ok",
?? ??? ?"shop_item": [],
?? ??? ?"relate_items": []
?? ?},
?? ?"error": "",
?? ?"secache": "a3f9a2a4bd5205e902da94b38f9b9f03",
?? ?"secache_time": 1659315843,
?? ?"secache_date": "2022-08-01 09:04:03",
?? ?"translate_status": "",
?? ?"translate_time": 0,
?? ?"language": {
?? ??? ?"default_lang": "cn",
?? ??? ?"current_lang": "cn"
?? ?},
?? ?"reason": "",
?? ?"error_code": "0000",
?? ?"cache": 0,
?? ?"api_info": "today:16 max:10100 all[31=16+4+11];expires:2030-12-31",
?? ?"execution_time": "1.743",
?? ?"server_time": "Beijing/2022-08-01 09:04:03",
?? ?"client_ip": "106.6.35.159",
?? ?"call_args": {
?? ??? ?"num_iid": "676155064706",
?? ??? ?"is_promotion": "1"
?? ?},
?? ?"api_type": "taobao",
?? ?"translate_language": "zh-CN",
?? ?"translate_engine": "google_new",
?? ?"server_memory": "0.94MB",
?? ?"request_id": "gw-4.62e7268192a57",
?? ?"last_id": "1119431559"
}?
總結(jié)
以上是生活随笔為你收集整理的淘宝开放接口api分享的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JavaScript常见的网页特效(元素
- 下一篇: ListView优化方案及其原理