乐趣区

关于电商:如何通过API接口获取淘宝商品评价列表

背景

商品评估作为用户口碑的重要体现,是很重要的数据,比方数据分析行业、淘客等都须要用到相干信息,然而官网个别又没有凋谢这些接口,怎么办?

解决方案

当初很多是通过爬虫获取数据,然而基本扛不住大量调用,不稳固,真能稳固获取了也不是个别人有能力去做的,加上淘宝变动频繁,防爬越来越严,技术难度和老本也越来越大,没有能力的也能够找第三方 api 提供商,方便快捷成本低

参考示例

{
    "code": 0,
    "data": {
        "allowInteract": "false",
        "canReport": "false",
        "feedAllCount": "91715",
        "feedAppendCount": "66",
        "feedMediaCount": "321",
        "feedPicCount": "320",
        "feedStoreCount": "0",
        "feedVideoCount": "8",
        "foldCount": "89920",
        "from": "search-rp",
        "latestSort": "true",
        "rateList": [
            {
                "allowComment": "false",
                "allowInteract": "true",
                "annoy": "0",
                "auctionNumId": "633336576687",
                "createTimeInterval": "28 分钟前",
                "creditLevel": "9",
                "feedPicList": [
                    {
                        "cover": "false",
                        "fileId": "1836507375379929099",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i3/0/O1CN01oh5MYQ2BfDqDrhURn_!!0-rate.jpg"
                    }
                ],
                "feedPicPathList": ["//img.alicdn.com/imgextra/i3/0/O1CN01oh5MYQ2BfDqDrhURn_!!0-rate.jpg"],
                "feedback": "有了这个收纳盒,书桌整洁了不少,疫情期间通过几番周折,不过卖家服务还是不错的",
                "feedbackDate": "2022-04-18",
                "goldUser": "false",
                "hasDetail": "true",
                "headPicUrl": "//wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vFkSPFHuXH*evF8LPmHSXH7-MmZhPGkuPCILMHQSvF*eXHZIM87hMFQYO8cWOmHb&width=70&height=70&type=sns",
                "id": "1172653518805",
                "own": "false",
                "rateType": "1",
                "repeatBusiness": "false",
                "reply": "","share": {"shareCover":"//img.alicdn.com/imgextra/i3/0/O1CN01oh5MYQ2BfDqDrhURn_!!0-rate.jpg","shareSupport":"true","shareURL":"//h5.m.taobao.com/user_comment/comment_detail.html?rateId=1172653518805&sellerId=MvmQ4MFNGXFx0XHxSMF*evHRIOF8GPC9zv0xLPHk4vFgT&isEncode=true"},"skuMap": {" 规格 ":" 高价抢购,欢送货比三家 "," 色彩分类 ":" 特大号书本收纳盒【1 个装】[ 可放 A4、高中课本]"},"structTagEndSize":"0","userId":"0","userMark":"d+CjQqLoy8V2JJjCu6AMJ/+BohP1BbuTyLGRBsiQsJg=","userNick":" 陈 **9","userStar":"7","userStarPic":"https://img.alicdn.com/tfs/TB1pWxTzEz1gK0jSZLeXXb9kVXa-360-78.png"
            },
            {
                "allowComment": "false",
                "allowInteract": "true",
                "annoy": "0",
                "auctionNumId": "633336576687",
                "createTimeInterval": "21 小时前",
                "creditLevel": "10",
                "feedPicList": [
                    {
                        "cover": "false",
                        "fileId": "1287607368768994567",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i1/0/O1CN01pymSua1X7FpnEQl4Z_!!0-tbbala.jpg"
                    },
                    {
                        "cover": "false",
                        "fileId": "1290207376328747705",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i4/0/O1CN01deZiRO1XJA8NsimaX_!!0-tbbala.jpg"
                    },
                    {
                        "cover": "false",
                        "fileId": "1417107362895440133",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i1/0/O1CN01QRFYmz1ggMjoL2RYT_!!0-tbbala.jpg"
                    }
                ],
                "feedPicPathList": [
                    "//img.alicdn.com/imgextra/i1/0/O1CN01pymSua1X7FpnEQl4Z_!!0-tbbala.jpg",
                    "//img.alicdn.com/imgextra/i4/0/O1CN01deZiRO1XJA8NsimaX_!!0-tbbala.jpg",
                    "//img.alicdn.com/imgextra/i1/0/O1CN01QRFYmz1ggMjoL2RYT_!!0-tbbala.jpg"
                ],
                "feedback": "不错的收纳盒,桌面整顿一下好多了",
                "feedbackDate": "2022-04-17",
                "goldUser": "false",
                "hasDetail": "true",
                "headPicUrl": "//wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vGNuOHcWv88YXF-HPmvbM07HvG8SvFI0Xm7Hvm80MkxWPCcSvkQ4XmvyPmlhOFQy&width=70&height=70&type=sns",
                "id": "1172574922748",
                "own": "false",
                "rateType": "1",
                "repeatBusiness": "false",
                "reply": "","share": {"shareCover":"//img.alicdn.com/imgextra/i1/0/O1CN01pymSua1X7FpnEQl4Z_!!0-tbbala.jpg","shareSupport":"true","shareURL":"//h5.m.taobao.com/user_comment/comment_detail.html?rateId=1172574922748&sellerId=MvmQ4MFNGXFx0XHxSMF*evHRIOF8GPC9zv0xLPHk4vFgT&isEncode=true"},"skuMap": {" 规格 ":" 高价抢购,欢送货比三家 "," 色彩分类 ":" 特大号书本收纳盒【1 个装】[ 可放 A4、高中课本]"},"structTagEndSize":"0","userId":"0","userMark":"toM/h1jNdXtuaR1QnLzs0zz2MrVHeUTrUNLdBOY9ui8=","userNick":"i**9","userStar":"8","userStarPic":"https://img.alicdn.com/tfs/TB1_40SzpY7gK0jSZKzXXaikpXa-447-78.png"
            },
            {
                "allowComment": "false",
                "allowInteract": "true",
                "annoy": "0",
                "auctionNumId": "633336576687",
                "createTimeInterval": "1 天前",
                "creditLevel": "9",
                "feedPicList": [
                    {
                        "cover": "false",
                        "fileId": "1147107371010485687",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i4/0/O1CN01722d1j1MjlMXhv0Sd_!!0-rate.jpg"
                    }
                ],
                "feedPicPathList": ["//img.alicdn.com/imgextra/i4/0/O1CN01722d1j1MjlMXhv0Sd_!!0-rate.jpg"],
                "feedback": "书本收纳盒特地棒,品质不错,第二次回购,当前还会再买的",
                "feedbackDate": "2022-04-16",
                "goldUser": "false",
                "hasDetail": "true",
                "headPicUrl": "//wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vGNuOHcWv88YXF-HPmvbMGH0vFvyPGZHOFkuPCguPCHLXFkbPCNSMChHMC*zv0x0&width=70&height=70&type=sns",
                "id": "1172059973727",
                "own": "false",
                "rateType": "1",
                "repeatBusiness": "false",
                "reply": "","share": {"shareCover":"//img.alicdn.com/imgextra/i4/0/O1CN01722d1j1MjlMXhv0Sd_!!0-rate.jpg","shareSupport":"true","shareURL":"//h5.m.taobao.com/user_comment/comment_detail.html?rateId=1172059973727&sellerId=MvmQ4MFNGXFx0XHxSMF*evHRIOF8GPC9zv0xLPHk4vFgT&isEncode=true"},"skuMap": {" 规格 ":" 高价抢购,欢送货比三家 "," 色彩分类 ":" 中号 - 书本收纳盒 [ 可放 A4、高中课本]"},"structTagEndSize":"0","userId":"0","userMark":"bpANxH8hp6mQRHuPEiqjwVGaGkE2DOi4w3nlr8rqRgU=","userNick":"t**1","userStar":"7","userStarPic":"https://img.alicdn.com/tfs/TB1pWxTzEz1gK0jSZLeXXb9kVXa-360-78.png"
            },
            {
                "allowComment": "false",
                "allowInteract": "true",
                "annoy": "1",
                "auctionNumId": "633336576687",
                "createTimeInterval": "3 天前",
                "creditLevel": "12",
                "feedPicList": [
                    {
                        "cover": "false",
                        "fileId": "1990507366856898465",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i3/0/O1CN01nf35Hj2N2XmQuJuRF_!!0-tbbala.jpg"
                    }
                ],
                "feedPicPathList": ["//img.alicdn.com/imgextra/i3/0/O1CN01nf35Hj2N2XmQuJuRF_!!0-tbbala.jpg"],
                "feedback": "还行",
                "feedbackDate": "2022-04-14",
                "goldUser": "false",
                "hasDetail": "true",
                "headPicUrl": "//img.alicdn.com/tps/i3/TB1yeWeIFXXXXX5XFXXuAZJYXXX-210-210.png_40x40.jpg",
                "id": "1172696295758",
                "own": "false",
                "rateType": "1",
                "repeatBusiness": "false",
                "reply": "","share": {"shareCover":"//img.alicdn.com/imgextra/i3/0/O1CN01nf35Hj2N2XmQuJuRF_!!0-tbbala.jpg","shareSupport":"true","shareURL":"//h5.m.taobao.com/user_comment/comment_detail.html?rateId=1172696295758&sellerId=MvmQ4MFNGXFx0XHxSMF*evHRIOF8GPC9zv0xLPHk4vFgT&isEncode=true"},"skuMap": {" 规格 ":" 高价抢购,欢送货比三家 "," 色彩分类 ":" 特大号书本收纳盒【2 个装】[ 可放 A4、高中课本]"},"structTagEndSize":"0","userId":"0","userMark":"ozSFRjzlFZmacBhNzJRMdF5HXee946VlBEvfSz32ndI=","userNick":" 周 **3","userStar":"10","userStarPic":"https://img.alicdn.com/tfs/TB1CmdUzrr1gK0jSZR0XXbP8XXa-186-78.png"
            },
            {
                "allowComment": "false",
                "allowInteract": "true",
                "annoy": "0",
                "auctionNumId": "633336576687",
                "createTimeInterval": "8 天前",
                "creditLevel": "10",
                "feedPicList": [
                    {
                        "cover": "false",
                        "fileId": "1715307370913195904",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i3/0/O1CN01sVh3da22i7oB3AEme_!!0-rate.jpg"
                    }
                ],
                "feedPicPathList": ["//img.alicdn.com/imgextra/i3/0/O1CN01sVh3da22i7oB3AEme_!!0-rate.jpg"],
                "feedback": "棒",
                "feedbackDate": "2022-04-10",
                "goldUser": "false",
                "hasDetail": "true",
                "headPicUrl": "//wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vGNuOHcWv88YXF-HPmvbM0cWvGkuMChzMHg0vC8GvG-ePG8SOmhHPFN4MC-zvCQW&width=70&height=70&type=sns",
                "id": "1171897442094",
                "own": "false",
                "rateType": "1",
                "repeatBusiness": "false",
                "reply": "","share": {"shareCover":"//img.alicdn.com/imgextra/i3/0/O1CN01sVh3da22i7oB3AEme_!!0-rate.jpg","shareSupport":"true","shareURL":"//h5.m.taobao.com/user_comment/comment_detail.html?rateId=1171897442094&sellerId=MvmQ4MFNGXFx0XHxSMF*evHRIOF8GPC9zv0xLPHk4vFgT&isEncode=true"},"skuMap": {" 规格 ":" 高价抢购,欢送货比三家 "," 色彩分类 ":" 特大号书本收纳盒【2 个装】[ 可放 A4、高中课本]"},"structTagEndSize":"0","userId":"0","userMark":"iG6fZ+8laHlWL3Bsuc/vMKLbqiCuHS9GRaLJPiuE0bc=","userNick":"w**0","userStar":"8","userStarPic":"https://img.alicdn.com/tfs/TB1_40SzpY7gK0jSZKzXXaikpXa-447-78.png"
            },
            {
                "allowComment": "false",
                "allowInteract": "true",
                "annoy": "0",
                "auctionNumId": "633336576687",
                "createTimeInterval": "8 天前",
                "creditLevel": "4",
                "feedPicList": [
                    {
                        "cover": "false",
                        "fileId": "1535007357511952837",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i2/0/O1CN014NTgdp1pOLhKfK5Kf_!!0-tbbala.jpg"
                    },
                    {
                        "cover": "false",
                        "fileId": "1535007374504159508",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i1/0/O1CN011FvSmu1pOLhdDHeWC_!!0-tbbala.jpg"
                    }
                ],
                "feedPicPathList": [
                    "//img.alicdn.com/imgextra/i2/0/O1CN014NTgdp1pOLhKfK5Kf_!!0-tbbala.jpg",
                    "//img.alicdn.com/imgextra/i1/0/O1CN011FvSmu1pOLhdDHeWC_!!0-tbbala.jpg"
                ],
                "feedback": "产品性能:容量很大,很难看,特地透亮 装学校的课本没有问题👌",
                "feedbackDate": "2022-04-10",
                "goldUser": "false",
                "hasDetail": "true",
                "headPicUrl": "//wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vCNuv8lzvF9hPHgYP0guO8QuOFH4PH8YXmHyXH7-MFQ4Pkxuv8kyOHxYPGZeMkPe&width=70&height=70&type=sns",
                "id": "1172275703266",
                "own": "false",
                "rateType": "1",
                "repeatBusiness": "false",
                "reply": "","share": {"shareCover":"//img.alicdn.com/imgextra/i2/0/O1CN014NTgdp1pOLhKfK5Kf_!!0-tbbala.jpg","shareSupport":"true","shareURL":"//h5.m.taobao.com/user_comment/comment_detail.html?rateId=1172275703266&sellerId=MvmQ4MFNGXFx0XHxSMF*evHRIOF8GPC9zv0xLPHk4vFgT&isEncode=true"},"skuMap": {" 规格 ":" 高价抢购,欢送货比三家 "," 色彩分类 ":" 特大号书本收纳盒【1 个装】[ 可放 A4、高中课本]"},"structTagEndSize":"0","userId":"0","userMark":"6mA819iknN2LYxOUV0rAD9U7mcvqI4wWaI//5VSOTSc=","userNick":"t**7","userStar":"3","userStarPic":"https://img.alicdn.com/tfs/TB1L9BYzxD1gK0jSZFKXXcJrVXa-360-78.png"
            },
            {
                "allowComment": "false",
                "allowInteract": "true",
                "annoy": "1",
                "auctionNumId": "633336576687",
                "createTimeInterval": "8 天前",
                "creditLevel": "10",
                "feedPicList": [
                    {
                        "cover": "false",
                        "fileId": "1936607363749523981",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i1/0/O1CN01gVJ5Xf2J3gIeUjDWX_!!0-tbbala.jpg"
                    }
                ],
                "feedPicPathList": ["//img.alicdn.com/imgextra/i1/0/O1CN01gVJ5Xf2J3gIeUjDWX_!!0-tbbala.jpg"],
                "feedback": "收到货,第一工夫拆包装,感觉品质还是比拟好的,与卖家形容的还是统一的,十分称心,发货速度比拟快,物流公司服务态度很好,运送速度很快,总的来说这次是很称心的一次购物,感激卖家。",
                "feedbackDate": "2022-04-10",
                "goldUser": "false",
                "hasDetail": "true",
                "headPicUrl": "//img.alicdn.com/tps/i3/TB1yeWeIFXXXXX5XFXXuAZJYXXX-210-210.png_40x40.jpg",
                "id": "1171008116552",
                "own": "false",
                "rateType": "1",
                "repeatBusiness": "false",
                "reply": "","share": {"shareCover":"//img.alicdn.com/imgextra/i1/0/O1CN01gVJ5Xf2J3gIeUjDWX_!!0-tbbala.jpg","shareSupport":"true","shareURL":"//h5.m.taobao.com/user_comment/comment_detail.html?rateId=1171008116552&sellerId=MvmQ4MFNGXFx0XHxSMF*evHRIOF8GPC9zv0xLPHk4vFgT&isEncode=true"},"skuMap": {" 规格 ":" 高价抢购,欢送货比三家 "," 色彩分类 ":" 特大号书本收纳盒【1 个装】[ 可放 A4、高中课本]"},"structTagEndSize":"0","userId":"0","userMark":"Emqn7djCjMS4lNukz1w3TE0gT01IGr5JQONKjkOgh8M=","userNick":" 洛 **4","userStar":"8","userStarPic":"https://img.alicdn.com/tfs/TB1_40SzpY7gK0jSZKzXXaikpXa-447-78.png"
            },
            {
                "allowComment": "false",
                "allowInteract": "true",
                "annoy": "0",
                "auctionNumId": "633336576687",
                "createTimeInterval": "8 天前",
                "creditLevel": "11",
                "feedPicList": [
                    {
                        "cover": "false",
                        "fileId": "1190707365561045363",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i4/0/O1CN01xw1mVf1PxS2tfGtal_!!0-rate.jpg"
                    },
                    {
                        "cover": "false",
                        "fileId": "1190707370241147409",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i1/0/O1CN01UMCYiE1PxS2ym07vd_!!0-rate.jpg"
                    }
                ],
                "feedPicPathList": [
                    "//img.alicdn.com/imgextra/i4/0/O1CN01xw1mVf1PxS2tfGtal_!!0-rate.jpg",
                    "//img.alicdn.com/imgextra/i1/0/O1CN01UMCYiE1PxS2ym07vd_!!0-rate.jpg"
                ],
                "feedback": "此用户没有填写评估。",
                "feedbackDate": "2022-04-09",
                "goldUser": "false",
                "hasDetail": "true",
                "headPicUrl": "//wwc.alicdn.com/avatar/getAvatar.do?userIdStr=vFkSPFHuXH*evF8LPmHSXHxbPmHWMmlHvmNSMmNGvGRHvGMhXFHYM07IXHxSPm-z&width=70&height=70&type=sns",
                "id": "1170966704131",
                "own": "false",
                "rateType": "1",
                "repeatBusiness": "false",
                "reply": "","share": {"shareCover":"//img.alicdn.com/imgextra/i4/0/O1CN01xw1mVf1PxS2tfGtal_!!0-rate.jpg","shareSupport":"true","shareURL":"//h5.m.taobao.com/user_comment/comment_detail.html?rateId=1170966704131&sellerId=MvmQ4MFNGXFx0XHxSMF*evHRIOF8GPC9zv0xLPHk4vFgT&isEncode=true"},"skuMap": {" 规格 ":" 高价抢购,欢送货比三家 "," 色彩分类 ":" 特大号书本收纳盒【1 个装】[ 可放 A4、高中课本]"},"structTagEndSize":"0","userId":"0","userMark":"b4mFH1pzsU4yKcev12EQMryCj9BJtcvvLrETT2PwR+c=","userNick":"l**4","userStar":"9","userStarPic":"https://img.alicdn.com/tfs/TB1LbFZzEY1gK0jSZFCXXcwqXXa-96-78.png"
            },
            {
                "allowComment": "false",
                "allowInteract": "true",
                "annoy": "1",
                "auctionNumId": "633336576687",
                "createTimeInterval": "9 天前",
                "creditLevel": "9",
                "feedPicList": [
                    {
                        "cover": "false",
                        "fileId": "1678707369450234414",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i2/0/O1CN01N8XEPe200UqcvWnyI_!!0-tbbala.jpg"
                    }
                ],
                "feedPicPathList": ["//img.alicdn.com/imgextra/i2/0/O1CN01N8XEPe200UqcvWnyI_!!0-tbbala.jpg"],
                "feedback": "收纳还挺不便的,品质能够,价格也比拟优惠",
                "feedbackDate": "2022-04-09",
                "goldUser": "false",
                "hasDetail": "true",
                "headPicUrl": "//img.alicdn.com/tps/i3/TB1yeWeIFXXXXX5XFXXuAZJYXXX-210-210.png_40x40.jpg",
                "id": "1171370637289",
                "own": "false",
                "rateType": "1",
                "repeatBusiness": "false",
                "reply": "","share": {"shareCover":"//img.alicdn.com/imgextra/i2/0/O1CN01N8XEPe200UqcvWnyI_!!0-tbbala.jpg","shareSupport":"true","shareURL":"//h5.m.taobao.com/user_comment/comment_detail.html?rateId=1171370637289&sellerId=MvmQ4MFNGXFx0XHxSMF*evHRIOF8GPC9zv0xLPHk4vFgT&isEncode=true"},"skuMap": {" 规格 ":" 高价抢购,欢送货比三家 "," 色彩分类 ":" 中号 - 书本收纳盒 [ 可放 A4、高中课本]"},"structTagEndSize":"0","userId":"0","userMark":"+OeFQZSEguwJrUxqyrr3k0Bpd5lKU7SlOBiZcUUu1TU=","userNick":" 野 ** 风 ","userStar":"7","userStarPic":"https://img.alicdn.com/tfs/TB1pWxTzEz1gK0jSZLeXXb9kVXa-360-78.png"
            },
            {
                "allowComment": "false",
                "allowInteract": "true",
                "annoy": "1",
                "auctionNumId": "633336576687",
                "createTimeInterval": "9 天前",
                "creditLevel": "4",
                "feedPicList": [
                    {
                        "cover": "false",
                        "fileId": "1556607370098011129",
                        "status": "1",
                        "thumbnail": "//img.alicdn.com/imgextra/i4/0/O1CN01S5PgYB1qzHFfP2USP_!!0-rate.jpg"
                    }
                ],
                "feedPicPathList": ["//img.alicdn.com/imgextra/i4/0/O1CN01S5PgYB1qzHFfP2USP_!!0-rate.jpg"],
                "feedback": "产品性能:放书 外观材质:塑料 商品品质:薄薄的容易变形 尺寸形容不符,就差一本书放不进去你说气不气人",
                "feedbackDate": "2022-04-09",
                "goldUser": "false",
                "hasDetail": "true",
                "headPicUrl": "//img.alicdn.com/tps/i3/TB1yeWeIFXXXXX5XFXXuAZJYXXX-210-210.png_40x40.jpg",
                "id": "1170943636967",
                "own": "false",
                "rateType": "1",
                "repeatBusiness": "false",
                "reply": "","share": {"shareCover":"//img.alicdn.com/imgextra/i4/0/O1CN01S5PgYB1qzHFfP2USP_!!0-rate.jpg","shareSupport":"true","shareURL":"//h5.m.taobao.com/user_comment/comment_detail.html?rateId=1170943636967&sellerId=MvmQ4MFNGXFx0XHxSMF*evHRIOF8GPC9zv0xLPHk4vFgT&isEncode=true"},"skuMap": {" 规格 ":" 高价抢购,欢送货比三家 "," 色彩分类 ":" 中号 - 书本收纳盒 [ 可放 A4、高中课本]"},"structTagEndSize":"0","userId":"0","userMark":"yq/y/H+a9EZRctj8SxrO6wlJbNs6aVFN4AQXPRiGFew=","userNick":"t**6","userStar":"2","userStarPic":"https://img.alicdn.com/tfs/TB1L9BYzxD1gK0jSZFKXXcJrVXa-360-78.png"
            }
        ],
        "skuFilter": "false",
        "total": "320",
        "totalPage": "32",
        "userType": "0"
    },
    "message": "success"
}
退出移动版