聚美智数


来赞达商品评论

<h3>接口描述</h3> <ul> <li>来赞达商品评价信息查询,支持的域名站点有马来西亚、 印度尼西亚、 新加坡、菲律宾、 泰国、越南</li> </ul> <h3>请求地址</h3> <p><code>https://api.jumdata.com/lazada/goods/rate</code></p> <h3>请求方式</h3> <ul> <li>GET/POST</li> </ul> <h3>请求格式</h3> <ul> <li>x-www-form-urlencoded</li> </ul> <h3>请求参数</h3> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>必须</th> <th>&lt;div style=&quot;width:420px&quot;&gt;说明&lt;/div&gt;</th> </tr> </thead> <tbody> <tr> <td>appId</td> <td>String</td> <td>是</td> <td>服务商分配的唯一标识</td> </tr> <tr> <td>timestamp</td> <td>Long</td> <td>是</td> <td>当前时间的毫秒数</td> </tr> <tr> <td>sign</td> <td>String</td> <td>是</td> <td>签名,见签名算法说明</td> </tr> <tr> <td>goodsId</td> <td>String</td> <td>是</td> <td>商品id</td> </tr> <tr> <td>land</td> <td>String</td> <td>是</td> <td>站点域名 马来西亚:com.my, 印度尼西亚:co.id, 新加坡:sg,菲律宾:com.ph,泰国:co.th, 越南:vn</td> </tr> <tr> <td>pageNo</td> <td>Integer</td> <td>是</td> <td>页数</td> </tr> <tr> <td>sort</td> <td>Integer</td> <td>是</td> <td>排序 0:Relevance,1:Recent, 2:Rating: High to Low ,3:Rating: Low to High</td> </tr> </tbody> </table> <h3>签名算法说明</h3> <pre><code>sign = sha256( appId + appSecret + timestamp)</code></pre> <p>用服务商分配的 appId、服务商分配的 appSecret,当前时间毫秒数 timestamp,按上述顺序拼接成字符串,再进行 sha256 哈希得到。如下:</p> <pre><code class="language-java">String appId = &amp;quot;xyzxy2121zxyz&amp;quot;; String timestamp = &amp;quot;1555378976238&amp;quot;; String appSecret = &amp;quot;efcefcef1121cefcefc1212121&amp;quot;; String str = appId + appSecret + timestamp; String sign = sha256(str);</code></pre> <h3>正确返回样例</h3> <pre><code class="language-json">// 查得 { &amp;quot;code&amp;quot;: 200,//返回码,详见返回码说明 &amp;quot;msg&amp;quot;: &amp;quot;成功&amp;quot;,//code对应的描述 &amp;quot;taskNo&amp;quot;: &amp;quot;987180686132393161428391&amp;quot;,//本次请求号 &amp;quot;charge&amp;quot;: true,//计费标志 &amp;quot;data&amp;quot;: { &amp;quot;item&amp;quot;: { &amp;quot;itemTitle&amp;quot;: &amp;quot;ชั้นวางรองเท้า ตู้เก็บรองเท้า 7ชั้น จำนวน 21 คู่ ผ้าคลุม กันน้ำ กันฝุ่น พร้อมช่องเก็บของด้านข้าง ตู้ใส่รองเท้า ชั้นวางรองเท้า ตู้เก็บรองเท้า 3ชั้น จำนวน 9 คู่ ผ้าคลุม กันน้ำ กันฝุ่น พร้อมช่องเก็บของด้านข้าง ตู้ใส่รองเท้า&amp;quot;, &amp;quot;sellerName&amp;quot;: &amp;quot;XIAOQIONG&amp;quot;, &amp;quot;categoryName&amp;quot;: &amp;quot;อุปกรณ์จัดเก็บรองเท้า&amp;quot;, &amp;quot;rootCategoryId&amp;quot;: 11829, &amp;quot;itemId&amp;quot;: 481356760, &amp;quot;sellerId&amp;quot;: 1000277138, &amp;quot;itemPic&amp;quot;: &amp;quot;https://th-live.slatic.net/p/8099a14a44b54b5bd75db388ca1c5a46.jpg&amp;quot;, &amp;quot;configSku&amp;quot;: &amp;quot;481356760_TH&amp;quot;, &amp;quot;itemStatus&amp;quot;: 1, &amp;quot;rootCategoryName&amp;quot;: &amp;quot;เฟอร์นิเจอร์และอุปกรณ์จัดเก็บ&amp;quot;, &amp;quot;skuInfo&amp;quot;: &amp;quot;สี:Red wine&amp;quot;, &amp;quot;categoryId&amp;quot;: 11910, &amp;quot;itemUrl&amp;quot;: &amp;quot;https://www.lazada.co.th/products/7-21-3-9-i481356760-s870956755.html&amp;quot; }, &amp;quot;mediaList&amp;quot;: [ { &amp;quot;coverUrl&amp;quot;: &amp;quot;https://lzd-u.slatic.net/9dc28f247c30433a9a95e9855c7d6431_1fd6b7ddb562440a877fb7f400951b6f.jpg&amp;quot;, &amp;quot;size&amp;quot;: 0, &amp;quot;width&amp;quot;: 0, &amp;quot;reviewType&amp;quot;: &amp;quot;PRODUCT_REVIEW&amp;quot;, &amp;quot;mediaType&amp;quot;: 1, &amp;quot;reviewRateId&amp;quot;: 747301615956760, &amp;quot;height&amp;quot;: 0 } ], &amp;quot;showInfo&amp;quot;: { &amp;quot;showAuthTipsUrl&amp;quot;: &amp;quot;https://www.lazada.co.th/wow/gcp/route/lazada/th/upr_1000345_lazada/channel/th/upr-router/th?hybrid=1&amp;amp;data_prefetch=true&amp;amp;prefetch_replace=1&amp;amp;at_iframe=1&amp;amp;wh_pid=/lazada/channel/th/ac_guide/pfeiGxYdsr&amp;quot;, &amp;quot;showAuthTips&amp;quot;: true }, &amp;quot;ratings&amp;quot;: { &amp;quot;average&amp;quot;: 4.8, &amp;quot;localReviewsCount&amp;quot;: 2812, &amp;quot;hiddenCount&amp;quot;: 1671, &amp;quot;scores&amp;quot;: [ 2491, 192, 70, 18, 41 ], &amp;quot;videosCount&amp;quot;: 46, &amp;quot;imagesCount&amp;quot;: 423, &amp;quot;mediaNum&amp;quot;: 711, &amp;quot;withVideoCount&amp;quot;: 46, &amp;quot;rate12Stars&amp;quot;: 59, &amp;quot;withMediaCount&amp;quot;: 478, &amp;quot;rateCount&amp;quot;: 2812, &amp;quot;reviewCount&amp;quot;: 2812, &amp;quot;labelCounts&amp;quot;: [], &amp;quot;withImageCount&amp;quot;: 460 }, &amp;quot;paging&amp;quot;: { &amp;quot;totalItems&amp;quot;: 2812, &amp;quot;totalPages&amp;quot;: 282, &amp;quot;currentPage&amp;quot;: 1 }, &amp;quot;items&amp;quot;: [ { &amp;quot;imageHost&amp;quot;: &amp;quot;//th-live.slatic.net&amp;quot;, &amp;quot;isGuest&amp;quot;: false, &amp;quot;likeCount&amp;quot;: 0, &amp;quot;reviewRateId&amp;quot;: 747107856256760, &amp;quot;isPurchased&amp;quot;: true, &amp;quot;clientType&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;isExternal&amp;quot;: 0, &amp;quot;targetId&amp;quot;: 481356760, &amp;quot;viewCounts&amp;quot;: 0, &amp;quot;itemId&amp;quot;: 481356760, &amp;quot;isAnonymous&amp;quot;: false, &amp;quot;mediaList&amp;quot;: [], &amp;quot;replies&amp;quot;: [], &amp;quot;reviewStatus&amp;quot;: &amp;quot;approved&amp;quot;, &amp;quot;canEdit&amp;quot;: true, &amp;quot;reviewType&amp;quot;: &amp;quot;PRODUCT_REVIEW&amp;quot;, &amp;quot;downVotes&amp;quot;: 0, &amp;quot;itemPic&amp;quot;: &amp;quot;https://th-live.slatic.net/p/c17f28f7edeaebe00f0d1c7e35092aee.jpg&amp;quot;, &amp;quot;isBuyerShowEnabled&amp;quot;: true, &amp;quot;targetType&amp;quot;: &amp;quot;item&amp;quot;, &amp;quot;avatar&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;buyerName&amp;quot;: &amp;quot;จุฑามาศ แ.&amp;quot;, &amp;quot;boughtDate&amp;quot;: &amp;quot;05 พ.ย. 2023&amp;quot;, &amp;quot;configSku&amp;quot;: &amp;quot;481356760_TH&amp;quot;, &amp;quot;isSocialCommentsEnabled&amp;quot;: true, &amp;quot;itemUrl&amp;quot;: &amp;quot;https://www.lazada.co.th/products/7-21-3-9-i481356760-s870956759.html&amp;quot;, &amp;quot;rating&amp;quot;: 5, &amp;quot;source&amp;quot;: &amp;quot;orderDetail&amp;quot;, &amp;quot;buyerId&amp;quot;: 100059126005, &amp;quot;sellerId&amp;quot;: 1000277138, &amp;quot;helpful&amp;quot;: true, &amp;quot;skuId&amp;quot;: &amp;quot;870956759&amp;quot;, &amp;quot;isCrossVenture&amp;quot;: false, &amp;quot;upVotes&amp;quot;: 0, &amp;quot;showVideoUploader&amp;quot;: true, &amp;quot;reviewTime&amp;quot;: &amp;quot;56 นาทีก่อน&amp;quot;, &amp;quot;itemTitle&amp;quot;: &amp;quot;ชั้นวางรองเท้า ตู้เก็บรองเท้า 7ชั้น จำนวน 21 คู่ ผ้าคลุม กันน้ำ กันฝุ่น พร้อมช่องเก็บของด้านข้าง ตู้ใส่รองเท้า ชั้นวางรองเท้า ตู้เก็บรองเท้า 3ชั้น จำนวน 9 คู่ ผ้าคลุม กันน้ำ กันฝุ่น พร้อมช่องเก็บของด้านข้าง ตู้ใส่รองเท้า&amp;quot;, &amp;quot;rejected&amp;quot;: false, &amp;quot;isGoodReview&amp;quot;: false, &amp;quot;isReportable&amp;quot;: 0, &amp;quot;submitInfo&amp;quot;: { &amp;quot;WUA&amp;quot;: &amp;quot;ETlD_10U966U74/24uoh9GeDlRbriZStKwKSnr3z31Hl7jkmnhtLbgFuW3dtuFsFap37loLzTqefEEmJrPUlx/KipeSkublHLBzmvXjvGIvig+BxrA7fB6ndMux7eMG1etFNfWT45ffZUxCgzsdPoAwE6VNYUDIvFwk6uhqYdSniGDYjYPfArhkEdXm1d5oNQ4aIPiR8IYcBUTWodI4WF3nk6fLM/TYWnTyaxOXT2ydGIp9NFvTQMQ1Oa4sTKfgIImhl5sykSIB9XOkSTkkTk5x+CFfLfjqgpBa6LaM+YZ0xTdFrVLEWJEomy6bTdHpvZHb0UFyFKc+B5mOAwolzRsWhKUw==&amp;quot;, &amp;quot;appVersion&amp;quot;: &amp;quot;7.37.0&amp;quot;, &amp;quot;os&amp;quot;: &amp;quot;android&amp;quot;, &amp;quot;ENTRANCE&amp;quot;: &amp;quot;native&amp;quot;, &amp;quot;utdid&amp;quot;: &amp;quot;ZOYdmvFsmlwDAIh28OdVLEZj&amp;quot;, &amp;quot;IP&amp;quot;: &amp;quot;118.174.88.36&amp;quot;, &amp;quot;source&amp;quot;: &amp;quot;orderDetail&amp;quot;, &amp;quot;terminal&amp;quot;: &amp;quot;native&amp;quot;, &amp;quot;UA&amp;quot;: &amp;quot;{\&amp;quot;deviceModel\&amp;quot;:\&amp;quot;V2247\&amp;quot;,\&amp;quot;deviceOS\&amp;quot;:\&amp;quot;Android\&amp;quot;,\&amp;quot;deviceOSVersion\&amp;quot;:\&amp;quot;13\&amp;quot;,\&amp;quot;manufacturer\&amp;quot;:\&amp;quot;vivo\&amp;quot;,\&amp;quot;mtopSDK\&amp;quot;:\&amp;quot;MTOPSDK/3.1.1.7\&amp;quot;,\&amp;quot;mtopSDKVersion\&amp;quot;:\&amp;quot;3.1.1.7 \&amp;quot;,\&amp;quot;mtopUAString\&amp;quot;:\&amp;quot;MTOPSDK/3.1.1.7 (Android;13;vivo;V2247)\&amp;quot;}&amp;quot;, &amp;quot;APP_KEY&amp;quot;: &amp;quot;23867946&amp;quot;, &amp;quot;network&amp;quot;: &amp;quot;WIFI&amp;quot;, &amp;quot;SERVER_ENV_RAW&amp;quot;: &amp;quot;294&amp;quot;, &amp;quot;UMID&amp;quot;: &amp;quot;FIkDIAFLPGiLlgGLu3LWyZe19MmuNnW2&amp;quot;, &amp;quot;MINI_WUA&amp;quot;: &amp;quot;avgT3ecjbGSUqRfc8eE6lEYUrtmOnNv9S1OkFlhfD3SiFwClV%2ByWWzJZQrlKobswg27FnHSjpDGWIxNeIX4prka%2FnOFTWtFgwKfRsboIGRbBP5AG3b%2BAw7iddjBPdgAuREV5Nvcd9xM5wOBB6pVo981FQd9Gyxwee%2FMyz6CTWJ51HHA2ol4M%2BtVp23TW7%2Bixuy4I%3D&amp;quot;, &amp;quot;COUNTRY_CODE&amp;quot;: &amp;quot;th&amp;quot; }, &amp;quot;isQced&amp;quot;: false, &amp;quot;isCompleted&amp;quot;: 1, &amp;quot;reportTimes&amp;quot;: 0, &amp;quot;gradeItems&amp;quot;: { &amp;quot;LOGISTICS_REVIEW&amp;quot;: 5, &amp;quot;PRODUCT_REVIEW&amp;quot;: 5, &amp;quot;SELLER_REVIEW&amp;quot;: 5 }, &amp;quot;relevanceScore&amp;quot;: 16.6, &amp;quot;commentsCount&amp;quot;: 0, &amp;quot;reviewContentList&amp;quot;: [ { &amp;quot;attribute&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;content&amp;quot;: &amp;quot;&amp;quot; } ], &amp;quot;showUploader&amp;quot;: true, &amp;quot;skuInfo&amp;quot;: &amp;quot;สี:Coffce1&amp;quot;, &amp;quot;categoryId&amp;quot;: 11910 } ] } } // 查无 { &amp;quot;msg&amp;quot;: &amp;quot;未找到对应的商品评论信息&amp;quot;,//code对应的描述 &amp;quot;code&amp;quot;: 201,//返回码,详见返回码说明 &amp;quot;taskNo&amp;quot;: &amp;quot;467156499184395572610133&amp;quot;,//本次请求号 &amp;quot;charge&amp;quot;: false //计费标志 }</code></pre> <h3>错误返回样例</h3> <pre><code class="language-json">{ &amp;quot;code&amp;quot;: 400,//返回码,详见返回码说明 &amp;quot;msg&amp;quot;: &amp;quot;商品id不能为空&amp;quot;,//code对应的描述 &amp;quot;charge&amp;quot;: false //计费标志 }</code></pre> <h3>返回字段说明</h3> <table> <thead> <tr> <th>字段名</th> <th>&lt;div style=&quot;width:420px&quot;&gt;说明&lt;/div&gt;</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>返回码,详见:code返回码说明</td> </tr> <tr> <td>msg</td> <td>code对应的描述</td> </tr> <tr> <td>charge</td> <td>计费标志</td> </tr> <tr> <td>taskNo</td> <td>本次请求号</td> </tr> <tr> <td>data</td> <td>商品信息</td> </tr> </tbody> </table> <h4>code返回码说明</h4> <table> <thead> <tr> <th>code</th> <th>&lt;div style=&quot;width:420px&quot;&gt;说明&lt;/div&gt;</th> </tr> </thead> <tbody> <tr> <td>200</td> <td>成功(计费)</td> </tr> <tr> <td>201</td> <td>未找到对应的商品评论信息(不计费)</td> </tr> <tr> <td>400</td> <td>参数错误</td> </tr> <tr> <td>404</td> <td>接口地址不正确</td> </tr> <tr> <td>500</td> <td>系统维护,请稍候再试</td> </tr> <tr> <td>601</td> <td>接口未开通</td> </tr> <tr> <td>602</td> <td>账号停用</td> </tr> <tr> <td>603</td> <td>余额不足请充值</td> </tr> <tr> <td>604</td> <td>接口停用</td> </tr> <tr> <td>606</td> <td>调用超限,请稍候再试</td> </tr> <tr> <td>609</td> <td>请求过于频繁,请稍候再试</td> </tr> <tr> <td>610</td> <td>请求超时</td> </tr> <tr> <td>999</td> <td>其他,以实际返回为准</td> </tr> </tbody> </table>

页面列表

ITEM_HTML