• 淘宝/天猫同款商品搜索API接口详细演示


    item_search_samestyle-搜索同款的商品 [查看演示API测试工具 注册开通

    onebound.taobao.item_search_samestyle

    公共参数

    请求地址: https://api-gw.onebound.cn/taobao/item_search_samestyle

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

    请求参数

    请求参数:sample_id=-448629073&num_iid=547985308669&page=1&sort=&page_size=

    参数说明:sample_id:商品风格标识ID
    num_iid:商品ID

    响应参数

    Version: Date:

    名称类型必须示例值描述

    title

    String0法式复古山本超仙chic仙女赫本网红初春很仙法国小众裙子两件套装商品标题

    pic_url

    String0//img.alicdn.com/bao/uploaded/i3/3083218865/O1CN012FMDaiwxkenJGaM_!!0-item_pic.jpg宝贝图片

    promotion_price

    Float0178.00优惠价

    price

    Float0178.00价格

    sales

    Int0890销量

    num_iid

    Bigint0577437133060宝贝ID

    sample_id

    String0商品风格标识ID

    seller_nick

    String0初穆旗舰店掌柜昵称

    post_fee

    Float010.00物流费用

    area

    String0山东店铺所在地

    detail_url

    String0//detail.tmall.com/item.htm?id=586794298909&ns=1&abbucket=0宝贝链接

    请求示例

    	
    -- 请求示例 url 默认请求参数已经URL编码处理
    curl -i "https://api-gw.onebound.cn/taobao/item_search_samestyle/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&sample_id=-448629073&num_iid=547985308669&page=1&sort=&page_size="

     代码展示

    1. Result Object:
    2. ---------------------------------------
    3. {
    4. "num_iid": "547985308669",
    5. "page": "1",
    6. "page_size": 13,
    7. "pagecount": 5,
    8. "total_results": 65,
    9. "item": [
    10. {
    11. "title": "白色很仙的防晒衣女夏季2022年新款宽松冰丝外套薄款透气连帽上衣",
    12. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i2/4183653021/O1CN016WB2QC1YBfC8xRLsu_!!0-item_pic.jpg",
    13. "original_price": "",
    14. "price": "55.00",
    15. "sales": "52",
    16. "num_iid": "644663956610",
    17. "shop_name": "夭领旗舰店",
    18. "seller_id": "4183653021",
    19. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=644663956610&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    20. },
    21. {
    22. "title": "白色防晒衣女中长款2022夏季新款薄款韩版洋气长款外套长袖防晒服",
    23. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i1/2209869377018/O1CN01oG9pff21iIF8PNcpd_!!0-item_pic.jpg",
    24. "original_price": "",
    25. "price": "139.00",
    26. "sales": "57",
    27. "num_iid": "636260330883",
    28. "shop_name": "爱妮芙旗舰店",
    29. "seller_id": "2209869377018",
    30. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=636260330883&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    31. },
    32. {
    33. "title": "2022年夏季薄款防晒衣女连帽开衫时尚百搭大码胖妹妹短款防晒服潮",
    34. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i2/738292971/O1CN01h8qNs31XolTPfU7fC_!!738292971.jpg",
    35. "original_price": "",
    36. "price": "178.00",
    37. "sales": "16",
    38. "num_iid": "669437497789",
    39. "shop_name": "诺儿服饰女装店",
    40. "seller_id": "738292971",
    41. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=669437497789&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    42. },
    43. {
    44. "title": "时尚防晒衣女款夏季2022新款冰丝防晒服户外透气轻薄外套防晒衫潮",
    45. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i3/2198046259/O1CN01LseS7o1w6fjACfYTU_!!0-item_pic.jpg",
    46. "original_price": "",
    47. "price": "128.00",
    48. "sales": "5",
    49. "num_iid": "674319363057",
    50. "shop_name": "dongluo冬诺旗舰店",
    51. "seller_id": "2198046259",
    52. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=674319363057&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    53. },
    54. {
    55. "title": "薄款防晒衣女款中长款2022夏季新款透气防晒服冰丝连帽遮阳防晒衫",
    56. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i2/2090278846/O1CN01QXbTi32FDWLtOPZQH_!!0-item_pic.jpg",
    57. "original_price": "",
    58. "price": "79.00",
    59. "sales": "13",
    60. "num_iid": "673259978534",
    61. "shop_name": "芭斯瑞旗舰店",
    62. "seller_id": "2090278846",
    63. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=673259978534&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    64. },
    65. {
    66. "title": "防晒衣女短款2022夏季新款轻薄防晒服空调衫宽松透气薄款女士外套",
    67. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i1/2209869377018/O1CN01CzVkr421iIF7h2KeB_!!0-item_pic.jpg",
    68. "original_price": "",
    69. "price": "128.00",
    70. "sales": "59",
    71. "num_iid": "635583204899",
    72. "shop_name": "爱妮芙旗舰店",
    73. "seller_id": "2209869377018",
    74. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=635583204899&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    75. },
    76. {
    77. "title": "【官网正品】防晒衣女夏季装2022年新款薄款衫女外套皮肤衣服长袖",
    78. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i1/2212670599060/O1CN01SMtoZ62GnX71x638G_!!0-item_pic.jpg",
    79. "original_price": "",
    80. "price": "198.00",
    81. "sales": "3",
    82. "num_iid": "675269070139",
    83. "shop_name": "诗歌小姐旗舰店",
    84. "seller_id": "2212670599060",
    85. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=675269070139&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    86. },
    87. {
    88. "title": "防晒衣女夏季2022年新款防紫外线透气轻薄冰丝upf50防晒服防晒衫",
    89. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i3/3360779468/O1CN01t5a4aT2JoOi1IFDFm_!!0-item_pic.jpg",
    90. "original_price": "",
    91. "price": "69.00",
    92. "sales": "0",
    93. "num_iid": "674290176610",
    94. "shop_name": "园帛旗舰店",
    95. "seller_id": "3360779468",
    96. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=674290176610&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    97. },
    98. {
    99. "title": "蕉下防晒衣女2022夏季新款中长款长袖防紫外线外套冰丝超薄款防晒",
    100. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i1/2212550847805/O1CN01DPm4Ba27Wk3N39ueI_!!2212550847805.jpg",
    101. "original_price": "",
    102. "price": "49.80",
    103. "sales": "1",
    104. "num_iid": "675205820774",
    105. "shop_name": "小颖商贸店",
    106. "seller_id": "2212550847805",
    107. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=675205820774&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    108. },
    109. {
    110. "title": "放晒衣服女超薄长款防晒透气百搭防紫外线2019新款防晒衣女潮流",
    111. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i1/2214104506676/O1CN011SvOz71zBetP3RyZo_!!2214104506676.jpg",
    112. "original_price": "",
    113. "price": "49.94",
    114. "sales": "0",
    115. "num_iid": "675319187799",
    116. "shop_name": "紫薇天喵店",
    117. "seller_id": "2214104506676",
    118. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=675319187799&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    119. },
    120. {
    121. "title": "ins超火防晒衣女2022流行夏季韩版中长款长袖防紫外线宽松超薄服1",
    122. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i1/3448171882/O1CN01WEjEia1PlzvYMhrsP_!!0-item_pic.jpg",
    123. "original_price": "",
    124. "price": "388.00",
    125. "sales": "0",
    126. "num_iid": "595314629732",
    127. "shop_name": "香港IT代购站",
    128. "seller_id": "3448171882",
    129. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=595314629732&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    130. },
    131. {
    132. "title": "正品进口防晒衣女中长款2022新款夏季薄款防紫外线仙女潮外套衫服",
    133. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i3/3448171882/O1CN01okr94Z1PlzvbU7yIV_!!3448171882.jpg",
    134. "original_price": "",
    135. "price": "399.50",
    136. "sales": "1",
    137. "num_iid": "595397205428",
    138. "shop_name": "香港IT代购站",
    139. "seller_id": "3448171882",
    140. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=595397205428&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    141. },
    142. {
    143. "title": "夏季防晒衣女2022新款户外透气骑车外套沙滩服薄款百搭防晒衫上衣",
    144. "pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i1/3605447060/O1CN010yuMnq221WoeCkBhu_!!0-item_pic.jpg",
    145. "original_price": "",
    146. "price": "69.00",
    147. "sales": "0",
    148. "num_iid": "614615033180",
    149. "shop_name": "婉女郎旗舰店",
    150. "seller_id": "3605447060",
    151. "detail_url": "//item.taobao.com/item.htm?scm=1007.29715.288050.0&id=614615033180&pvid=909b7433-3c8e-423b-b874-cb28247b6db0"
    152. }
    153. ],
    154. "data_from": "app",
    155. "error": "data error,no cache",
    156. "translate_status": "",
    157. "translate_time": 0,
    158. "language": {
    159. "default_lang": "cn",
    160. "current_lang": "cn"
    161. },
    162. "reason": "data error,no cache 接口文档:https://open.onebound.cn/help/api/taobao.item_search_samestyle.html",
    163. "error_code": "5000",
    164. "cache": 0,
    165. "api_info": "today:194 max:10100 all[303=194+49+60];expires:2030-12-31",
    166. "execution_time": "1.271",
    167. "server_time": "Beijing/2022-07-20 09:02:30",
    168. "client_ip": "106.6.35.38",
    169. "call_args": {
    170. "sample_id": "-448629073",
    171. "num_iid": "547985308669",
    172. "page": "1"
    173. },
    174. "api_type": "taobao",
    175. "translate_language": "zh-CN",
    176. "translate_engine": "baidu_api",
    177. "server_memory": "5.88MB",
    178. "request_id": "gw-3.62d754259b56c",
    179. "last_id": "1088657622"
    180. }

  • 相关阅读:
    合并k个已排序的链表
    RocketMq(三)springBoot集成rocketMq
    SpringBoot基础(一)-- 使用idea(2022版)创建一个Springboot项目(联网开发)
    Linux 线程
    【web-解析目标】(1.2.1)解析应用程序:确定用户输入入口
    精简版STC单片机串口程序(只有初始化和sendbyte)
    深入理解Java中的引用、复制、克隆和拷贝
    MySQL 常用函数
    LeetCode 0318. 最大单词长度乘积
    如何用SQL语句创建数据库
  • 原文地址:https://blog.csdn.net/Noah_ZX/article/details/125884988