• 简单获取易贝/EBAY的商品详情


    item_get-获得EBAY商品详情 注册开通

    onebound.ebay.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=155160061798

    参数说明:num_iid:EBAY商品ID

    响应参数

    Version: Date:

    名称类型必须示例值描述

    num_iid

    Bigint0155160061798商品ID

    detail_url

    String0商品链接

    condition

    String0状态

    watching

    String0

    why2buy

    Mix0

    crumbs

    Mix0导航菜单

    title

    String0商品标题

    desc_short

    String0商品简介

    brand

    String0品牌

    brandId

    String0品牌ID

    rootCatId

    String0顶级分类ID

    cid

    String0

    pic_url

    String0商品图片

    item_imgs

    Mix0商品图片列表

    nick

    String0掌柜昵称

    num

    Int0

    sales

    Int0销量

    price

    Float0价格

    orginal_price

    String0原价

    type

    String0

    seller_cids

    String0

    input_pids

    String0

    input_str

    String0

    item_weight

    String0

    valid_thru

    String0

    delist_time

    String0

    desc

    String0

    delivery

    String0

    guarantee

    String0

    returns

    String0

    stuff_status

    String0

    location

    String0发货地

    express_fee

    String0快递费用

    ems_fee

    Float0EMS费用

    post_fee

    String0物流费用

    shipping_to

    String0发货至

    has_discount

    String0

    freight_payer

    String0

    has_invoice

    String0

    has_warranty

    String0

    has_showcase

    String0

    increment

    String0

    approve_status

    String0

    postage_id

    String0

    product_id

    String0

    auction_point

    String0

    item_img

    String0

    prop_imgs

    Mix0商品属性图片列表

    props_img

    Mix0

    sku

    String0商品规格信息列表

    video

    Mix0商品视频

    outer_id

    String0

    is_virtual

    String0

    sample_id

    String0商品风格标识ID

    is_promotion

    String0

    props_name

    String0商品属性名

    property_alias

    String0商品属性别名

    props_list

    Mix0商品属性列表

    seller_id

    Bigint0卖家ID

    shop_id

    Bigint0店铺ID

    seller_info

    Mix0卖家信息

    tmall

    Boolean0是否天猫

    error

    String0错误信息

    warning

    String0警告信息

    url_log

    String0

    shopinfo

    Mix0店铺信息

    promo_type

    String0

    shop_item

    Mix0

    relate_items

    Mix0

    skus

    Mix0

    props

    Mix0

    currency_code

    String0当前货币代码

    currency_lang

    String0当前语言

    请求示例

    	
    -- 请求示例 url 默认请求参数已经URL编码处理
    curl -i "https://api-gw.onebound.cn/ebay/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=155160061798"

    响应示例

     

    1. {
    2. "item": {
    3. "detail_url": "https://www.ebay.com/itm/0-/155160061798",
    4. "title": "Shox Deliver Herrenschuhe Damenschuhe Sportschuhe Sneaker Laufschuhe Gr.40-46",
    5. "brand": "",
    6. "rootCatId": null,
    7. "cid": null,
    8. "item_imgs": [
    9. {
    10. "url": "https://i.ebayimg.com/images/g/2aIAAOSwmCFjH1Qf/s-l500.png"
    11. },
    12. {
    13. "url": "https://i.ebayimg.com/images/g/yK8AAOSwGmBjH1Qr/s-l500.jpg"
    14. },
    15. {
    16. "url": "https://i.ebayimg.com/images/g/wDsAAOSwc1NjH1Qo/s-l500.jpg"
    17. },
    18. {
    19. "url": "https://i.ebayimg.com/images/g/eG0AAOSwKiZjH1Qv/s-l500.jpg"
    20. },
    21. {
    22. "url": "https://i.ebayimg.com/images/g/19kAAOSwzNNjH1Qx/s-l500.jpg"
    23. },
    24. {
    25. "url": "https://i.ebayimg.com/images/g/mxcAAOSwjpBjH1Q4/s-l500.jpg"
    26. },
    27. {
    28. "url": "https://i.ebayimg.com/images/g/mCEAAOSw32hjH1Q2/s-l500.jpg"
    29. },
    30. {
    31. "url": "https://i.ebayimg.com/images/g/o70AAOSwCQ5jH1R1/s-l500.jpg"
    32. },
    33. {
    34. "url": "https://i.ebayimg.com/images/g/euAAAOSwENtjH1R2/s-l500.jpg"
    35. },
    36. {
    37. "url": "https://i.ebayimg.com/images/g/YPsAAOSwINdjH1RF/s-l500.jpg"
    38. },
    39. {
    40. "url": "https://i.ebayimg.com/images/g/FjEAAOSwuj5jH1RG/s-l500.jpg"
    41. },
    42. {
    43. "url": "https://i.ebayimg.com/images/g/-OkAAOSwDA1jH1RW/s-l500.jpg"
    44. },
    45. {
    46. "url": "https://i.ebayimg.com/images/g/5qgAAOSwtepjH1RX/s-l500.jpg"
    47. }
    48. ],
    49. "nick": "",
    50. "num": 99,
    51. "num_iid": "155160061798",
    52. "pic_url": "https://i.ebayimg.com/images/g/2aIAAOSwmCFjH1Qf/s-l500.png",
    53. "price": "EUR 99.99",
    54. "orginal_price": "",
    55. "delivery": "",
    56. "location": "",
    57. "express_fee": "",
    58. "shipping_to": "",
    59. "sku": "",
    60. "property_alias": "d41d8c:0:Stil: 1;d41d8c:1:Stil: 2;d41d8c:2:Stil: 3;d41d8c:3:Stil: 4;d41d8c:4:Stil: 5;d41d8c:5:Stil: 6;d41d8c:6:41;d41d8c:7:42;d41d8c:8:43;d41d8c:9:44;d41d8c:10:45;d41d8c:11:46",
    61. "props_list": {
    62. "d41d8c:0": ":Stil: 1",
    63. "d41d8c:1": ":Stil: 2",
    64. "d41d8c:2": ":Stil: 3",
    65. "d41d8c:3": ":Stil: 4",
    66. "d41d8c:4": ":Stil: 5",
    67. "d41d8c:5": ":Stil: 6",
    68. "d41d8c:6": ":41",
    69. "d41d8c:7": ":42",
    70. "d41d8c:8": ":43",
    71. "d41d8c:9": ":44",
    72. "d41d8c:10": ":45",
    73. "d41d8c:11": ":46"
    74. },
    75. "seller_info": {
    76. "nick": "",
    77. "delivery_score": "",
    78. "item_score": "",
    79. "sid": "",
    80. "title": "",
    81. "zhuy": "https://www.ebay.com/usr/",
    82. "shop_name": ""
    83. },
    84. "skus": {
    85. "sku": []
    86. },
    87. "props": [
    88. {
    89. "name": "30 天",
    90. "value": "由买家支付退货运费"
    91. }
    92. ],
    93. "desc": "",
    94. "language_code": "en",
    95. "props_img": [],
    96. "format_check": "ok",
    97. "props_name": "",
    98. "sales": 0,
    99. "desc_img": [],
    100. "shop_item": [],
    101. "relate_items": []
    102. },
    103. "error": "",
    104. "secache": "8a1871de68e1721c5cf22f1b5b1f92ab",
    105. "secache_time": 1663047452,
    106. "secache_date": "2022-09-13 13:37:32",
    107. "translate_status": "ok",
    108. "translate_time": 2.172,
    109. "language": {
    110. "current_lang": "cn",
    111. "source_lang": "en"
    112. },
    113. "reason": "",
    114. "error_code": "0000",
    115. "cache": 0,
    116. "api_info": "today:34 max:10100 all[80=34+16+30];expires:2030-12-31",
    117. "execution_time": "5.172",
    118. "server_time": "Beijing/2022-09-13 13:37:34",
    119. "client_ip": "106.6.39.203",
    120. "call_args": {
    121. "num_iid": "155160061798"
    122. },
    123. "api_type": "ebay",
    124. "translate_language": "zh-CN",
    125. "translate_engine": "baidu",
    126. "server_memory": "1.26MB",
    127. "request_id": "gw-4.63201719b40c7",
    128. "last_id": "1212990556"
    129. }

    错误码解释

    状态代码(error_code)状态信息详细描述是否收费
    0000success接口调用成功并返回相关数据
    2000Search success but no result接口访问成功,但是搜索没有结果
    4000Server internal error服务器内部错误
    4001Network error网络错误
    4002Target server error目标服务器错误
    4003Param error用户输入参数错误忽略
    4004Account not found用户帐号不存在忽略
    4005Invalid authentication credentials授权失败忽略
    4006API stopped您的当前API已停用忽略
    4007Account stopped您的账户已停用忽略
    4008API rate limit exceeded并发已达上限忽略
    4009API maintenanceAPI维护中忽略
    4010API not found with these valuesAPI不存在忽略
    4012Please add api first请先添加api忽略
    4013Number of calls exceeded调用次数超限忽略
    4014Missing url param参数缺失忽略
    4015Wrong pageToken参数pageToken有误忽略
    4016Insufficient balance余额不足忽略
    4017timeout error请求超时
    5000unknown error未知错误
  • 相关阅读:
    cmmlu数据处理
    led护眼灯有蓝光吗?双十二选led护眼灯的好处有哪些
    SpringBoot之spring-boot-devtools热部署
    深度学习中的样本分类:如何区分正样本、负样本、困难样本和简单样本?
    SGP.22-V.3.1-安全2
    LabVIEW使用PID对激振器控制
    Windows下hadoop单点部署
    Spring MVC简介与概述
    浏览器输入url,到看到页面会发生什么?
    java测试private
  • 原文地址:https://blog.csdn.net/Noah_ZX/article/details/126831863