聚美智数


拼多多商品详情

<h3>接口描述</h3> <ul> <li>根据商品id获取拼多多商品详细信息</li> </ul> <h3>请求地址</h3> <p><code>https://api.jumdata.com/pinduoduo/goods/detail</code></p> <h3>请求方式</h3> <ul> <li>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> </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;, &amp;quot;taskNo&amp;quot;: &amp;quot;781176386153000592870169&amp;quot;, &amp;quot;charge&amp;quot;: true, &amp;quot;data&amp;quot;: { &amp;quot;original_price&amp;quot;: 122, &amp;quot;delivery_time&amp;quot;: &amp;quot;48小时发货&amp;quot;, &amp;quot;is_onsale&amp;quot;: 1, &amp;quot;is_subsidy&amp;quot;: 0, &amp;quot;sku_big_types&amp;quot;: [ { &amp;quot;spec_key&amp;quot;: &amp;quot;组合&amp;quot;, &amp;quot;spec_values&amp;quot;: [ { &amp;quot;17911234806&amp;quot;: &amp;quot;1袋(23年3月产)&amp;quot; }, { &amp;quot;17911239622&amp;quot;: &amp;quot;2袋(23年3月产)&amp;quot; }, { &amp;quot;17911238664&amp;quot;: &amp;quot;4袋(23年3月产)&amp;quot; }, { &amp;quot;19324379219&amp;quot;: &amp;quot;6袋(23年3月产)+赠封口夹&amp;quot; } ], &amp;quot;spec_key_id&amp;quot;: 2774 } ], &amp;quot;ui&amp;quot;: [], &amp;quot;price&amp;quot;: { &amp;quot;line_price&amp;quot;: 12200, &amp;quot;browser_price_style&amp;quot;: 2, &amp;quot;min_on_sale_group_price&amp;quot;: 1560, &amp;quot;max_on_sale_normal_price&amp;quot;: 12100, &amp;quot;unselect_normal_save_price&amp;quot;: 1560, &amp;quot;max_normal_price&amp;quot;: 12100, &amp;quot;min_normal_price&amp;quot;: 2100, &amp;quot;max_on_sale_group_price&amp;quot;: 8580, &amp;quot;min_group_price&amp;quot;: 1560, &amp;quot;price_style&amp;quot;: 2, &amp;quot;max_group_price&amp;quot;: 8580, &amp;quot;min_on_sale_normal_price&amp;quot;: 2100, &amp;quot;new_price_prefix&amp;quot;: &amp;quot;券前&amp;quot; }, &amp;quot;mall_id&amp;quot;: &amp;quot;216822562&amp;quot;, &amp;quot;cate_name&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;sub_sections&amp;quot;: [], &amp;quot;mall_name&amp;quot;: &amp;quot;宝贝粮仓母婴用品店&amp;quot;, &amp;quot;goods_name_suffix&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;group&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;goods_name&amp;quot;: &amp;quot;三元全家甜奶粉400g学生中老年女士成人全脂奶粉&amp;quot;, &amp;quot;main_figures&amp;quot;: [ &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/e5a07569-b73d-410c-b4d1-54585627e4bf.jpeg.a.jpeg&amp;quot;, &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/1ba2e3f4-eafa-4445-8132-32ec7ee29e72.jpeg.a.jpeg&amp;quot;, &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/968c4b2b-fac9-471d-b571-47c62639b04c.jpeg.a.jpeg&amp;quot;, &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/e1963e79-a595-434b-ad40-660f83406498.jpeg.a.jpeg&amp;quot;, &amp;quot;https://t16img.yangkeduo.com/garner-api/7a50e61c14696e043620d3cc17ce64ba.jpeg&amp;quot;, &amp;quot;https://t16img.yangkeduo.com/garner-api/97689171a8650ebc919fe43ef21be4ba.jpeg&amp;quot;, &amp;quot;https://t16img.yangkeduo.com/garner-api/3a73ead8fb32a2f8ff483f75e63ce100.jpeg&amp;quot;, &amp;quot;https://img.pddpic.com/mms-material-img/2023-01-05/b8b4d074-909b-4fac-bce1-0a8143e0c3d9.jpeg&amp;quot; ], &amp;quot;goods_id&amp;quot;: 8420152864, &amp;quot;cate_id&amp;quot;: 20412, &amp;quot;goods_comment_text&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;service_promise&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;detail_figuers&amp;quot;: [ &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/dbcb8609-60c7-4f01-9743-33e01981828d.jpeg.a.jpeg&amp;quot;, &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/436333d7-6652-4cd6-846f-3248b75629ca.jpeg.a.jpeg&amp;quot;, &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/3a1a3280-6ec5-4231-b354-36dc29de7346.jpeg.a.jpeg&amp;quot;, &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/d4b64936-e337-485f-92f8-efe4e4f1ae63.jpeg.a.jpeg&amp;quot;, &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/53f82ba1-29db-4173-bfe6-a89d064cf50e.jpeg.a.jpeg&amp;quot;, &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/42f0ecbe-16d2-4bd3-9187-3ee70a3f0bc6.jpeg.a.jpeg&amp;quot; ], &amp;quot;share_title&amp;quot;: &amp;quot;三元全家甜奶粉400g学生中老年女士成人全脂奶粉&amp;quot;, &amp;quot;mall_logo&amp;quot;: &amp;quot;https://t00img.yangkeduo.com/goods/images/2019-02-20/cd6c890e-61cf-457e-96e6-f3d6b4d62e65.jpg&amp;quot;, &amp;quot;desc&amp;quot;: &amp;quot;三元全家甜奶粉400g学生中老年女士成人全脂奶粉&amp;quot;, &amp;quot;sku_products&amp;quot;: [ { &amp;quot;is_sale&amp;quot;: 1, &amp;quot;skus&amp;quot;: &amp;quot;17911234806&amp;quot;, &amp;quot;quantity&amp;quot;: 56, &amp;quot;coupon&amp;quot;: 0, &amp;quot;sku_pre_sale_time&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;group_price&amp;quot;: &amp;quot;15.6&amp;quot;, &amp;quot;sku_url&amp;quot;: &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/4f1b6a19-58df-4b2b-84d7-ce23342831b2.jpeg.a.jpeg&amp;quot;, &amp;quot;specs&amp;quot;: [ { &amp;quot;pname&amp;quot;: &amp;quot;组合&amp;quot;, &amp;quot;values&amp;quot;: { &amp;quot;vid&amp;quot;: 17911234806, &amp;quot;vname&amp;quot;: &amp;quot;1袋(23年3月产)&amp;quot; }, &amp;quot;pid&amp;quot;: 2774 } ], &amp;quot;sku_pre_sale_tip&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;price&amp;quot;: &amp;quot;21.0&amp;quot;, &amp;quot;is_sku_pre_sale&amp;quot;: 0, &amp;quot;id&amp;quot;: 1407684908279, &amp;quot;price_display&amp;quot;: [] }, { &amp;quot;is_sale&amp;quot;: 1, &amp;quot;skus&amp;quot;: &amp;quot;17911239622&amp;quot;, &amp;quot;quantity&amp;quot;: 86, &amp;quot;coupon&amp;quot;: 0, &amp;quot;sku_pre_sale_time&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;group_price&amp;quot;: &amp;quot;29.8&amp;quot;, &amp;quot;sku_url&amp;quot;: &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/d3652a7a-ccd5-47e2-8fa8-d6d76f15607d.jpeg.a.jpeg&amp;quot;, &amp;quot;specs&amp;quot;: [ { &amp;quot;pname&amp;quot;: &amp;quot;组合&amp;quot;, &amp;quot;values&amp;quot;: { &amp;quot;vid&amp;quot;: 17911239622, &amp;quot;vname&amp;quot;: &amp;quot;2袋(23年3月产)&amp;quot; }, &amp;quot;pid&amp;quot;: 2774 } ], &amp;quot;sku_pre_sale_tip&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;price&amp;quot;: &amp;quot;41.0&amp;quot;, &amp;quot;is_sku_pre_sale&amp;quot;: 0, &amp;quot;id&amp;quot;: 1407684908280, &amp;quot;price_display&amp;quot;: [] }, { &amp;quot;is_sale&amp;quot;: 1, &amp;quot;skus&amp;quot;: &amp;quot;17911238664&amp;quot;, &amp;quot;quantity&amp;quot;: 55, &amp;quot;coupon&amp;quot;: 0, &amp;quot;sku_pre_sale_time&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;group_price&amp;quot;: &amp;quot;57.8&amp;quot;, &amp;quot;sku_url&amp;quot;: &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/d3652a7a-ccd5-47e2-8fa8-d6d76f15607d.jpeg.a.jpeg&amp;quot;, &amp;quot;specs&amp;quot;: [ { &amp;quot;pname&amp;quot;: &amp;quot;组合&amp;quot;, &amp;quot;values&amp;quot;: { &amp;quot;vid&amp;quot;: 17911238664, &amp;quot;vname&amp;quot;: &amp;quot;4袋(23年3月产)&amp;quot; }, &amp;quot;pid&amp;quot;: 2774 } ], &amp;quot;sku_pre_sale_tip&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;price&amp;quot;: &amp;quot;81.0&amp;quot;, &amp;quot;is_sku_pre_sale&amp;quot;: 0, &amp;quot;id&amp;quot;: 1407684908281, &amp;quot;price_display&amp;quot;: [] }, { &amp;quot;is_sale&amp;quot;: 1, &amp;quot;skus&amp;quot;: &amp;quot;19324379219&amp;quot;, &amp;quot;quantity&amp;quot;: 56, &amp;quot;coupon&amp;quot;: 1, &amp;quot;sku_pre_sale_time&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;group_price&amp;quot;: &amp;quot;85.8&amp;quot;, &amp;quot;sku_url&amp;quot;: &amp;quot;https://img.pddpic.com/mms-material-img/2022-03-14/98540a08-aac6-47e7-a0eb-b88a85823f42.jpeg.a.jpeg&amp;quot;, &amp;quot;specs&amp;quot;: [ { &amp;quot;pname&amp;quot;: &amp;quot;组合&amp;quot;, &amp;quot;values&amp;quot;: { &amp;quot;vid&amp;quot;: 19324379219, &amp;quot;vname&amp;quot;: &amp;quot;6袋(23年3月产)+赠封口夹&amp;quot; }, &amp;quot;pid&amp;quot;: 2774 } ], &amp;quot;sku_pre_sale_tip&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;price&amp;quot;: &amp;quot;121.0&amp;quot;, &amp;quot;is_sku_pre_sale&amp;quot;: 0, &amp;quot;id&amp;quot;: 1407684908282, &amp;quot;price_display&amp;quot;: [] } ], &amp;quot;activity&amp;quot;: [], &amp;quot;thumb&amp;quot;: &amp;quot;https://img.pddpic.com/gaudit-image/2022-03-14/de6cf3407f6099d7a01ccfce84cc18d5.jpeg&amp;quot;, &amp;quot;side_sales_tip&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;title&amp;quot;: &amp;quot;三元全家甜奶粉400g学生中老年女士成人全脂奶粉&amp;quot;, &amp;quot;platform&amp;quot;: &amp;quot;拼多多商品详情&amp;quot;, &amp;quot;sold_total&amp;quot;: 0, &amp;quot;video_url&amp;quot;: &amp;quot;https://video3.pddpic.com/i1/2021-07-27/8cbfcdc92c2f1ef6497b10f38bc42803.mp4&amp;quot;, &amp;quot;mall_goods_num&amp;quot;: 106, &amp;quot;pre_sale_stamp&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;prices&amp;quot;: 15.6, &amp;quot;is_pre_sale&amp;quot;: 0, &amp;quot;quantity&amp;quot;: 978, &amp;quot;goods_star&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;sales_tip&amp;quot;: &amp;quot;已拼10万+件&amp;quot;, &amp;quot;mall_data_dsr&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;goods_local&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;postage&amp;quot;: &amp;quot;全场包邮&amp;quot;, &amp;quot;cate_id4&amp;quot;: 0, &amp;quot;cate_id3&amp;quot;: 20412, &amp;quot;cate_id2&amp;quot;: 6567, &amp;quot;cate_id1&amp;quot;: 6536, &amp;quot;section_list&amp;quot;: [], &amp;quot;goods_comment&amp;quot;: 931, &amp;quot;properties&amp;quot;: [ { &amp;quot;reference_id&amp;quot;: 2432, &amp;quot;ref_pid&amp;quot;: 310, &amp;quot;values&amp;quot;: [ &amp;quot;三元&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;品牌&amp;quot; }, { &amp;quot;reference_id&amp;quot;: 0, &amp;quot;ref_pid&amp;quot;: 677, &amp;quot;values&amp;quot;: [ &amp;quot;袋装&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;包装方式&amp;quot; }, { &amp;quot;reference_id&amp;quot;: 0, &amp;quot;ref_pid&amp;quot;: 714, &amp;quot;values&amp;quot;: [ &amp;quot;400g&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;净含量&amp;quot; }, { &amp;quot;reference_id&amp;quot;: 0, &amp;quot;ref_pid&amp;quot;: 905, &amp;quot;values&amp;quot;: [ &amp;quot;含蔗糖&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;是否含蔗糖&amp;quot; }, { &amp;quot;reference_id&amp;quot;: 0, &amp;quot;ref_pid&amp;quot;: 338, &amp;quot;values&amp;quot;: [ &amp;quot;成人&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;适用人群&amp;quot; }, { &amp;quot;ref_pid&amp;quot;: -5355, &amp;quot;values&amp;quot;: [ &amp;quot;中国大陆/河北省/石家庄市&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;产地&amp;quot; }, { &amp;quot;values&amp;quot;: [ &amp;quot;河南省&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;发货地&amp;quot; }, { &amp;quot;reference_id&amp;quot;: 0, &amp;quot;ref_pid&amp;quot;: 405, &amp;quot;values&amp;quot;: [ &amp;quot;2023-03-01&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;生产日期&amp;quot; }, { &amp;quot;reference_id&amp;quot;: 0, &amp;quot;ref_pid&amp;quot;: 406, &amp;quot;values&amp;quot;: [ &amp;quot;540天&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;保质期&amp;quot; }, { &amp;quot;reference_id&amp;quot;: 0, &amp;quot;ref_pid&amp;quot;: 743, &amp;quot;values&amp;quot;: [ &amp;quot;SC10513018400046&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;食品生产许可证编号&amp;quot; }, { &amp;quot;reference_id&amp;quot;: 0, &amp;quot;ref_pid&amp;quot;: 740, &amp;quot;values&amp;quot;: [ &amp;quot;GB19644&amp;quot; ], &amp;quot;key&amp;quot;: &amp;quot;产品标准号&amp;quot; } ], &amp;quot;promotion&amp;quot;: { &amp;quot;mall_promotion_new_cell&amp;quot;: { &amp;quot;cell_detail_list&amp;quot;: [ { &amp;quot;copy_writing&amp;quot;: &amp;quot;再拼179件后恢复20元起&amp;quot;, &amp;quot;copy_writing_color&amp;quot;: &amp;quot;#E02E24&amp;quot;, &amp;quot;background_color&amp;quot;: &amp;quot;#FFFFFF&amp;quot;, &amp;quot;cell_tag_type&amp;quot;: 6, &amp;quot;frame_color&amp;quot;: &amp;quot;#E02E24&amp;quot; }, { &amp;quot;copy_writing&amp;quot;: &amp;quot;2件9.9折&amp;quot;, &amp;quot;copy_writing_color&amp;quot;: &amp;quot;#E02E24&amp;quot;, &amp;quot;background_color&amp;quot;: &amp;quot;#FFFFFF&amp;quot;, &amp;quot;cell_tag_type&amp;quot;: 26, &amp;quot;frame_color&amp;quot;: &amp;quot;#E02E24&amp;quot; }, { &amp;quot;copy_writing&amp;quot;: &amp;quot;满100减5&amp;quot;, &amp;quot;copy_writing_color&amp;quot;: &amp;quot;#E02E24&amp;quot;, &amp;quot;background_color&amp;quot;: &amp;quot;#FFFFFF&amp;quot;, &amp;quot;cell_tag_type&amp;quot;: 4, &amp;quot;frame_color&amp;quot;: &amp;quot;#E02E24&amp;quot; } ] } } } }</code></pre> <h3>查无返回样例</h3> <pre><code>{ &amp;quot;msg&amp;quot;: &amp;quot;未查询到商品信息&amp;quot;, &amp;quot;code&amp;quot;: 201, &amp;quot;taskNo&amp;quot;: &amp;quot;91022205788462492535&amp;quot;, &amp;quot;charge&amp;quot;: true }</code></pre> <h3>错误返回样例</h3> <pre><code class="language-json">{ &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;: &amp;quot;商品id不能为空&amp;quot;, &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>返回具体结果,object类型,详见data返回字段描述</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