item_review-获得淘宝商品评论 注册开通
onebound.taobao.item_review
公共参数
名称 | 类型 | 必须 | 描述 |
key | String | 是 | 调用key(必须以GET方式拼接在URL中) |
secret | String | 是 | 调用密钥 |
api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
version | String | 否 | API版本 |
请求参数
请求参数:num_iid=654004674625&data=&page=1
参数说明:num_iid:淘宝商品ID
sort:排序 0:默认排序 ,1: 最新排序
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
rate_content | String | 0 | 评论内容 | |
rate_date | Date | 0 | 评论日期 | |
pics | MIX | 0 | 评论图片 | |
display_user_nick | String | 0 | 买家昵称 | |
auction_sku | String | 0 | 评论商品属性 | |
rate_id | String | 0 | 评论ID | |
add_feedback | String | 0 | 追评内容 | |
add_feedback_images | MIX | 0 | 追评图片 | |
video | String | 0 | 视频地址 | |
videoCover | String | 0 | 视频截图 |
请求示例
- Curl
- PHP
- PHPsdk
- JAVA
- C#
- Python
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/taobao/item_review/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=654004674625&data=&page=1"
响应示例
"items": {
"totalpage": "57",
"total_results": "1140",
"page_size": 10,
"page": "1",
"item": [
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-09-02",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:套餐一;颜色分类:白色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "1小时前",
"read_count": "0",
"rate_id": "1185508480324",
"comment_count": "0",
"like_count": [],
"user_star": "2",
"user_star_pic": "https://img.alicdn.com/imgextra/i2/O1CN01CNstjx25mCBct4Rc6_!!6000000007568-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-28",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "5天前",
"read_count": "0",
"rate_id": "1185428497822",
"comment_count": "0",
"like_count": [],
"user_star": "9",
"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01PIYxrZ22FGrmiDphN_!!6000000007090-2-tps-92-45.png"
},
{
"rate_content": "****,耳机充不了电!充电仓不存电,反正一堆问题!花钱买教训,客服还踢皮球我刚买的就充不了电了叫我找售后!",
"rate_date": "2022-08-27",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "你在淘宝买条裤子,发现裤子上有个洞!商家会叫你找修裤脚的补吗?",
"add_feedback_images": [],
"create_time_interval": "6天前",
"read_count": "0",
"rate_id": "1186009839014",
"comment_count": "0",
"like_count": [],
"user_star": "6",
"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01QZTjHW1F4oegDvuEX_!!6000000000434-2-tps-92-45.png"
},
{
"rate_content": "外观材质:质量挺好的,音质也蛮清晰,性价比高,物流也很快 ",
"rate_date": "2022-08-25",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:白色",
"add_feedback": "右耳一直连不上,联系客服搞了好几天快一个星期了,到现在都没有重新跟我发新货",
"add_feedback_images": [],
"create_time_interval": "7天前",
"read_count": "0",
"rate_id": "1185197877910",
"comment_count": "0",
"like_count": [],
"user_star": "2",
"user_star_pic": "https://img.alicdn.com/imgextra/i2/O1CN014ujwU11R6tqL7WeQH_!!6000000002063-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-24",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:白色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "9天前",
"read_count": "0",
"rate_id": "1185078969168",
"comment_count": "0",
"like_count": [],
"user_star": "4",
"user_star_pic": "https://img.alicdn.com/imgextra/i1/O1CN01Bm9gkz1yASEqBM8xQ_!!6000000006538-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-23",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "10天前",
"read_count": "0",
"rate_id": "1185702575908",
"comment_count": "0",
"like_count": [],
"user_star": "6",
"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01QZTjHW1F4oegDvuEX_!!6000000000434-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-21",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "11天前",
"read_count": "0",
"rate_id": "1185535743206",
"comment_count": "0",
"like_count": [],
"user_star": "6",
"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01QZTjHW1F4oegDvuEX_!!6000000000434-2-tps-92-45.png"
},
{
"rate_content": "纯纯的垃圾,本来看价格不像是假货,买回来充电盒电量只够充一次耳机,右耳按键松动,两个耳机不定时连不上蓝牙,建议去京东买,别来淘宝垃圾铺逛",
"rate_date": "2022-08-20",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:套餐一;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "12天前",
"read_count": "7",
"rate_id": "1184781493311",
"comment_count": "1",
"like_count": "3",
"user_star": "6",
"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01QZTjHW1F4oegDvuEX_!!6000000000434-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-19",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:套餐一;颜色分类:白色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "14天前",
"read_count": "0",
"rate_id": "1185354307853",
"comment_count": "0",
"like_count": [],
"user_star": "5",
"user_star_pic": "https://img.alicdn.com/imgextra/i2/O1CN01vy8zTE1Zeo5lC6lTQ_!!6000000003220-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-18",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:白色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "15天前",
"read_count": "0",
"rate_id": "1184161800637",
"comment_count": "0",
"like_count": [],
"user_star": "8",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-18",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "15天前",
"read_count": "0",
"rate_id": "1185241931047",
"comment_count": "0",
"like_count": [],
"user_star": "7",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
},
{
"rate_content": "音资很差,充电仓还是坏的。摸起来和我一起在小米商城买的差很多,",
"rate_date": "2022-08-17",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "16天前",
"read_count": "0",
"rate_id": "1185144015713",
"comment_count": "0",
"like_count": [],
"user_star": "5",
"user_star_pic": "https://img.alicdn.com/imgextra/i2/O1CN01vy8zTE1Zeo5lC6lTQ_!!6000000003220-2-tps-92-45.png"
},
{
"rate_content": "我给一百个差评,***,给我发了一个充不了电的,后面让我给寄回去换,寄出去了又要这个,那个的,我哪里能找的到,最后啥也没有了,坏的也没有了,* 太**了 ",
"rate_date": "2022-08-16",
"pics": [
"//img.alicdn.com/imgextra/i4/0/O1CN01SCTUH428cWgdgljby_!!0-rate.jpg"
],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "第一遇到这样的****",
"add_feedback_images": [],
"create_time_interval": "17天前",
"read_count": "7",
"rate_id": "1184379989706",
"comment_count": "0",
"like_count": [],
"user_star": "3",
"user_star_pic": "https://img.alicdn.com/imgextra/i2/O1CN01CNstjx25mCBct4Rc6_!!6000000007568-2-tps-92-45.png"
},
{
"rate_content": "音质极差,怀疑是假货,而且退换货物流极慢,客服也一直在敷衍了事",
"rate_date": "2022-08-13",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "20天前",
"read_count": "4",
"rate_id": "1184078841917",
"comment_count": "1",
"like_count": [],
"user_star": "5",
"user_star_pic": "https://img.alicdn.com/imgextra/i2/O1CN01vy8zTE1Zeo5lC6lTQ_!!6000000003220-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-12",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "20天前",
"read_count": "0",
"rate_id": "1184773259164",
"comment_count": "0",
"like_count": [],
"user_star": "7",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-09",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "23天前",
"read_count": "0",
"rate_id": "1184171154602",
"comment_count": "0",
"like_count": [],
"user_star": "8",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
},
{
"rate_content": "我买的airdots,结果发来个air2se,跟客服沟通一直车轱辘话。不给退,不给换,还要我自己承担邮费,商品链接上图片都是airdots,结果链接给换成了se。还说是买家的责任没看清。我一再忍让,不行了,认可不退货我也要差评。",
"rate_date": "2022-08-09",
"pics": [
"//img.alicdn.com/imgextra/i3/0/O1CN01SIuKBj1Ot2dsclwkF_!!0-rate.jpg",
"//img.alicdn.com/imgextra/i2/0/O1CN01Pv35zp1Ot2drn1j30_!!0-rate.jpg",
"//img.alicdn.com/imgextra/i1/0/O1CN01FDRX4v1Ot2dl59bH6_!!0-rate.jpg"
],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:白色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "23天前",
"read_count": "77",
"rate_id": "1184485543572",
"comment_count": "0",
"like_count": "1",
"user_star": "5",
"user_star_pic": "https://img.alicdn.com/imgextra/i2/O1CN01vy8zTE1Zeo5lC6lTQ_!!6000000003220-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-09",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "24天前",
"read_count": "0",
"rate_id": "1183726593769",
"comment_count": "0",
"like_count": [],
"user_star": "9",
"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01PIYxrZ22FGrmiDphN_!!6000000007090-2-tps-92-45.png"
},
{
"rate_content": "音质特别差,很嘈杂,听歌一直断断续续,物流把盒子压的不成样,简直就是个坑。",
"rate_date": "2022-08-08",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:黑色",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "24天前",
"read_count": "0",
"rate_id": "1183705965349",
"comment_count": "0",
"like_count": [],
"user_star": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01NWIAh91b4k8Wrq3fW_!!6000000003412-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写评价。",
"rate_date": "2022-08-08",
"pics": [],
"display_user_nick": "",
"auction_sku": "套餐类型:官方标配;颜色分类:白色",
"add_feedback": "****,发货东西不全,售后不管,大家别受骗了",
"add_feedback_images": [],
"create_time_interval": "24天前",
"read_count": "0",
"rate_id": "1183972636739",
"comment_count": "0",
"like_count": [],
"user_star": "6",
"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01QZTjHW1F4oegDvuEX_!!6000000000434-2-tps-92-45.png"
}
],
"data_from": "xdl"
},
"secache": "050b5cf3c41983c01d28570eb6b4fe08",
"secache_time": 1662103600,
"secache_date": "2022-09-02 15:26:40",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:125 max:10100 all[332=125+145+62];expires:2030-12-31",
"execution_time": "0.956",
"server_time": "Beijing/2022-09-02 15:26:40",
"client_ip": "106.6.35.69",
"call_args": {
"num_iid": "654004674625",
"page": "1"
},
"api_type": "taobao",
"translate_language": "zh-CN",
"translate_engine": "baidu_api",
"server_memory": "5.96MB",
"request_id": "gw-3.6311b02f76175",
"last_id": "1190736077"
}
异常示例相关资料错误码解释
状态代码(error_code) | 状态信息 | 详细描述 | 是否收费 |
0000 | success | 接口调用成功并返回相关数据 | 是 |
2000 | Search success but no result | 接口访问成功,但是搜索没有结果 | 是 |
4000 | Server internal error | 服务器内部错误 | 否 |
4001 | Network error | 网络错误 | 否 |
4002 | Target server error | 目标服务器错误 | 否 |
4003 | Param error | 用户输入参数错误 | 忽略 |
4004 | Account not found | 用户帐号不存在 | 忽略 |
4005 | Invalid authentication credentials | 授权失败 | 忽略 |
4006 | API stopped | 您的当前API已停用 | 忽略 |
4007 | Account stopped | 您的账户已停用 | 忽略 |
4008 | API rate limit exceeded | 并发已达上限 | 忽略 |
4009 | API maintenance | API维护中 | 忽略 |
4010 | API not found with these values | API不存在 | 忽略 |
4012 | Please add api first | 请先添加api | 忽略 |
4013 | Number of calls exceeded | 调用次数超限 | 忽略 |
4014 | Missing url param | 参数缺失 | 忽略 |
4015 | Wrong pageToken | 参数pageToken有误 | 忽略 |
4016 | Insufficient balance | 余额不足 | 忽略 |
4017 | timeout error | 请求超时 | 否 |
5000 | unknown error | 未知错误 | 否 |