当前位置:   article > 正文

阿里巴巴1688商品详情API返回值深度剖析:精准获取商品信息的关键

阿里巴巴1688商品详情API返回值深度剖析:精准获取商品信息的关键

在电子商务日益繁荣的今天,阿里巴巴1688作为中国领先的B2B平台,汇聚了海量的供应商和商品信息。对于商家、开发者以及希望深入了解商品数据的用户来说,如何通过有效的方式获取这些商品信息成为了一个重要议题。阿里巴巴1688商品详情API的出现,为这一需求提供了解决方案。本文将对阿里巴巴1688商品详情API的返回值进行深度剖析,探讨如何精准获取商品信息,以及这些信息在实际应用中的价值。

一、阿里巴巴1688商品详情API概述

阿里巴巴1688商品详情API是阿里巴巴开放平台提供的一项服务,允许第三方开发者通过API接口获取商品的详细信息。这些信息包括但不限于商品标题、价格、图片、规格参数、库存、发货地等。开发者可以根据自己的需求,通过调用API接口,传入商品ID或其他搜索条件,获取对应商品的详细信息。

  1. 参数说明

    • 通用参数说明

      • version:API版本
      • key:调用key,测试key:test_api_key
      • api_name:API类型[item_get,item_search]
      • cache:[yes,no]默认yes,将调用缓存的数据,速度比较快
      • result_type:[json,xml,serialize,var_export]返回数据格式,默认为json
      • lang:[cn,en,ru] 翻译语言,默认cn简体中文
    • API:item_get 参数说明: num_iid:宝贝ID

  2. 此API目前支持以下基本接口:

    • item_get 获得1688商品详情
    • item_search 按关键字搜索商品
    • item_search_img 按图搜索1688商品(拍立淘)
    • item_search_suggest 获得搜索词推荐
    • item_fee 获得商品快递费用
    • seller_info 获得店铺详情
    • item_search_shop 获得店铺的所有商品
    • item_password 获得淘口令真实url
    • upload_img 上传图片到1688
    • item_search_seller 搜索店铺列表
    • img2text 图片识别商品接口
    • item_get_app 获取1688app上原数据
    • buyer_order_list 获取购买到的商品订单列表
    • cat_get 获得1688商品分类
  3. 1688.item_get

    公共参数

    名称类型必须描述
    keyString调用key(必须以GET方式拼接在URL中)
    secretString调用密钥
    api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
    cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
    result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
    langString[cn,en,ru]翻译语言,默认cn简体中文
    versionStringAPI版本

请求参数

请求参数:num_iid=610947572360

参数说明:num_iid:1688商品ID
sales_data:&sales_data=1 获取近30天成交数据
agent:&agent=1 获取1688分销代发价格数据

 响应参数

Version: Date:

名称类型必须示例值描述

item

item[]0宝贝详情数据

 

返回数据示例

  1. {
  2. "item":{
  3. "num_iid":601824709263,
  4. "title":"韩版仿兔毛围巾秋冬毛毛围巾学生毛毛绒围脖冬季女套头防寒户外",
  5. "desc_short":"",
  6. "price":"2.2",
  7. "total_price":0,
  8. "suggestive_price":0,
  9. "orginal_price":"2.2",
  10. "nick":"_sopid@BBBEbRNm7OS0uGCXPJucMBy2w",
  11. "num":3786174,
  12. "min_num":2,
  13. "detail_url":"https://detail.1688.com/offer/601824709263.html",
  14. "pic_url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg",
  15. "brand":"",
  16. "brandId":"",
  17. "rootCatId":0,
  18. "cid":325,
  19. "crumbs":[
  20. ],
  21. "created_time":"",
  22. "modified_time":"",
  23. "delist_time":"",
  24. "desc":"<div id=\"offer-template-0\"></div><div > </div>\r\n<div ><span ><strong> <span >材质:双面仿兔毛毛绒面料,</span></strong></span></div>\r\n<div ><span ><strong><span >不掉毛(不是薄薄的单面哦)</span></strong></span></div>\r\n<div ><span ><strong ><span >厚款3.39元</span></strong></span></div>\r\n<div ><span ><strong><span ><span >普通款2.38元</span></span></strong></span></div>\r\n<div ><span ><strong><span ><span >每条围巾都是独立OPP袋子包装,放心选购!</span></span></strong></span></div>\r\n<div ><span ><strong><span >现货供应,厂家直销,没有中间商赚差价,有大量可以谈价,有量有价</span></strong></span></div>\r\n<div ><span ><strong><span >(抖音,快手,直播电商福利品,天猫,淘宝,PDD,跨境电商供应商)</span></strong></span></div>\r\n<div ><strong><span ><span ><span >这款围巾是不掉毛的,有些激光高温裁剪残留的浮毛,抖抖就好了哦。</span></span></span></strong></div>\r\n<div > </div>\r\n<div ><span ><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01emutXa27pyd6vYZzm_!!2206475177847-0-cib.jpg\" alt=\"undefined\"/><br/><strong>此图拉拉袋包装的为客户定做款(大货是OPP透明袋独立包装)</strong><br/><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01kFnNOl1MP9H5642lo_!!2272041426.jpg\" align=\"absmiddle\"/></span></div>\r\n<div ><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/TB2lZSUX7iHJuJjSZFjXXcGvXXa_!!2272041426.jpg\" align=\"absmiddle\"/><img src=\"https://img.alicdn.com/imgextra/i2/2272041426/TB2rvmVXYSGJuJjSZFqXXXo2pXa_!!2272041426.jpg\" align=\"absmiddle\"/></div>\r\n<div > </div>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01EKuyER1MP9LVqRODf_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01fH7zeu1MP9LXYMDb9_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01o03kWB1MP9LUPh2vD_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01zAl3p11MP9LTi5nZh_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01Zv9KBT1MP9LUIKRow_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01VlbKPj1MP9LU0NVFN_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01MjaoVZ1MP9LTiFjny_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01junsnm1MP9LX5bOdM_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i2/2272041426/O1CN014Dv2oq1MP9LU0KgIb_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01jNA7KZ1MP9LUHdDBF_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01JZW4Hn1MP9LUHd91D_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01nSbj2H1MP9LVqZ2mg_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01HmPSpT1MP9LSDyrsr_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p> </p>\r\n<div >..........</div><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-4.65990d0ea4c43&p=1778786759&k=92716&t=1704529167\" style=\"display:none\" />",
  25. "desc_img":[
  26. "https://cbu01.alicdn.com/img/ibank/O1CN01emutXa27pyd6vYZzm_!!2206475177847-0-cib.jpg",
  27. "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01kFnNOl1MP9H5642lo_!!2272041426.jpg",
  28. "https://img.alicdn.com/imgextra/i3/2272041426/TB2lZSUX7iHJuJjSZFjXXcGvXXa_!!2272041426.jpg",
  29. "https://img.alicdn.com/imgextra/i2/2272041426/TB2rvmVXYSGJuJjSZFqXXXo2pXa_!!2272041426.jpg",
  30. "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01EKuyER1MP9LVqRODf_!!2272041426.jpg",
  31. "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01fH7zeu1MP9LXYMDb9_!!2272041426.jpg",
  32. "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01o03kWB1MP9LUPh2vD_!!2272041426.jpg",
  33. "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01zAl3p11MP9LTi5nZh_!!2272041426.jpg",
  34. "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01Zv9KBT1MP9LUIKRow_!!2272041426.jpg",
  35. "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01VlbKPj1MP9LU0NVFN_!!2272041426.jpg",
  36. "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01MjaoVZ1MP9LTiFjny_!!2272041426.jpg",
  37. "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01junsnm1MP9LX5bOdM_!!2272041426.jpg",
  38. "https://img.alicdn.com/imgextra/i2/2272041426/O1CN014Dv2oq1MP9LU0KgIb_!!2272041426.jpg",
  39. "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01jNA7KZ1MP9LUHdDBF_!!2272041426.jpg",
  40. "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01JZW4Hn1MP9LUHd91D_!!2272041426.jpg",
  41. "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01nSbj2H1MP9LVqZ2mg_!!2272041426.jpg",
  42. "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01HmPSpT1MP9LSDyrsr_!!2272041426.jpg"
  43. ],
  44. "item_imgs":[
  45. {
  46. "url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg"
  47. },
  48. {
  49. "url":"https://cbu01.alicdn.com/img/ibank/11921665153_1818272533.jpg"
  50. },
  51. {
  52. "url":"https://cbu01.alicdn.com/img/ibank/11884953047_1818272533.jpg"
  53. },
  54. {
  55. "url":"https://cbu01.alicdn.com/img/ibank/11954549050_1818272533.jpg"
  56. },
  57. {
  58. "url":"https://cbu01.alicdn.com/img/ibank/12483429103_1818272533.jpg"
  59. }
  60. ],
  61. "item_weight":"",
  62. "item_size":"",
  63. "location":"浙江省 金华市",
  64. "post_fee":"",
  65. "express_fee":"",
  66. "ems_fee":"",
  67. "shipping_to":"",
  68. "has_discount":"",
  69. "video":"https://cloud.video.taobao.com/play/u/2206475177847/p/1/e/6/t/1/238604472723.mp4",
  70. "is_virtual":"",
  71. "sample_id":"",
  72. "is_promotion":"",
  73. "props_name":"0:0:颜色:红色;0:1:颜色:黑色;0:2:颜色:白色;0:3:颜色:灰色;0:4:颜色:杏色;0:5:颜色:粉色;0:6:颜色:咖啡色;0:7:颜色:米色;0:8:颜色:卡其色",
  74. "prop_imgs":{
  75. "prop_img":[
  76. {
  77. "properties":"0:0",
  78. "url":"https://cbu01.alicdn.com/img/ibank/11884977080_1818272533.jpg"
  79. },
  80. {
  81. "properties":"0:1",
  82. "url":"https://cbu01.alicdn.com/img/ibank/11954549680_1818272533.jpg"
  83. },
  84. {
  85. "properties":"0:2",
  86. "url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg"
  87. },
  88. {
  89. "properties":"0:3",
  90. "url":"https://cbu01.alicdn.com/img/ibank/11921680795_1818272533.jpg"
  91. },
  92. {
  93. "properties":"0:4",
  94. "url":"https://cbu01.alicdn.com/img/ibank/11954549050_1818272533.jpg"
  95. },
  96. {
  97. "properties":"0:5",
  98. "url":"https://cbu01.alicdn.com/img/ibank/11921689268_1818272533.jpg"
  99. },
  100. {
  101. "properties":"0:6",
  102. "url":"https://cbu01.alicdn.com/img/ibank/11954552765_1818272533.jpg"
  103. },
  104. {
  105. "properties":"0:7",
  106. "url":"https://cbu01.alicdn.com/img/ibank/O1CN01PtW77W27pyekEhcAt_!!2206475177847-0-cib.jpg"
  107. },
  108. {
  109. "properties":"0:8",
  110. "url":"https://cbu01.alicdn.com/img/ibank/O1CN01t2Q1ci27pyjXB0fxo_!!2206475177847-0-cib.jpg"
  111. }
  112. ]
  113. },
  114. "property_alias":"0:0:红色;0:1:黑色;0:2:白色;0:3:灰色;0:4:杏色;0:5:粉色;0:6:咖啡色;0:7:米色;0:8:卡其色",
  115. "props":[
  116. {
  117. "name":"品牌",
  118. "value":"高着"
  119. },
  120. {
  121. "name":"编织方法",
  122. "value":"经编"
  123. },
  124. {
  125. "name":"功能",
  126. "value":"保暖"
  127. },
  128. {
  129. "name":"适合季节",
  130. "value":"冬季"
  131. },
  132. {
  133. "name":"货号",
  134. "value":"WJ618"
  135. },
  136. {
  137. "name":"产地",
  138. "value":"浙江义乌"
  139. },
  140. {
  141. "name":"款式",
  142. "value":"中长"
  143. },
  144. {
  145. "name":"颜色",
  146. "value":"红色"
  147. },
  148. {
  149. "name":"颜色",
  150. "value":"黑色"
  151. },
  152. {
  153. "name":"颜色",
  154. "value":"白色"
  155. },
  156. {
  157. "name":"颜色",
  158. "value":"灰色"
  159. },
  160. {
  161. "name":"颜色",
  162. "value":"杏色"
  163. },
  164. {
  165. "name":"颜色",
  166. "value":"粉色"
  167. },
  168. {
  169. "name":"颜色",
  170. "value":"咖啡色"
  171. },
  172. {
  173. "name":"颜色",
  174. "value":"米色"
  175. },
  176. {
  177. "name":"颜色",
  178. "value":"卡其色"
  179. },
  180. {
  181. "name":"主要下游平台",
  182. "value":"淘宝"
  183. },
  184. {
  185. "name":"主要下游平台",
  186. "value":"京东"
  187. },
  188. {
  189. "name":"主要下游平台",
  190. "value":"ebay"
  191. },
  192. {
  193. "name":"主要下游平台",
  194. "value":"亚马逊"
  195. },
  196. {
  197. "name":"主要下游平台",
  198. "value":"wish"
  199. },
  200. {
  201. "name":"主要下游平台",
  202. "value":"快手"
  203. },
  204. {
  205. "name":"主要下游平台",
  206. "value":"速卖通"
  207. },
  208. {
  209. "name":"主要下游平台",
  210. "value":"天猫"
  211. },
  212. {
  213. "name":"主要下游平台",
  214. "value":"独立站"
  215. },
  216. {
  217. "name":"主要下游平台",
  218. "value":"LAZADA"
  219. },
  220. {
  221. "name":"主要下游平台",
  222. "value":"拼多多"
  223. },
  224. {
  225. "name":"主要下游平台",
  226. "value":"抖音"

 

二、商品详情API返回值详解

  1. 基础信息

    • 商品ID:商品的唯一标识符,用于在阿里巴巴1688平台上定位商品。
    • 商品标题:商品的名称或标题,通常包含了商品的核心信息。
    • 商品价格:商品的售价,根据供应商的设置可能包含不同的价格区间或折扣信息。
    • 商品图片链接:商品的图片资源链接,用于展示商品的外观和细节。
  2. 规格参数

    • 品牌、型号、产地等基本信息:这些参数通常用于描述商品的基本属性和特点。
    • 材质、尺寸、颜色等详细信息:这些参数可以帮助用户更全面地了解商品的特性和适用场景。
    • 包装方式、包装清单等物流信息:这些信息对于物流和售后服务具有重要意义。
  3. 库存与发货

    • 商品库存:显示当前商品的库存数量,帮助用户了解商品的供应情况。
    • 发货地:显示商品的发货地点,有助于用户估计物流时间和成本。
    • 发货时间:显示供应商承诺的发货时间,帮助用户规划订单。
  4. 销售与服务

    • 销量与评价:显示商品的销量和用户的评价信息,有助于用户了解商品的市场表现和用户反馈。
    • 售后服务政策:显示供应商的售后服务政策,包括退换货规则、保修期限等。
  5. 其他信息

    • 商品详情页链接:提供商品在阿里巴巴1688平台上的详情页链接,方便用户直接查看。
    • 相关推荐商品:根据用户的搜索和浏览行为,推荐相关的商品信息。
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/668366
推荐阅读
相关标签
  

闽ICP备14008679号