请求HEADER
名称 | 值 |
---|---|
Content-Type | application/x-www-form-urlencoded;charset:utf-8; |
请求参数说明
名称 | 要求 | 类型 | 示例值 | 说明 |
---|---|---|---|---|
secret | 必填 | string | Ptjw1Du3l0t3JM10oD5I6fGOMV | 您的密钥,在密钥管理中查看 |
product_id | 必填 | number | 70411296071 | 商品ID |
only_sku | 选填 | number | 0 | 是否只查看当前商品评价 0-否 1-是 |
score | 选填 | string | 0 | 评价类型,3 - 好评 / 2 - 中评 / 1 - 差评 / 0 - 全部 |
sort | 选填 | string | 5 | 选填,5 - 默认排序 / 6 - 时间排序 |
page_num | 选填 | string | 1 | 页码 |
响应HEADER
名称 | 值 | 说明 |
---|---|---|
X-Rate-Limit-Limit | 5 | 当前接口请求频率限额 |
X-Rate-Limit-Remaining | 2 | 一段时间内剩余允许请求数,该值为0表明达到当前接口最大请求频率/次数限制,应适当降低请求频率 |
X-Rate-Limit-Global | 1 | 该值为1表明触犯全局请求频率/次数限制,应适当降低请求频率 |
返回参数说明
名称 | 类型 | 说明 |
---|---|---|
code | number | 返回码,具体含义请参考错误码参照 |
msg | string | 返回说明 |
data | json | 返回结果集 |
rid | string | 请求ID |
JSON结果集返回示例
{"CommentTag":[{"id":"86d4546d17706d36","name":"计时准确","rid":"86d4546d17706d36","count":"183","type":"4","canBeFiltered":true,"stand":"1"},{"id":"51197de19f0ba763","name":"高端大气","rid":"51197de19f0ba763","count":"116","type":"4","canBeFiltered":true,"stand":"1"}],"Summary":{"SkuId":"70411296071","ProductId":"70411296071","CommentCount":"10000","CommentCountStr":"2万+","AverageScore":"5","GoodCount":"100","GoodCountStr":"9100+","GoodRate":"0.98","GoodRateShow":"98","DefaultGoodCount":"10000","DefaultGoodCountStr":"2万+","GeneralCount":"10","GeneralCountStr":"70+","GeneralRate":"0.007","GeneralRateShow":"1","PoorCount":"10","PoorCountStr":"70+","PoorRate":"0.013","PoorRateShow":"1","ShowCount":"100","ShowCountStr":"1600+","AfterCount":"10","AfterCountStr":"90+","VideoCount":"100","VideoCountStr":"100+","OneYear":"0","SensitiveBook":"0"},"Comments":[{"id":"18408682978","guid":"80efd050194ae2bd14e68d4801cfe865","content":"清新,特别漂亮,百搭款,很喜欢的一次购物体验,已经是第二次购买了,快递很给力,每次都是送货上门,商品也很给力,有日期(农历也会显示出来,有星期几,还有温度显示,这个价格,非常满意,颜色也是很大气简约。以后需要会再买的,也会给朋友亲属推荐的,相信我的眼光!","creationTime":"2022-11-18 12:40:26","referenceId":"70411296068","replyCount":"1","score":"5","status":"1","usefulVoteCount":"1","userImageUrl":"misc.360buyimg.com/user/myjd-2015/css/i/peisong.jpg","orderId":"0","uid":"","nickname":"杨***6","userClient":"4","images":[{"id":"1964587699","imgUrl":"http://img30.360buyimg.com/shaidan/s128x96_jfs/t1/82084/27/23844/49640/63770cb4E3ced3e37/73b96f89fe0ed43f.jpg"},{"id":"1964587700","imgUrl":"http://img30.360buyimg.com/shaidan/s128x96_jfs/t1/154694/28/26485/41348/63770cb5Ebe9ea781/1f0540d651369f49.jpg"},{"id":"1964587701","imgUrl":"http://img30.360buyimg.com/shaidan/s128x96_jfs/t1/197987/37/28699/48255/63770cb7Efd40709d/da53495a6f876a7f.jpg"},{"id":"1964587702","imgUrl":"http://img30.360buyimg.com/shaidan/s128x96_jfs/t1/89745/10/33369/66400/63770cb8E7d2240db/c69a191787ad9a69.jpg"},{"id":"1964587703","imgUrl":"http://img30.360buyimg.com/shaidan/s128x96_jfs/t1/31734/17/19146/38230/63770cb9E259a6524/c165cb37f80c0f25.jpg"}],"videos":[{"id":"1964587704","remark":"https://jvod.300hu.com/vod/product/c4134519-ad9c-414e-b517-f7b06b67123e/b0d56157a0db4f338a483956822efcd4.mp4?source=2&h265=h265/113393/1b0212cf379e4d8889997a547cc1f92e.mp4","isMain":"","videoLength":"5","videoUrl":"918256567","mainUrl":"https://jvod.300hu.com/img/2022/243222369/1/img5.jpg","videoWidth":"720","videoHeight":"960"}],"productColor":"3220日历黑色 35CM*35CM","productSize":"","anonymousFlag":"1","plusAvailable":"201","recommend":"","replies":[]},{"id":"17959070074","guid":"8db4cc0fbb4acedd3d050eee136328a5","content":"这款挂钟非常不错,马上快开学了,限制小孩用手机。打消其借口手机着时间的借口,买了此款时钟。挂在墙上比较简单,也比较好看。","creationTime":"2022-08-24 19:27:45","referenceId":"70411296071","replyCount":"1","score":"5","status":"1","usefulVoteCount":"1","userImageUrl":"misc.360buyimg.com/user/myjd-2015/css/i/peisong.jpg","orderId":"0","uid":"","nickname":"j***y","userClient":"2","images":[{"id":"1873410456","imgUrl":"http://img30.360buyimg.com/shaidan/s128x96_jfs/t1/61669/40/21046/48210/63060b2fEe8ad7d08/25cfe94c4dd97b25.jpg"},{"id":"1873410457","imgUrl":"http://img30.360buyimg.com/shaidan/s128x96_jfs/t1/119237/14/27623/46584/63060b2fE5f063a60/2345b067801ddac8.jpg"},{"id":"1873410458","imgUrl":"http://img30.360buyimg.com/shaidan/s128x96_jfs/t1/110619/37/32836/51935/63060b2fE39975d80/e96bc5242d36a7e6.jpg"},{"id":"1873410459","imgUrl":"http://img30.360buyimg.com/shaidan/s128x96_jfs/t1/119271/40/30177/100137/63060b30E0091e25d/abd85692b6952e90.jpg"}],"productColor":"3220日历蓝色 35CM*35CM","productSize":"","anonymousFlag":"1","plusAvailable":"201","recommend":"","replies":[]}]}
系统级错误码参照
错误码 | 说明 |
---|---|
500 | 缺少参数密钥KEY |
501 | 密钥KEY错误或已失效 |
502 | 密钥KEY已禁用,平台黑名单 |
503 | IP地址不被平台允许 |
504 | 接口不存在或已下线 |
505 | 接口维护中,请稍后访问 |
506 | 接口不支持该方式请求 |
507 | 接口不支持GET方式请求 |
508 | 接口不支持POST方式请求 |
509 | 服务端执行错误 |
510 | 服务端数据解析错误 |
服务级错误码参照
错误码 | 说明 |
---|---|
400 | 密钥KEY错误或已失效 |
401 | 密钥KEY已禁用 |
402 | IP地址不被用户允许 |
403 | 账号余额不足,请及时充值 |
404 | 超过当前接口每日调用限制 |
405 | 超过当前接口每秒调用限制 |
406 | 请求参数错误 |
407 | 请求失败,后端错误 |
错误码格式说明
5xx | 4xx | xx |
---|---|---|
系统级错误 | 服务级错误 | 具体错误代码 |