阳光沙滩商城的API文档
baseUrl:
https://api.sunofbeaches.com/shop
数据格式:json
发现
获取发现页的分类
- 方法:get
- 参数:无
- 接口:/discovery/categories
- 返回:
{
"success": true,
"code": 10000,
"message": "获取分类成功.",
"data": [
{
"id": 9660,
"title": "推荐"
},
{
"id": 9649,
"title": "食品"
}
]
}
字段含义:
- id 分类的id,也就是materialId
- title 分类名称
根据发现页分类ID获取分类内容
- 方法:get
- 参数:无
- 接口:/discovery/{materialId}/{page}
- materialId 分类id
- page 页码
- 返回:
{
"success": true,
"code": 10000,
"message": "获取成功.",
"data": [
{
"category_id": 50013196,
"category_name": null,
"click_url": "//s.click.taobao.com/t?e=m%3D2%26s%3DhXqHdcVPA31w4vFB6t2Z2ueEDrYVVa64Dne87AjQPk9yINtkUhsv0BcvKH%2BTjMa38aSx7PqjIIZm5nS0VR3oT0KAZCke%2BMGJxC%2FP4%2FZfPFbcQmwDRwHnn1oN8CPq4PKMZiqtwk9j5QPwdDmZ4my9rNxg%2BOuc502%2FxKQVLSayBBekOrGae4DS5oO2CiNcVz0Ken9V8QqUE14KAPbaLraL5LtdhRLMp6nxY4S2k1mJ%2BZU%3D&scm=1007.19011.125573.0_9660&pvid=9e141d3e-367c-445e-b2dd-164409bc01e7&app_pvid=59590_11.8.57.194_76981_1575265017272&ptl=floorId:9660;originalFloorId:9660;pvid:9e141d3e-367c-445e-b2dd-164409bc01e7;app_pvid:59590_11.8.57.194_76981_1575265017272&union_lens=lensId%3AOPT%401575265017%400b0839c2_0d6c_16ec51c9e3e_ba02%4001",
"commission_rate": "6.0",
"coupon_amount": 50,
"coupon_click_url": "//uland.taobao.com/coupon/edetail?e=jTRK9ngpcrwNfLV8niU3R5TgU2jJNKOfU1BGIDN741G0%2Bc5Gzwi6geKSfLX1rbqQLGbJes29FQq2QeBl4W2u75z0DDzD1ZdVKMOj3xTK3tZKuy%2B0WAVbvPskU%2Fn7vZ%2Fe3KE7Ta9aMuRNo1KEDehNsJ4dcb7gMzr8o%2Be84lu5p3EGQASttHIRqUS8oXsFw3XFyDMraI2cBGPGcv8Nne7cgq5OaBGcL9GSTA0FRtOwCuw%3D&&app_pvid=59590_11.8.57.194_76981_1575265017272&ptl=floorId:9660;app_pvid:59590_11.8.57.194_76981_1575265017272;tpp_pvid:9e141d3e-367c-445e-b2dd-164409bc01e7&union_lens=lensId%3AOPT%401575265017%400b0839c2_0d6c_16ec51c9e3e_ba02%4001",
"coupon_end_time": "1575561599000",
"coupon_info": null,
"coupon_remain_count": 97000,
"coupon_share_url": "//uland.taobao.com/coupon/edetail?e=jTRK9ngpcrwNfLV8niU3R5TgU2jJNKOfU1BGIDN741G0%2Bc5Gzwi6geKSfLX1rbqQLGbJes29FQq2QeBl4W2u75z0DDzD1ZdVKMOj3xTK3tZKuy%2B0WAVbvPskU%2Fn7vZ%2Fe3KE7Ta9aMuRNo1KEDehNsJ4dcb7gMzr8o%2Be84lu5p3EGQASttHIRqUS8oXsFw3XFyDMraI2cBGPGcv8Nne7cgq5OaBGcL9GSTA0FRtOwCuw%3D&&app_pvid=59590_11.8.57.194_76981_1575265017272&ptl=floorId:9660;app_pvid:59590_11.8.57.194_76981_1575265017272;tpp_pvid:9e141d3e-367c-445e-b2dd-164409bc01e7&union_lens=lensId%3AOPT%401575265017%400b0839c2_0d6c_16ec51c9e3e_ba02%4001",
"coupon_start_fee": "79.0",
"coupon_start_time": "1575216000000",
"coupon_total_count": 100000,
"item_description": "全面升级 加绒加厚 更有加长款满足个高的你",
"item_id": 560264222655,
"level_one_category_id": 16,
"level_one_category_name": "女装/女士精品",
"nick": "依牧绒旗舰店",
"pict_url": "//gw.alicdn.com/bao/uploaded/i4/2131383559/O1CN01DMHSl01cA4AO3d5gI_!!0-item_pic.jpg",
"seller_id": 2131383559,
"shop_title": "依牧绒旗舰店",
"small_images": {
"string": [
"//img.alicdn.com/i2/2131383559/O1CN01xvHcmS1cA44x3e8Ag_!!2131383559.jpg",
"//img.alicdn.com/i3/2131383559/TB2OuVLjWagSKJjy0FaXXb0dpXa_!!2131383559.jpg",
"//img.alicdn.com/i1/2131383559/TB23CrcnYsTMeJjSsziXXcdwXXa_!!2131383559.jpg",
"//img.alicdn.com/i3/2131383559/TB2uh5.nYwTMeJjSszfXXXbtFXa_!!2131383559.jpg"
]
},
"title": "2019秋冬马甲羽绒棉女加绒保暖学生马夹棉服外套女棉衣面包服背心",
"user_type": 1,
"volume": 30804,
"zk_final_price": "79.9"
},
{
"category_id": 50019001,
"category_name": null,
"click_url": "//s.click.taobao.com/t?e=m%3D2%26s%3DN8yGtdbUXiVw4vFB6t2Z2ueEDrYVVa64Dne87AjQPk9yINtkUhsv0BcvKH%2BTjMa38aSx7PqjIIZm5nS0VR3oT0KAZCke%2BMGJxC%2FP4%2FZfPFbcQmwDRwHnn1oN8CPq4PKMZiqtwk9j5QNerBM5mSXVLZIQa6qg9eLV0a3u46RXbtekOrGae4DS5oO2CiNcVz0KPqWqRPDXyNNpqoxKosq%2FMbtdhRLMp6nxY4S2k1mJ%2BZU%3D&scm=1007.19011.125573.0_9660&pvid=9e141d3e-367c-445e-b2dd-164409bc01e7&app_pvid=59590_11.8.57.194_76981_1575265017272&ptl=floorId:9660;originalFloorId:9660;pvid:9e141d3e-367c-445e-b2dd-164409bc01e7;app_pvid:59590_11.8.57.194_76981_1575265017272&union_lens=lensId%3AOPT%401575265017%400b0839c2_0d6c_16ec51c9e3f_ba08%4001",
"commission_rate": "9.0",
"coupon_amount": 20,
"coupon_click_url": "//uland.taobao.com/coupon/edetail?e=QQzniHg2%2BooNfLV8niU3R5TgU2jJNKOfU1BGIDN741G0%2Bc5Gzwi6geKSfLX1rbqQLGbJes29FQq2QeBl4W2u7xytS5OGw29olRKZ8DI0LPZKuy%2B0WAVbvPskU%2Fn7vZ%2Fe3KE7Ta9aMuRNo1KEDehNsJ4dcb7gMzr8o%2Be84lu5p3EGQASttHIRqWOUJeY8%2FPSU5VEyZiiJcVy4Q6eh0tBC8a5OaBGcL9GSTA0FRtOwCuw%3D&&app_pvid=59590_11.8.57.194_76981_1575265017272&ptl=floorId:9660;app_pvid:59590_11.8.57.194_76981_1575265017272;tpp_pvid:9e141d3e-367c-445e-b2dd-164409bc01e7&union_lens=lensId%3AOPT%401575265017%400b0839c2_0d6c_16ec51c9e3f_ba08%4001",
"coupon_end_time": "1575475199000",
"coupon_info": null,
"coupon_remain_count": 99000,
"coupon_share_url": "//uland.taobao.com/coupon/edetail?e=QQzniHg2%2BooNfLV8niU3R5TgU2jJNKOfU1BGIDN741G0%2Bc5Gzwi6geKSfLX1rbqQLGbJes29FQq2QeBl4W2u7xytS5OGw29olRKZ8DI0LPZKuy%2B0WAVbvPskU%2Fn7vZ%2Fe3KE7Ta9aMuRNo1KEDehNsJ4dcb7gMzr8o%2Be84lu5p3EGQASttHIRqWOUJeY8%2FPSU5VEyZiiJcVy4Q6eh0tBC8a5OaBGcL9GSTA0FRtOwCuw%3D&&app_pvid=59590_11.8.57.194_76981_1575265017272&ptl=floorId:9660;app_pvid:59590_11.8.57.194_76981_1575265017272;tpp_pvid:9e141d3e-367c-445e-b2dd-164409bc01e7&union_lens=lensId%3AOPT%401575265017%400b0839c2_0d6c_16ec51c9e3f_ba08%4001",
"coupon_start_fee": "29.0",
"coupon_start_time": "1575216000000",
"coupon_total_count": 100000,
"item_description": "买1送1 买2送3",
"item_id": 590710941228,
"level_one_category_id": 50025705,
"level_one_category_name": "洗护清洁剂/卫生巾/纸/香薰",
"nick": "大末居家日用专营店",
"pict_url": "//gw.alicdn.com/bao/uploaded/i2/1881526428/O1CN01wUGVGL1xM4SAcwL9t_!!0-item_pic.jpg",
"seller_id": 1881526428,
"shop_title": "大末居家日用专营店",
"small_images": {
"string": [
"//img.alicdn.com/i4/1881526428/O1CN01ICyMUo1xM4SL4Rg8S_!!1881526428.jpg",
"//img.alicdn.com/i1/1881526428/O1CN01SkxFxs1xM4U6pr6CO_!!1881526428.jpg",
"//img.alicdn.com/i2/1881526428/O1CN017aRJGB1xM4TyHZz0M_!!1881526428.jpg",
"//img.alicdn.com/i3/1881526428/O1CN01bxnKyp1xM4TzzZZ1S_!!1881526428.jpg"
]
},
"title": "活氧彩漂白剂彩色衣物还原衣服通用彩票粉家用彩漂粉去渍去黄增白",
"user_type": 1,
"volume": 63107,
"zk_final_price": "29.9"
}
]
}
字段含义:
生成淘口令
生成淘口令,淘口令就是复制以后打开淘宝会跳转到特定的界面
- 方法:post
- 接口:/tpwd
- body字段:url 要生成淘口令的url地址(必填)
- body字段:title 内容标题 (非必填)
- 返回:
{
"success": true,
"code": 10000,
"message": "淘宝口令构建成功!",
"data": {
"tbk_tpwd_create_response": {
"data": {
"model": "¥xhQoYC66sMX¥"
},
"request_id": "64jzpdn6m026"
}
}
}
model 口令
获取相关商品
- 方法:post
- 接口:/goods/relative
- 参数:goodsId 商品ID(必填)
- 返回
{
"success": true,
"code": 10000,
"message": "获取相关商品成功.",
"data": {
"tbk_item_recommend_get_response": {
"results": {
"n_tbk_item": [
{
"item_url": "https://item.taobao.com/item.htm?id=586409791994",
"num_iid": 586409791994,
"pict_url": "https://img.alicdn.com/tfscom/i1/850484481/O1CN01B5dq8Z1iyLGULHvUL_!!850484481.jpg",
"provcity": "浙江 杭州",
"reserve_price": "298.00",
"small_images": {
"string": [
"https://img.alicdn.com/tfscom/i3/850484481/O1CN01qFYkTC1iyLGTSLRkX_!!850484481.jpg",
"https://img.alicdn.com/tfscom/i4/850484481/O1CN01mwzVwu1iyLGVSpVqR_!!850484481.jpg",
"https://img.alicdn.com/tfscom/i3/850484481/O1CN01ADr7uK1iyLGTRyQHB_!!850484481.jpg",
"https://img.alicdn.com/tfscom/i3/850484481/O1CN0146mqNO1iyLGa2yLYD_!!850484481.jpg"
]
},
"title": "羽绒棉背心女士马夹外穿韩版加厚中长款宽松秋冬网红棉马甲外套潮",
"user_type": 0,
"zk_final_price": "65.00"
}
]
},
"request_id": "xss3clsdajh8"
}
}
}
搜索接口
- 方法:get
- 接口:/search
- 参数:page页码(必填)
- 参数:keyword 关键字(必填)
- 返回:
{
"success": true,
"code": 10000,
"message": "搜索成功.",
"data": {
"tbk_dg_material_optional_response": {
"result_list": {
"map_data": [
{
"category_id": 50011977,
"category_name": "洁面",
"commission_rate": "2106",
"commission_type": "MKT",
"coupon_amount": "50",
"coupon_end_time": "2019-12-06",
"coupon_id": "148d9d6ee22a40b8a9edf3cd9cca5bea",
"coupon_info": "满51.00元减50元",
"coupon_remain_count": 100000,
"coupon_share_url": "//uland.taobao.com/coupon/edetail?e=zR6oJv3HxYMNfLV8niU3RwXoB%2BDaBK5LQS0Flu%2FfbSp4QsdWMikAalrisGmre1Id522H2TxuqpJ0WI0w%2Fy1%2FUQBhsQBH6bPpnXTi95x%2F5EnCIALRMrUzmckbkW%2BkBhM2q2rZP7lt5W1ZLSj1nOXTTgH%2FlwNDrBX3bNt8v1hgCr6aTXmsSV3hf%2FMuEspq%2F3ISiJuCef6Q6GuOn7Sn8esaKgrE199RXvLx%2FjtLOxCEadVVbrKqp4Yn8g%3D%3D&&app_pvid=59590_11.132.118.131_591_1575278342678&ptl=floorId:2836;app_pvid:59590_11.132.118.131_591_1575278342678;tpp_pvid:100_11.9.3.155_1484_3811575278342682292&xId=5iX1bnfX3GSqpWopgYWlRorjJvZrmGQ8NzW5KyZnfJnORfB1V9ls6UFJGcxoDpW1ka4lVKA2dKjAUbI7OWUoWl&union_lens=lensId%3A0b847683_0cb4_16ec5e7f259_5cda",
"coupon_start_fee": "51.00",
"coupon_start_time": "2019-12-02",
"coupon_total_count": 100000,
"include_dxjh": "false",
"include_mkt": "true",
"info_dxjh": "{}",
"item_description": "深层清洁毛孔泡沫氨基酸控油洗面奶",
"item_id": 599642809504,
"item_url": "https://detail.tmall.com/item.htm?id=599642809504",
"level_one_category_id": 1801,
"level_one_category_name": "美容护肤/美体/精油",
"nick": "朴悦旗舰店",
"num_iid": 599642809504,
"pict_url": "https://img.alicdn.com/bao/uploaded/i1/2201504856387/O1CN01LaHjYm1x3IEtfPnUv_!!0-item_pic.jpg",
"presale_deposit": null,
"presale_end_time": 0,
"presale_start_time": 0,
"presale_tail_end_time": 0,
"presale_tail_start_time": 0,
"provcity": "浙江 温州",
"real_post_fee": "0.00",
"reserve_price": "368",
"seller_id": 2201504856387,
"shop_dsr": 49301,
"shop_title": "朴悦旗舰店",
"short_title": "朴悦玫瑰滋养女男士深层清洁洁面膏",
"small_images": {
"string": [
"https://img.alicdn.com/i3/2201504856387/O1CN01kErajQ1x3IEs6QDCx_!!2201504856387.jpg",
"https://img.alicdn.com/i4/2201504856387/O1CN01myeUW91x3IEt4FPET_!!2201504856387.jpg",
"https://img.alicdn.com/i3/2201504856387/O1CN01SsaMHx1x3IEuZbwan_!!2201504856387.jpg",
"https://img.alicdn.com/i3/2201504856387/O1CN0191Qbri1x3IEsKZ4Wk_!!2201504856387.jpg"
]
},
"title": "朴悦玫瑰滋养洁面膏女男士深层清洁毛孔泡沫洗面奶温和氨基酸控油",
"tk_total_commi": "610.06",
"tk_total_sales": "318",
"url": "//s.click.taobao.com/t?e=m%3D2%26s%3Dj%2B1spI3qz9kcQipKwQzePOeEDrYVVa64r4ll3HtqqoxyINtkUhsv0G7pUK386tCDyLijLsm%2Be5hm5nS0VR3oT0KAZCke%2BMGJxC%2FP4%2FZfPFbcQmwDRwHnn1oN8CPq4PKMSBaygToy7XlvKzaj8WgV5VhGKxHIVN7zskmx5kiO8DrXn%2F66GKkZXbj8Cm8j3o1mWS5Ua7R8sogUSYuZCqnQwioX879W%2Fg3McSpj5qSCmbA%3D&scm=null&pvid=100_11.9.3.155_1484_3811575278342682292&app_pvid=59590_11.132.118.131_591_1575278342678&ptl=floorId:2836;originalFloorId:2836;pvid:100_11.9.3.155_1484_3811575278342682292;app_pvid:59590_11.132.118.131_591_1575278342678&xId=5iX1bnfX3GSqpWopgYWlRorjJvZrmGQ8NzW5KyZnfJnORfB1V9ls6UFJGcxoDpW1ka4lVKA2dKjAUbI7OWUoWl&union_lens=lensId%3A0b847683_0cb4_16ec5e7f259_5cda",
"user_type": 1,
"volume": 507,
"white_image": "https://img.alicdn.com/bao/uploaded/O1CN01VOS2zo1x3IDkonPPM_!!2-item_pic.png",
"x_id": "5iX1bnfX3GSqpWopgYWlRorjJvZrmGQ8NzW5KyZnfJnORfB1V9ls6UFJGcxoDpW1ka4lVKA2dKjAUbI7OWUoWl",
"zk_final_price": "168",
"jdd_num": 0,
"jdd_price": null,
"oetime": null,
"ostime": null
},
{
"category_id": 50011977,
"category_name": "洁面",
"commission_rate": "1203",
"commission_type": "MKT",
"coupon_amount": "30",
"coupon_end_time": "2019-12-05",
"coupon_id": "87d2ebeb5685483986e6b330c21a7f5f",
"coupon_info": "满69.00元减30元",
"coupon_remain_count": 99929,
"coupon_share_url": "//uland.taobao.com/coupon/edetail?e=4XpygGwyFIkNfLV8niU3RwXoB%2BDaBK5LQS0Flu%2FfbSp4QsdWMikAalrisGmre1Id522H2TxuqpINesp7gn%2Be987OOaxnvQ0rnXTi95x%2F5EnCIALRMrUzmckbkW%2BkBhM2q2rZP7lt5W1ZLSj1nOXTTgH%2FlwNDrBX3bNt8v1hgCr7w8JifyEUHj7SIFlZWv%2BMI%2FZySoZmG4hx%2FEcO4WUgotHCshnSxXxfjTTiZb6qxNoeie%2FpBy9wBFg%3D%3D&&app_pvid=59590_11.132.118.131_591_1575278342678&ptl=floorId:2836;app_pvid:59590_11.132.118.131_591_1575278342678;tpp_pvid:100_11.9.3.155_1484_3811575278342682292&xId=iZlXNaxgCiWNr6zR3sN52oc9s4EG7gDHrYxpBFYksK25jq0sCdlRB2g1yTpku35H97o7iqcsqO1OINPMP1p2zD&union_lens=lensId%3A0b847683_0cb4_16ec5e7f259_5cdb",
"coupon_start_fee": "69.00",
"coupon_start_time": "2019-11-29",
"coupon_total_count": 100000,
"include_dxjh": "true",
"include_mkt": "true",
"info_dxjh": "{}",
"item_description": "除螨净肤 卸妆洗护 季德胜保密配方用心传承",
"item_id": 573698005083,
"item_url": "https://detail.tmall.com/item.htm?id=573698005083",
"level_one_category_id": 1801,
"level_one_category_name": "美容护肤/美体/精油",
"nick": "季德胜旗舰店",
"num_iid": 573698005083,
"pict_url": "https://img.alicdn.com/bao/uploaded/i2/2479351423/O1CN01azU5j71MNmB2KEAbf_!!0-item_pic.jpg",
"presale_deposit": null,
"presale_end_time": 0,
"presale_start_time": 0,
"presale_tail_end_time": 0,
"presale_tail_start_time": 0,
"provcity": "江苏 南通",
"real_post_fee": "0.00",
"reserve_price": "119",
"seller_id": 2479351423,
"shop_dsr": 48553,
"shop_title": "季德胜旗舰店",
"short_title": "季德胜百部草本氨基酸除螨女洗面奶",
"small_images": {
"string": [
"https://img.alicdn.com/i3/2479351423/O1CN01aqnqmg1MNmAeqoEIO_!!2479351423.jpg",
"https://img.alicdn.com/i1/2479351423/O1CN01GWrzUt1MNm4fBjnB1_!!2479351423.jpg",
"https://img.alicdn.com/i4/2479351423/O1CN01eb52DN1MNm8k6ZjZw_!!2479351423.jpg",
"https://img.alicdn.com/i4/2479351423/O1CN01SIgIB61MNm9aBnRxX_!!2479351423.jpg"
]
},
"title": "季德胜百部草本氨基酸除螨洗面奶女祛痘清洁控油去螨虫男士洁面乳",
"tk_total_commi": "243188",
"tk_total_sales": "8780",
"url": "//s.click.taobao.com/t?e=m%3D2%26s%3DgUiLQU7%2FQLgcQipKwQzePOeEDrYVVa64r4ll3HtqqoxyINtkUhsv0G7pUK386tCDyLijLsm%2Be5hm5nS0VR3oT0KAZCke%2BMGJxC%2FP4%2FZfPFbcQmwDRwHnn1oN8CPq4PKMSBaygToy7XkE0DTilvyypEZ2r7aDcEE%2BjB7r%2B0aDb9HA690f%2B0EVnh1zIaJvETSGYckP0VpqcrHjM7YyINweHVINgCELUUjKxiXvDf8DaRs%3D&scm=null&pvid=100_11.9.3.155_1484_3811575278342682292&app_pvid=59590_11.132.118.131_591_1575278342678&ptl=floorId:2836;originalFloorId:2836;pvid:100_11.9.3.155_1484_3811575278342682292;app_pvid:59590_11.132.118.131_591_1575278342678&xId=iZlXNaxgCiWNr6zR3sN52oc9s4EG7gDHrYxpBFYksK25jq0sCdlRB2g1yTpku35H97o7iqcsqO1OINPMP1p2zD&union_lens=lensId%3A0b847683_0cb4_16ec5e7f259_5cdb",
"user_type": 1,
"volume": 9183,
"white_image": "https://img.alicdn.com/bao/uploaded/TB2nSl6mA7mBKNjSZFyXXbydFXa_!!2479351423.png",
"x_id": "iZlXNaxgCiWNr6zR3sN52oc9s4EG7gDHrYxpBFYksK25jq0sCdlRB2g1yTpku35H97o7iqcsqO1OINPMP1p2zD",
"zk_final_price": "69.9",
"jdd_num": 0,
"jdd_price": null,
"oetime": null,
"ostime": null
}
]
},
"total_results": 307087,
"request_id": "e3698tip080w"
}
}
}
特惠接口
- 方法:get
- 接口:/onSell/{page}
- page页码(必填)
- 参数:无
- 返回
{
"success": true,
"code": 10000,
"message": "获取特惠成功.",
"data": {
"tbk_dg_optimus_material_response": {
"is_default": "false",
"result_list": {
"map_data": [
{
"category_id": 50009211,
"category_name": null,
"click_url": "//s.click.taobao.com/t?e=m%3D2%26s%3D9biiuNCEs2lw4vFB6t2Z2ueEDrYVVa64Dne87AjQPk9yINtkUhsv0AwIMIR498vZNnGHDv9u8g5m5nS0VR3oT0KAZCke%2BMGJxC%2FP4%2FZfPFbcQmwDRwHnn1oN8CPq4PKMZiqtwk9j5QNerBM5mSXVLdYGR5XowAWssShUjNLx%2BdusJxCFYEy%2FnzFmH8P00Bp%2FSdChf3U3iXY%2B5QowgvHJPA%3D%3D&scm=1007.15348.115058.0_3756&pvid=7a2d1a71-4355-4f43-8481-a11efc88d87c&app_pvid=59590_11.132.118.137_598_1607784789293&ptl=floorId:3756;originalFloorId:3756;pvid:7a2d1a71-4355-4f43-8481-a11efc88d87c;app_pvid:59590_11.132.118.137_598_1607784789293&union_lens=lensId%3AMAPI%401607784789%407a2d1a71-4355-4f43-8481-a11efc88d87c_587128169764%401",
"commission_rate": "9.0",
"coupon_amount": 10,
"coupon_click_url": "//uland.taobao.com/coupon/edetail?e=LAAI0BURfKYNfLV8niU3R5TgU2jJNKOfNNtsjZw%2F%2FoLlBy0%2FNOvWo9LDJQhMgKWk%2BIEAvHjYUeRU%2BGq5uvbHnsuRTiT9oEhVZV8pr6FWc0MDY5xlXkOeMFgGZ9ZhjSjHmMHpNfYdHdBwWfUaU7r%2BdMHdg8oYVc%2FsB3IEI%2FtGZdTSBjM3vXy9T041UyeSsrqpDNJ7jXMyFwklM1ZJHcLCJg%3D%3D&&app_pvid=59590_11.132.118.137_598_1607784789293&ptl=floorId:3756;app_pvid:59590_11.132.118.137_598_1607784789293;tpp_pvid:7a2d1a71-4355-4f43-8481-a11efc88d87c&union_lens=lensId%3AMAPI%401607784789%407a2d1a71-4355-4f43-8481-a11efc88d87c_587128169764%401",
"coupon_end_time": "1608220799000",
"coupon_info": null,
"coupon_remain_count": 49477,
"coupon_share_url": "//uland.taobao.com/coupon/edetail?e=LAAI0BURfKYNfLV8niU3R5TgU2jJNKOfNNtsjZw%2F%2FoLlBy0%2FNOvWo9LDJQhMgKWk%2BIEAvHjYUeRU%2BGq5uvbHnsuRTiT9oEhVZV8pr6FWc0MDY5xlXkOeMFgGZ9ZhjSjHmMHpNfYdHdBwWfUaU7r%2BdMHdg8oYVc%2FsB3IEI%2FtGZdTSBjM3vXy9T041UyeSsrqpDNJ7jXMyFwklM1ZJHcLCJg%3D%3D&&app_pvid=59590_11.132.118.137_598_1607784789293&ptl=floorId:3756;app_pvid:59590_11.132.118.137_598_1607784789293;tpp_pvid:7a2d1a71-4355-4f43-8481-a11efc88d87c&union_lens=lensId%3AMAPI%401607784789%407a2d1a71-4355-4f43-8481-a11efc88d87c_587128169764%401",
"coupon_start_fee": "39.0",
"coupon_start_time": "1607616000000",
"coupon_total_count": 50000,
"item_description": "智能数显 大容量 快输出 小巧便携 可上飞机",
"item_id": 587128169764,
"level_one_category_id": 50008090,
"level_one_category_name": "3C数码配件",
"nick": "耐时旗舰店",
"pict_url": "//img.alicdn.com/bao/uploaded/i1/1620417126/O1CN01qprPxB22Vl0WCYqdL_!!0-item_pic.jpg",
"seller_id": 1620417126,
"shop_title": null,
"small_images": {
"string": [
"//img.alicdn.com/i4/1620417126/O1CN01UgLSwk22VkxmlyCVR_!!0-item_pic.jpg",
"//img.alicdn.com/i2/1620417126/O1CN0162lfIS22VkrSKYDXg_!!1620417126.jpg",
"//img.alicdn.com/i1/1620417126/O1CN01c69sps22VkxPxWAGO_!!1620417126.jpg",
"//img.alicdn.com/i4/1620417126/O1CN01OkQzU522VkrWiL9PW_!!1620417126.jpg"
]
},
"title": "耐时充电宝超薄小巧便携快充闪充适用于vivo华为oppo苹果充电宝",
"user_type": 1,
"volume": 1754,
"zk_final_price": "39.9"
}
]
},
"request_id": "5nypm8p8ex8z"
}
}
}
精选
精选分类
- 方法:get
- 接口:/recommend/categories
- 参数:无
- 返回
{
"success": true,
"code": 10000,
"message": "获取精选分类成功.",
"data": [
{
"type": 1,
"favorites_id": 19876595,
"favorites_title": "程序员必备"
},
{
"type": 1,
"favorites_id": 19876636,
"favorites_title": "办公室零食"
},
{
"type": 1,
"favorites_id": 19876637,
"favorites_title": "上班族早餐"
},
{
"type": 1,
"favorites_id": 19876649,
"favorites_title": "日用品"
},
{
"type": 1,
"favorites_id": 19902751,
"favorites_title": "电脑周边"
},
{
"type": 1,
"favorites_id": 19903201,
"favorites_title": "秋天必备"
}
]
}
有了id就可以根据id去获取到商品列表啦
精选内容
- 方法:get
- 接口:/recommend/categoryId
- categoryId 分类的id
- 参数:无
- 返回:
{
"success": true,
"code": 10000,
"message": "获取精选内容成功.",
"data": {
"tbk_uatm_favorites_item_get_response": {
"results": {
"favoriteId": 0,
"uatm_tbk_item": [
{
"click_url": "https://s.click.taobao.com/t?e=m%3D2%26s%3DQqgvXVwF4QAcQipKwQzePOeEDrYVVa64yK8Cckff7TXjf2vlNIV67lbA7kVj6DOjxeoNewupcd6YzwUb1bbXppZwHxYkBYTUeP8T%2BYUOOiuIOBqu0asPv%2F0jCkSDmD6DKe3%2FbelnU7chre9gvq5P3zKYVV1BId1rfp5HoTJX0vWplyh2W4e4BPxr1c6V5LsG1hjz2dNwkcRt%2ByMzJ8mpM%2Fe7B5ZkP8EjSdChf3U3iXY%2B5QowgvHJPA%3D%3D&unid=19902751&union_lens=lensId:0b012096_0c74_16ec657c76b_e230",
"coupon_click_url": "https://uland.taobao.com/coupon/edetail?e=TBIJTibAhO4GQASttHIRqQA9fN4MifAG7tS89T6GqASOeUcSvy%2FHYmF5qFnaO9996DeX2ucVKhvHjZlrd41oqDEL25HyNw0xJ4FRquMv%2FTtFRuNP9Tp9RQH%2FlwNDrBX3XYsE5g93lTYZao0HO%2FvX0w%3D%3D&union_lens=lensId:0b012096_0c74_16ec657c76b_e230",
"coupon_end_time": "2019-12-07",
"coupon_info": "满7元减5元",
"coupon_remain_count": 99635,
"coupon_start_time": "2019-12-01",
"coupon_total_count": 100000,
"event_end_time": "1970-01-01 00:00:00",
"event_start_time": "1970-01-01 00:00:00",
"item_url": "https://item.taobao.com/item.htm?id=595184094985",
"num_iid": 595184094985,
"pict_url": "https://img.alicdn.com/tfscom/i1/1744991291/O1CN01J58x6I1LPJqtM61gh_!!0-item_pic.jpg",
"reserve_price": "45.00",
"status": 1,
"title": "纳雷特原装正品适用 OPPO数据线闪充R9 R15 R11s R11 R11s plus R9s R7安卓手机原厂快充短充电器头线2米加长",
"tk_rate": "9.00",
"type": 4,
"user_type": 1,
"volume": 11450,
"zk_final_price": "10.90",
"zk_final_price_wap": "10.90"
}
]
},
"total_results": 26,
"request_id": "sa9tsfbr1uco"
}
}
}