• 根据关键词取商品列表 API 返回值说明


            当您使用API网站时,用户无需再点击另一个网站或应用程序,就可以获得数据,从而节省了时间。公司无需雇用昂贵的开发人员来创建定制软件,而是可以使用 API 实现跨应用程序和程序的无缝集成。公司可以利用现有软件,无需开发自己的软件,从而节省研发费用。软件开发没有延迟,因为 API 通常都已编写好,只需要与每一端集成即可。随着新软件被添加到企业中,API 将所有内容集成在一起,因此信息流是无缝的。企业可以为客户提供增强的客户体验,因为他们可以访问全新的数据集和功能。

    公共参数

    请求地址:https://api-gw.onebound.cn/pinduoduo/item_search

    名称类型必须描述
    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版本

    请求参数

    请求参数:q=女装&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=

    参数说明:q:关键词, sort:排序[bid,_bid,_sale,sale] (bid:商品价格,sale:销量,加_前缀为从大到小排序)

    响应参数

    Version: Date:

    名称类型必须示例值描述

    items

    items[]0根据关键词取商品列表

    title

    String0啄木鸟双面穿棉衣女2020冬装加厚宽松韩版棉袄小个子羽绒棉外套冬商品标题

    pic_url

    String0https://t00img.yangkeduo.com/goods/images/2020-12-08/1226cd586487b63527d86fdabb8608cc.jpeg宝贝图片

    price

    Float0198价格

    promotion_price

    Float0198优惠价格

    sales

    Int014830销量

    num_iid

    Bigint0203344831134宝贝ID

    sample_id

    String0商品风格标识ID

    seller_nick

    String0时沫女装专营店掌柜昵称

    post_fee

    Float0物流费用

    area

    String0店铺所在地

    detail_url

    String0http://yangkeduo.com/goods.html?goods_id=203344831134宝贝链接

    响应男装示例

    1. {
    2. "items": {
    3. "keyword": "男装",
    4. "page": "1",
    5. "real_total_results": 850,
    6. "total_results": 850,
    7. "list_count": 20,
    8. "item": [
    9. {
    10. "title": "工作服男迷彩服男套装外套春秋加厚电工焊工汽修耐磨劳保服军训服",
    11. "pic_url": "https://t00img.yangkeduo.com/goods/images/2020-12-15/956fda490eb7e88649e8dc8719061455.jpeg",
    12. "price": 20.99,
    13. "promotion_price": 20.99,
    14. "sales": 100000,
    15. "num_iid": 6768717052,
    16. "sample_id": "",
    17. "seller_nick": "华旭战神户外劳保",
    18. "post_fee": "",
    19. "area": "",
    20. "detail_url": "http://yangkeduo.com/goods.html?goods_id=6768717052"
    21. },
    22. {
    23. "title": "罗蒙秋冬厚款高弹力松紧腰运动裤直筒宽松中年男士商务休闲裤加绒",
    24. "pic_url": "https://img.pddpic.com/gaudit-image/2022-05-07/221525ee17094411eab933bcf84fa1a4.jpeg",
    25. "price": 79.7,
    26. "promotion_price": 79.7,
    27. "sales": 85000,
    28. "num_iid": 359652483824,
    29. "sample_id": "",
    30. "seller_nick": "罗蒙欧爵豹专卖店",
    31. "post_fee": "",
    32. "area": "",
    33. "detail_url": "http://yangkeduo.com/goods.html?goods_id=359652483824"
    34. },
    35. {
    36. "title": "连帽薄款春秋卫衣男2022新款中学生男装韩版潮流套头连帽卫衣外套",
    37. "pic_url": "https://img.pddpic.com/gaudit-image/2022-02-11/49884ab98ec926a6a70747b92bf97105.jpeg",
    38. "price": 38.8,
    39. "promotion_price": 38.8,
    40. "sales": 29000,
    41. "num_iid": 326198536218,
    42. "sample_id": "",
    43. "seller_nick": "老七服装",
    44. "post_fee": "",
    45. "area": "",
    46. "detail_url": "http://yangkeduo.com/goods.html?goods_id=326198536218"
    47. },
    48. {
    49. "title": "花花公子牛仔裤男秋冬厚款宽松直筒弹力休闲大码百搭男士加绒裤子",
    50. "pic_url": "https://img.pddpic.com/gaudit-image/2022-03-14/150deba4e462a3e411ae2dc2d4d0f4f9.jpeg",
    51. "price": 42,
    52. "promotion_price": 42,
    53. "sales": 100000,
    54. "num_iid": 4849420951,
    55. "sample_id": "",
    56. "seller_nick": "秦楚服饰",
    57. "post_fee": "",
    58. "area": "",
    59. "detail_url": "http://yangkeduo.com/goods.html?goods_id=4849420951"
    60. },
    61. {
    62. "title": "凡客诚品秋冬厚款高弹力松紧腰运动裤直筒宽松中年男士休闲裤加绒",
    63. "pic_url": "https://img.pddpic.com/gaudit-image/2022-10-31/22210059aba8b8f19b6798689ae6d0b5.jpeg",
    64. "price": 79,
    65. "promotion_price": 79,
    66. "sales": 15000,
    67. "num_iid": 423211539790,
    68. "sample_id": "",
    69. "seller_nick": "凡客诚品VANCL驰沣专卖店",
    70. "post_fee": "",
    71. "area": "",
    72. "detail_url": "http://yangkeduo.com/goods.html?goods_id=423211539790"
    73. },
    74. {
    75. "title": "南极人春秋外套男潮流帅气男士连帽工装夹克宽松上衣褂子薄厚可选",
    76. "pic_url": "https://img.pddpic.com/gaudit-image/2022-10-30/66c6e83de78b2e6e5d932be523219b09.jpeg",
    77. "price": 35.7,
    78. "promotion_price": 35.7,
    79. "sales": 100000,
    80. "num_iid": 81669657376,
    81. "sample_id": "",
    82. "seller_nick": "南极人亿添专卖店",
    83. "post_fee": "",
    84. "area": "",
    85. "detail_url": "http://yangkeduo.com/goods.html?goods_id=81669657376"
    86. },
    87. {
    88. "title": "EBIO男士运动套装加绒春秋款中老年男士休闲套装爸爸装跑步服大码",
    89. "pic_url": "https://img.pddpic.com/gaudit-image/2022-11-15/6eb6fa248cb2ecc3966e55e6ee6f8ac7.jpeg",
    90. "price": 59.8,
    91. "promotion_price": 59.8,
    92. "sales": 13000,
    93. "num_iid": 413823530944,
    94. "sample_id": "",
    95. "seller_nick": "品质男装休闲运动服饰店",
    96. "post_fee": "",
    97. "area": "",
    98. "detail_url": "http://yangkeduo.com/goods.html?goods_id=413823530944"
    99. },
    100. {
    101. "title": "大码男装潮流百搭加肥加大卫裤胖子男士裤子秋冬宽松休闲束脚裤子",
    102. "pic_url": "https://img.pddpic.com/gaudit-image/2022-02-27/6048c16a9802aa801cdd2caa758e7012.jpeg",
    103. "price": 35.9,
    104. "promotion_price": 35.9,
    105. "sales": 18000,
    106. "num_iid": 302874100416,
    107. "sample_id": "",
    108. "seller_nick": "老头说这店潮",
    109. "post_fee": "",
    110. "area": "",
    111. "detail_url": "http://yangkeduo.com/goods.html?goods_id=302874100416"
    112. },
    113. {
    114. "title": "秋冬季加绒休闲裤子男士大码宽松运动学生束脚九分裤潮流百搭卫裤",
    115. "pic_url": "https://img.pddpic.com/gaudit-image/2021-08-21/41b4a033dc4ac3e9a13417943cf80ca0.jpeg",
    116. "price": 24.95,
    117. "promotion_price": 24.95,
    118. "sales": 100000,
    119. "num_iid": 271612591180,
    120. "sample_id": "",
    121. "seller_nick": "左万服装旗舰店",
    122. "post_fee": "",
    123. "area": "",
    124. "detail_url": "http://yangkeduo.com/goods.html?goods_id=271612591180"
    125. },
    126. {
    127. "title": "男士休闲裤秋冬加绒加厚保暖裤子男宽松潮流学生束脚哈伦牛仔裤男",
    128. "pic_url": "https://img.pddpic.com/gaudit-image/2021-10-30/43295f8758e9117e09c9624172fc4941.jpeg",
    129. "price": 14.94,
    130. "promotion_price": 14.94,
    131. "sales": 100000,
    132. "num_iid": 294570718242,
    133. "sample_id": "",
    134. "seller_nick": "WWY时尚韩版店",
    135. "post_fee": "",
    136. "area": "",
    137. "detail_url": "http://yangkeduo.com/goods.html?goods_id=294570718242"
    138. },
    139. {
    140. "title": "啄木鸟正品2022秋冬厚款牛仔裤男修身直筒弹力休闲加绒加厚长裤子",
    141. "pic_url": "https://img.pddpic.com/gaudit-image/2022-11-15/87124090a2fe08aafb1a82733462f753.jpeg",
    142. "price": 59.9,
    143. "promotion_price": 59.9,
    144. "sales": 100000,
    145. "num_iid": 409593479440,
    146. "sample_id": "",
    147. "seller_nick": "TUCANO啄木鸟高瓴专卖店",
    148. "post_fee": "",
    149. "area": "",
    150. "detail_url": "http://yangkeduo.com/goods.html?goods_id=409593479440"
    151. },
    152. {
    153. "title": "美式潮牌裤子男冬季直筒宽松大码男裤运动卫裤加绒束脚裤休闲长裤",
    154. "pic_url": "https://img.pddpic.com/gaudit-image/2022-10-05/482c6a83b161078dadc2bdeb983046e0.jpeg",
    155. "price": 19.9,
    156. "promotion_price": 19.9,
    157. "sales": 100000,
    158. "num_iid": 413164462046,
    159. "sample_id": "",
    160. "seller_nick": "饰辰服饰官方旗舰店",
    161. "post_fee": "",
    162. "area": "",
    163. "detail_url": "http://yangkeduo.com/goods.html?goods_id=413164462046"
    164. },
    165. {
    166. "title": "富贵鸟秋冬季男士仿棉卫裤休闲裤韩版潮流百搭情侣运动休闲裤子男",
    167. "pic_url": "https://img.pddpic.com/gaudit-image/2022-03-02/f9ced9540deab5aa25071dd1e21b9da3.jpeg",
    168. "price": 19.9,
    169. "promotion_price": 19.9,
    170. "sales": 100000,
    171. "num_iid": 326475017289,
    172. "sample_id": "",
    173. "seller_nick": "男装部落服饰工厂店",
    174. "post_fee": "",
    175. "area": "",
    176. "detail_url": "http://yangkeduo.com/goods.html?goods_id=326475017289"
    177. },
    178. {
    179. "title": "南极人羊羔绒裤子男卫男装休闲长裤男士加绒加厚束脚运动裤秋冬季",
    180. "pic_url": "https://img.pddpic.com/gaudit-image/2022-09-02/7a67111373b103c5542514fea2890319.jpeg",
    181. "price": 49,
    182. "promotion_price": 49,
    183. "sales": 100000,
    184. "num_iid": 409473971067,
    185. "sample_id": "",
    186. "seller_nick": "Trendy Menswear英式",
    187. "post_fee": "",
    188. "area": "",
    189. "detail_url": "http://yangkeduo.com/goods.html?goods_id=409473971067"
    190. },
    191. {
    192. "title": "裤子男士春秋季高街ins潮牌运动裤男生潮流百搭宽松直筒休闲长裤",
    193. "pic_url": "https://img.pddpic.com/gaudit-image/2022-09-19/2e0408d503210245cf746a12f189b6fe.jpeg",
    194. "price": 14.41,
    195. "promotion_price": 14.41,
    196. "sales": 100000,
    197. "num_iid": 415424606383,
    198. "sample_id": "",
    199. "seller_nick": "敢士服饰官方旗舰店",
    200. "post_fee": "",
    201. "area": "",
    202. "detail_url": "http://yangkeduo.com/goods.html?goods_id=415424606383"
    203. },
    204. {
    205. "title": "正品牛仔裤男士秋冬厚款直筒宽松男裤高腰弹力商务休闲牛仔长男裤",
    206. "pic_url": "https://t00img.yangkeduo.com/goods/images/2020-11-15/626da1c0ac85b6ad91f6b26dcb5af23e.jpeg",
    207. "price": 59,
    208. "promotion_price": 59,
    209. "sales": 100000,
    210. "num_iid": 200441554662,
    211. "sample_id": "",
    212. "seller_nick": "平行果旗舰店",
    213. "post_fee": "",
    214. "area": "",
    215. "detail_url": "http://yangkeduo.com/goods.html?goods_id=200441554662"
    216. },
    217. {
    218. "title": "高档牛仔裤男2022春季弹力裤子男士修身直筒休闲秋冬加绒加厚长裤",
    219. "pic_url": "https://t00img.yangkeduo.com/goods/images/2021-07-09/2adc60dc83facbf2b6b6e57c640789aa.jpeg",
    220. "price": 49.9,
    221. "promotion_price": 49.9,
    222. "sales": 26000,
    223. "num_iid": 260104419378,
    224. "sample_id": "",
    225. "seller_nick": "优裤男装库",
    226. "post_fee": "",
    227. "area": "",
    228. "detail_url": "http://yangkeduo.com/goods.html?goods_id=260104419378"
    229. },
    230. {
    231. "title": "富贵鸟秋季加厚裤子男束脚长裤弹力宽松大码运动男士新款束脚裤子",
    232. "pic_url": "https://img.pddpic.com/gaudit-image/2022-02-20/fd27161b914d5a72fcd03edb7d518ff3.jpeg",
    233. "price": 13.8,
    234. "promotion_price": 13.8,
    235. "sales": 53000,
    236. "num_iid": 266281207531,
    237. "sample_id": "",
    238. "seller_nick": "乐伍鑫源男装",
    239. "post_fee": "",
    240. "area": "",
    241. "detail_url": "http://yangkeduo.com/goods.html?goods_id=266281207531"
    242. },
    243. {
    244. "title": "加肥加大码男装短袖t恤潮流百搭学生港风上衣胖子宽松半袖韩版ins",
    245. "pic_url": "https://img.pddpic.com/gaudit-image/2022-02-21/15f6f422471fe13d39c28a2071673ebb.jpeg",
    246. "price": 18.9,
    247. "promotion_price": 18.9,
    248. "sales": 50000,
    249. "num_iid": 329107410946,
    250. "sample_id": "",
    251. "seller_nick": "大猫先生服饰",
    252. "post_fee": "",
    253. "area": "",
    254. "detail_url": "http://yangkeduo.com/goods.html?goods_id=329107410946"
    255. },
    256. {
    257. "title": "花花公子裤子男春秋季纯棉宽松潮流运动裤男士休闲裤卫裤束脚长裤",
    258. "pic_url": "https://img.pddpic.com/gaudit-image/2022-02-12/cd577916c3b91ed958a4e85567ececbd.jpeg",
    259. "price": 35.8,
    260. "promotion_price": 35.8,
    261. "sales": 15000,
    262. "num_iid": 326325619016,
    263. "sample_id": "",
    264. "seller_nick": "花花福建联盟",
    265. "post_fee": "",
    266. "area": "",
    267. "detail_url": "http://yangkeduo.com/goods.html?goods_id=326325619016"
    268. }
    269. ]
    270. },
    271. "error_code": "0000",
    272. "reason": "ok",
    273. "secache": "c8f17c1c668040bcefce002e4877be04",
    274. "secache_time": 1668473221,
    275. "secache_date": "2022-11-15 08:47:01",
    276. "translate_status": "",
    277. "translate_time": 0,
    278. "language": {
    279. "default_lang": "cn",
    280. "current_lang": "cn"
    281. },
    282. "error": "",
    283. "cache": 0,
    284. "api_info": "today:4 max:10100 all[22=4+0+18];expires:2030-12-31",
    285. "execution_time": "0.75",
    286. "server_time": "Beijing/2022-11-15 08:47:01",
    287. "client_ip": "106.6.37.79",
    288. "call_args": {
    289. "q": "男装",
    290. "start_price": "0",
    291. "end_price": "0",
    292. "page": "1",
    293. "cat": "0"
    294. },
    295. "api_type": "pinduoduo",
    296. "translate_language": "zh-CN",
    297. "translate_engine": "baidu",
    298. "server_memory": "3.17MB",
    299. "request_id": "gw-1.6372e1853c8a9",
    300. "last_id": "1355960970"
    301. }

  • 相关阅读:
    Nacos原理简单介绍
    从 CPU 讲起,深入理解 Java 内存模型!
    【FreeRTOS】【STM32】06 FreeRTOS的使用-动态创建多任务 FreeRTOS 的启动流程
    条件渲染(vue)
    合并两个排序的链表
    计算机网路第3章-运输层
    STM32开发(三十一)STM32F103 片内资源 —— 模拟/数字转换 DAC 正弦波 编程详解
    Linux: linux常见操作指令
    iBooker 技术评论 20230909
    11种增加访问者在网站上平均停留时间的技巧
  • 原文地址:https://blog.csdn.net/t79036912/article/details/127859026