• 关键词搜索API接口之1688平台


    前往测试接口

    item_search-按关键字搜索商品 注册开通

    onebound.1688.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=40&seller_info=no&nick=&seller_info=&nick=&ppath=&imgid=&filter=

    参数说明:q:搜索关键字
    cat:分类ID
    start_price:开始价格
    end_price:结束价格
    sort:排序[bid,_bid,_sale,_credit]
    (bid:总价,sale:销量,credit信用,加_前缀为从大到小排序)
    page:页数  page_size:每页宝贝数量,默认40
    filter:额外的过滤参数,如:filter=filtId:1,2,3,4;activityType:1,2,3,4;city:天津;quantityBegin:1000
    filtId 过滤:48小时发货,7+天包换,赠运费险,免费赊账;
    activityType 优惠类型:包邮,产地货源,伙拼,手机专享价
    city 地区:地区名
    quantityBegin 起订量:数字\

    三、响应参数

    Version: Date:

    名称类型必须示例值描述
    itemsitems[]0按关键字搜索商品

    请求示例

    • Curl
    • PHP
    • PHPsdk
    • JAVA
    • C#
    • Python
    1. -- 请求示例 url 默认请求参数已经URL编码处理
    2. curl -i "https://api-gw.onebound.cn/1688/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=充电宝&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=40&seller_info=no&nick=&seller_info=&nick=&ppath=&imgid=&filter="

    四、响应示例

    1. "items": {
    2. "page": "1",
    3. "real_total_results": 1900,
    4. "total_results": 1900,
    5. "page_size": 19,
    6. "pagecount": 100,
    7. "item": [
    8. {
    9. "title": "22.5W充电宝30000毫安大容量可LOGO户外便捷充外贸快充移动电源",
    10. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01BuDTBe1V8Vi0H8NFa_!!2208743662608-0-cib.jpg",
    11. "promotion_price": "22.51",
    12. "price": "22.51",
    13. "sales": 11670,
    14. "num_iid": "656709671078",
    15. "seller_nick": "东莞市德拉博电子科技有限公司",
    16. "tag_percent": "25%",
    17. "area": "东莞市",
    18. "detail_url": "https://detail.1688.com/offer/656709671078.html"
    19. },
    20. {
    21. "title": "手机通用自带线充电宝20000毫安 镜面快充大容量移动电源一件代发",
    22. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01y2HUcv1pkKe97mB9y_!!2201235165398-0-cib.jpg",
    23. "promotion_price": "16.20",
    24. "price": "16.20",
    25. "sales": 1442261,
    26. "num_iid": "616296320845",
    27. "seller_nick": "深圳市二筒科技有限公司",
    28. "tag_percent": "13%",
    29. "area": "深圳市",
    30. "detail_url": "https://detail.1688.com/offer/616296320845.html"
    31. },
    32. {
    33. "title": "亚马逊爆款 便携充电宝10000毫安 超级快充PD22.5W 新款移动 电源",
    34. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN014TFjdG1V8VhoseQyJ_!!2208743662608-0-cib.jpg",
    35. "promotion_price": "35.60",
    36. "price": "35.60",
    37. "sales": 0,
    38. "num_iid": "678212553680",
    39. "seller_nick": "东莞市德拉博电子科技有限公司",
    40. "tag_percent": "25%",
    41. "area": "东莞市",
    42. "detail_url": "https://detail.1688.com/offer/678212553680.html"
    43. },
    44. {
    45. "title": "迷你便携自带线20000毫安大容量充电宝 可爱小巧礼品移动电源批发",
    46. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01Vh8sfx2AVm4L6zELK_!!3245838209-0-cib.jpg",
    47. "promotion_price": "22.00",
    48. "price": "22.00",
    49. "sales": 89013,
    50. "num_iid": "669584150772",
    51. "seller_nick": "深圳市捷华仕实业有限公司",
    52. "tag_percent": "19%",
    53. "area": "深圳市",
    54. "detail_url": "https://detail.1688.com/offer/669584150772.html"
    55. },
    56. {
    57. "title": "批发迷你自带四线充电宝20000毫安大容量移动电源礼品定 制logo",
    58. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01JzOerr20fG6SC5VBN_!!2201483386876-0-cib.jpg",
    59. "promotion_price": "15.00",
    60. "price": "15.00",
    61. "sales": 211743,
    62. "num_iid": "674347529628",
    63. "seller_nick": "深圳市古黛科技有限公司",
    64. "tag_percent": "22%",
    65. "area": "深圳市",
    66. "detail_url": "https://detail.1688.com/offer/674347529628.html"
    67. },
    68. {
    69. "title": "一件代发大容量充电宝50000毫安60000毫安数显快充10W移动电源8万",
    70. "pic_url": "https://cbu01.alicdn.com/img/ibank/2020/999/810/21587018999_40970201.jpg",
    71. "promotion_price": "60.97",
    72. "price": "60.97",
    73. "sales": 40506,
    74. "num_iid": "619661034684",
    75. "seller_nick": "深圳腾之乐科技有限公司",
    76. "tag_percent": "12%",
    77. "area": "深圳市",
    78. "detail_url": "https://detail.1688.com/offer/619661034684.html"
    79. },
    80. {
    81. "title": "迷你充电宝便携快充大容量移动电源礼品印制LOGO共享定20000毫安",
    82. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01APuqZf1g6BSw3VZXB_!!2210135524092-0-cib.jpg",
    83. "promotion_price": "9.50",
    84. "price": "9.50",
    85. "sales": 79857,
    86. "num_iid": "676593972196",
    87. "seller_nick": "深圳市森敏电子有限公司",
    88. "tag_percent": "16%",
    89. "area": "深圳市",
    90. "detail_url": "https://detail.1688.com/offer/676593972196.html"
    91. },
    92. {
    93. "title": "充电宝可爱卡通大容量10000毫安小巧轻薄迷你移动电源定 印制LOGO",
    94. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01Xg4fPQ2K5LNAzU0Ji_!!2212924439505-0-cib.jpg",
    95. "promotion_price": "7.99",
    96. "price": "7.99",
    97. "sales": 94211,
    98. "num_iid": "662073502019",
    99. "seller_nick": "深圳市润星丰科技有限公司",
    100. "tag_percent": "13%",
    101. "area": "深圳市",
    102. "detail_url": "https://detail.1688.com/offer/662073502019.html"
    103. },
    104. {
    105. "title": "跨境外贸大容量充电宝双向PD快充移动电源15000毫安手机充电宝",
    106. "pic_url": "https://cbu01.alicdn.com/img/ibank/2020/390/630/23693036093_1416795072.jpg",
    107. "promotion_price": "0.94",
    108. "price": "0.94",
    109. "sales": 0,
    110. "num_iid": "656329451934",
    111. "seller_nick": "深圳市坪山新区美维达表配件厂",
    112. "tag_percent": "16%",
    113. "area": "深圳市",
    114. "detail_url": "https://detail.1688.com/offer/656329451934.html"
    115. },
    116. {
    117. "title": "罗马仕充电宝批发20000毫安便携数显聚合物快充移动电源一件代发",
    118. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01IPwAEx1ENIw65QinG_!!2261690339-0-cib.jpg",
    119. "promotion_price": "79.00",
    120. "price": "79.00",
    121. "sales": 15578,
    122. "num_iid": "571179136139",
    123. "seller_nick": "南通联沃贸易有限公司",
    124. "tag_percent": "12%",
    125. "area": "南通市",
    126. "detail_url": "https://detail.1688.com/offer/571179136139.html"
    127. },
    128. {
    129. "title": "充电宝批发迷你小巧便携超大容量20000毫安移动电源礼品广告定 制",
    130. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01BPQv7B1wVP8WfrJPT_!!3294836313-0-cib.jpg",
    131. "promotion_price": "7.90",
    132. "price": "7.90",
    133. "sales": 1063604,
    134. "num_iid": "671771396625",
    135. "seller_nick": "深圳市博鸿恒业科技有限公司",
    136. "tag_percent": "6%",
    137. "area": "深圳市",
    138. "detail_url": "https://detail.1688.com/offer/671771396625.html"
    139. },
    140. {
    141. "title": "跨境便携移动电源 共享大容量自带线20000毫安无线快充充电宝批发",
    142. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01j1tkVb2MoLVnw3SB5_!!2208547509874-0-cib.jpg",
    143. "promotion_price": "59.30",
    144. "price": "59.30",
    145. "sales": 19784,
    146. "num_iid": "676034298430",
    147. "seller_nick": "深圳市普顺泰科技有限公司",
    148. "tag_percent": "18%",
    149. "area": "深圳市",
    150. "detail_url": "https://detail.1688.com/offer/676034298430.html"
    151. },
    152. {
    153. "title": "充电宝批发小巧便携自带线20000毫安迷你大容量定 制logo移动电源",
    154. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01zK3ZD41pVDcreUv6m_!!2200729845365-0-cib.jpg",
    155. "promotion_price": "13.86",
    156. "price": "13.86",
    157. "sales": 732745,
    158. "num_iid": "666088073797",
    159. "seller_nick": "深圳腾之乐科技有限公司",
    160. "tag_percent": "12%",
    161. "area": "深圳市",
    162. "detail_url": "https://detail.1688.com/offer/666088073797.html"
    163. },
    164. {
    165. "title": "适用华为40W超级双向快充充电宝大容量20000毫安超薄移动电源批发",
    166. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01DFhwWI1SohIGIWB6X_!!3569272294-0-cib.jpg",
    167. "promotion_price": "33.00",
    168. "price": "33.00",
    169. "sales": 15167,
    170. "num_iid": "661255134000",
    171. "seller_nick": "深圳市联信科电子科技有限公司",
    172. "tag_percent": "19%",
    173. "area": "深圳市",
    174. "detail_url": "https://detail.1688.com/offer/661255134000.html"
    175. },
    176. {
    177. "title": "超薄充电宝批发制定logo 便携式超大容量自带线20000毫安移动电源",
    178. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01ZeiwS623cSS9gOmHm_!!2919217276-0-cib.jpg",
    179. "promotion_price": "20.00",
    180. "price": "20.00",
    181. "sales": 18513,
    182. "num_iid": "636575020703",
    183. "seller_nick": "深圳市大通元实业有限公司",
    184. "tag_percent": "24%",
    185. "area": "深圳市",
    186. "detail_url": "https://detail.1688.com/offer/636575020703.html"
    187. },
    188. {
    189. "title": "新款迷你创意大容量充电宝20000毫安自带四线便携无线移动电源",
    190. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01PIdnxo1D1UR4aL2Ut_!!2210347000156-0-cib.jpg",
    191. "promotion_price": "31.00",
    192. "price": "31.00",
    193. "sales": 967403,
    194. "num_iid": "635273849482",
    195. "seller_nick": "深圳市亚洪实业有限公司",
    196. "tag_percent": "27%",
    197. "area": "深圳市",
    198. "detail_url": "https://detail.1688.com/offer/635273849482.html"
    199. },
    200. {
    201. "title": "批发自带线共享大容量充电宝20000毫安便携移动电源礼品定 制logo",
    202. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01nqYvDu1aWOQyy2JQc_!!2207886923337-0-cib.jpg",
    203. "promotion_price": "26.00",
    204. "price": "26.00",
    205. "sales": 55355,
    206. "num_iid": "678370618370",
    207. "seller_nick": "深圳市沣霖科技有限公司",
    208. "tag_percent": "14%",
    209. "area": "深圳市",
    210. "detail_url": "https://detail.1688.com/offer/678370618370.html"
    211. },
    212. {
    213. "title": "快充迷你充电宝制定logo 小巧便携冲大容量20000毫安移动电源批发",
    214. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01im73Bm1EUdMXGlNj6_!!2214149790355-0-cib.jpg",
    215. "promotion_price": "14.30",
    216. "price": "14.30",
    217. "sales": 151175,
    218. "num_iid": "678831084212",
    219. "seller_nick": "深圳市厚荣佳业实业有限公司",
    220. "tag_percent": "10%",
    221. "area": "深圳市",
    222. "detail_url": "https://detail.1688.com/offer/678831084212.html"
    223. },
    224. {
    225. "title": "跨境户外太阳能超大容量移动电源 共享自带线30000毫安充电宝批发",
    226. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01hKGNe11JdrQPkUIST_!!2075311052-0-cib.jpg",
    227. "promotion_price": "39.50",
    228. "price": "39.50",
    229. "sales": 17465,
    230. "num_iid": "669374028847",
    231. "seller_nick": "深圳市嘉丽都电子科技有限公司",
    232. "tag_percent": "27%",
    233. "area": "深圳市",
    234. "detail_url": "https://detail.1688.com/offer/669374028847.html"
    235. },
    236. {
    237. "title": "共享自带线迷你20000毫安 礼品充电宝批发制logo超大容量移动电源",
    238. "pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN018ky2It1EGR4aP6nD2_!!2210054220324-0-cib.jpg",
    239. "promotion_price": "17.60",
    240. "price": "17.60",
    241. "sales": 1943050,
    242. "num_iid": "660231426918",
    243. "seller_nick": "深圳市柒月数码科技有限公司",
    244. "tag_percent": "15%",
    245. "area": "深圳市",
    246. "detail_url": "https://detail.1688.com/offer/660231426918.html"
    247. }
    248. ],
    249. "data_from": "1688app"
    250. },
    251. "error_code": "0000",
    252. "reason": "ok",
    253. "secache": "73101023fc40765ba2f764a79fd74c33",
    254. "secache_time": 1660979135,
    255. "secache_date": "2022-08-20 15:05:35",
    256. "translate_status": "",
    257. "translate_time": 0,
    258. "language": {
    259. "default_lang": "cn",
    260. "current_lang": "cn"
    261. },
    262. "error": "",
    263. "cache": 0,
    264. "api_info": "today:22 max:10000 all[100=22+51+27];expires:2030-12-31",
    265. "execution_time": "2.255",
    266. "server_time": "Beijing/2022-08-20 15:05:35",
    267. "client_ip": "106.6.39.33",
    268. "call_args": {
    269. "q": "充电宝",
    270. "start_price": "1",
    271. "end_price": "0",
    272. "page": "1",
    273. "cat": "0",
    274. "page_size": "40"
    275. },
    276. "api_type": "1688",
    277. "translate_language": "zh-CN",
    278. "translate_engine": "google_new",
    279. "server_memory": "4.38MB",
    280. "request_id": "gw-1.630087bd4016a",
    281. "last_id": "1163327310"
    282. }
  • 相关阅读:
    如何用 GPT-4 帮你写游戏(以24点游戏举例)
    进件(贷前)项目的从0到1
    基于 .NET 6 的轻量级 Webapi 框架 FastEndpoints
    Vue.js 知识点总结(一)
    Java----使用JDBC开发注册和登录功能
    抖音短视频所有问题的详细攻略——今抖云创
    旅游数据可视化:免费工具让复杂数据变得简单易懂
    Java开发学习(三)----Bean基础配置及其作用范围
    《安卓安装包管理后台》——spring boot +vue3前后端项目实战专栏开篇
    pyspark分布式部署随机森林算法
  • 原文地址:https://blog.csdn.net/Noah_ZX/article/details/126440104