• 电商数据平台西域根据ID取商品详情API接口采集产品详情数据、价格 、销量数据操作指南


    商品详情API接口是一种用于访问和获取商品信息的接口,通常用于连接电商平台和商家应用程序。这个接口可以提供有关商品的各种详细信息,如名称、价格、描述、图片、类别、库存和评价等。它使得开发者能够为平台上的消费者提供更个性化和定制化的购物体验,例如将商品信息直接显示在应用程序中,或者在移动设备上实现扫码识别商品信息等功能。此外,商品详情API接口还可以帮助商家更好地了解和掌握他们的商品信息,提高销售效率和管理水平。

    xiyu.item_get-根据ID取商品详情

    公共参数

    请求地址: 注册调用key请求接入

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

    参数说明:num_iid:商品ID ; delist_time不为空代表商品已下架;数据会获取异常。

    响应参数

    Version: Date:

    名称类型必须示例值描述

    item

    item[]1宝贝详情数据

    num_iid

    Bigint1MAY935宝贝ID

    title

    String1得伟角磨机,100mm 800W,DW803宝贝标题

    desc_short

    String0商品简介

    price

    Float1388.90价格

    total_price

    Float0

    orginal_price

    String0344.16原价

    detail_url

    String0https://www.ehsy.com/product-MAY935宝贝链接

    pic_url

    String1https://image-c.ehsy.com/uploadfile/opc/img/2016/12/10/20161210143327707_M.jpg宝贝图片

    brand

    String0得伟 DW803品牌名称

    brandId

    Int0品牌ID

    desc

    String0商品详情

    item_imgs

    Mix0item_imgs[]商品图片

    props

    Mix0[{name: "系列",value: ""}]商品属性

    seller_id

    Int0702卖家ID

    shop_id

    Int0店铺ID

    zhuy

    string0https://www.ehsy.com/brand-702主页地址

    props_img

    Mix0属性图片

    format_check

    string0ok

    sales

    Int00销量

    desc_img

    Mix0[]商品描述图片

    shop_item

    Mix0[]

    relate_items

    Mix0[]

     

    响应示例

    1. {
    2. "item": {
    3. "detail_url": "https://www.ehsy.com/product-MAY935",
    4. "crumbs": "",
    5. "title": "得伟角磨机,100mm 800W,DW803",
    6. "desc_short": "",
    7. "brand": "",
    8. "brandId": "得伟 DW803",
    9. "cid": "-1",
    10. "pic_url": "https://image-c.ehsy.com/uploadfile/opc/img/2016/12/10/20161210143327707_M.jpg",
    11. "item_imgs": {
    12. "url": "https://image-c.ehsy.com/uploadfile/opc/img/2016/12/10/20161210143327707_M.jpg"
    13. },
    14. "nick": "",
    15. "num": 200,
    16. "num_iid": "MAY935",
    17. "price": "388.90",
    18. "orginal_price": "344.16",
    19. "desc": "
      \"tec-description\">\n\t\t\t\t\t\t\t\t\t

      \"text-align: left;\">\"https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/c1WRkS16iHLznuArz9riI8X11Z8cQNZJlHuB%2FLMNAM4%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" title=\"c1WRkS16iHLznuArz9riI8X11Z8cQNZJlHuB%2FLMNAM4%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" alt=\"5.jpg\"/>

      \t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec-tittle clearfix\">\n\t\t\t\t\t\t\t\t\t\t
      \"name\">\n\t\t\t\t\t\t\t\t\t\t\t\"cnName\">产品介绍\n\t\t\t\t\t\t\t\t\t\t\t\"enName\">Overview\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\"sprite-tec-logo\">\n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec-description\">\n\t\t\t\t\t\t\t\t\t

      \"https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpPHUYywGrlbRNZZsUNdUrnw%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" title=\"whghpyZrqBPOmAoOIt%2BFpPHUYywGrlbRNZZsUNdUrnw%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" alt=\"未标题-1.jpg\"/>

      \"https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpNqTDaeXEEsyxS%2FGg6yGIng%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" title=\"whghpyZrqBPOmAoOIt%2BFpNqTDaeXEEsyxS%2FGg6yGIng%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" alt=\"未标题-1.jpg\"/>


      \t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec4\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec-tittle clearfix\">\n\t\t\t\t\t\t\t\t\t\t
      \"name\">\n\t\t\t\t\t\t\t\t\t\t\t\"cnName\">技术参数\n\t\t\t\t\t\t\t\t\t\t\t\"enName\">Specifications\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\"sprite-tec-logo\">\n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec-description\">\n\t\t\t\t\t\t\t\t\t

      \"https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpCP7gYkETXQecroynBj1L8E%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" title=\"whghpyZrqBPOmAoOIt%2BFpCP7gYkETXQecroynBj1L8E%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" alt=\"未标题-1.jpg\"/>

      \t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec6\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec-tittle clearfix\">\n\t\t\t\t\t\t\t\t\t\t
      \"name\">\n\t\t\t\t\t\t\t\t\t\t\t\"cnName\">产品细节\n\t\t\t\t\t\t\t\t\t\t\t\"enName\">Details\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\"sprite-tec-logo\">\n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec-description\">\n\t\t\t\t\t\t\t\t\t

      \"https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpNenEX1JgWS58Xg62Y9mRbM%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" title=\"whghpyZrqBPOmAoOIt%2BFpNenEX1JgWS58Xg62Y9mRbM%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" alt=\"未标题-1.jpg\"/> \"https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpD9o02fiZk3Oke%2FvwTDuRTM%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" title=\"whghpyZrqBPOmAoOIt%2BFpD9o02fiZk3Oke%2FvwTDuRTM%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" alt=\"未标题-1.jpg\"/>



      \t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec10\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec-tittle clearfix\">\n\t\t\t\t\t\t\t\t\t\t
      \"name\">\n\t\t\t\t\t\t\t\t\t\t\t\"cnName\">产品应用\n\t\t\t\t\t\t\t\t\t\t\t\"enName\">Applications\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\"sprite-tec-logo\">\n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"tec-description\">\n\t\t\t\t\t\t\t\t\t

      \"https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpL9tQ8B%2BZqEjA00ARa43YaM%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" title=\"whghpyZrqBPOmAoOIt%2BFpL9tQ8B%2BZqEjA00ARa43YaM%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D\" alt=\"未标题-1.jpg\"/>

      \t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \"https://www.o0b.cn/i.php?t.png&rid=gw-3.64705adb55794&p=1778788018&k=i_key&t=1685084893\" style=\"display:none\" />",
  • "props_list": [],
  • "seller_info": {
  • "item_score": "",
  • "shop_name": "得伟",
  • "title": "得伟",
  • "zhuy": "https://www.ehsy.com/brand-702",
  • "company_name": ""
  • },
  • "props_img": [],
  • "format_check": "ok",
  • "sales": 0,
  • "desc_img": [
  • "https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/c1WRkS16iHLznuArz9riI8X11Z8cQNZJlHuB%2FLMNAM4%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D",
  • "https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpPHUYywGrlbRNZZsUNdUrnw%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D",
  • "https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpNqTDaeXEEsyxS%2FGg6yGIng%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D",
  • "https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpCP7gYkETXQecroynBj1L8E%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D",
  • "https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpNenEX1JgWS58Xg62Y9mRbM%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D",
  • "https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpD9o02fiZk3Oke%2FvwTDuRTM%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D",
  • "https://image-c.ehsy.com/uploadfile/opc/editor/image/wm/whghpyZrqBPOmAoOIt%2BFpL9tQ8B%2BZqEjA00ARa43YaM%3D%3AaWg0OHRzZGxnUFBZU2FBUg%3D%3D"
  • ],
  • "shop_item": [],
  • "relate_items": []
  • },
  • "error": "",
  • "secache": "9c0843ecec7ba04cd03a5eb49f89f0a4",
  • "secache_time": 1685084893,
  • "secache_date": "2023-05-26 15:08:13",
  • "translate_status": "",
  • "translate_time": 0,
  • "language": {
  • "default_lang": "cn",
  • "current_lang": "cn"
  • },
  • "reason": "",
  • "error_code": "0000",
  • "cache": 0,
  • "api_info": "today:45 max:10100 all[113=45+32+36];expires:2030-12-31",
  • "execution_time": "2.245",
  • "server_time": "Beijing/2023-05-26 15:08:13",
  • "client_ip": "106.6.38.178",
  • "call_args": {
  • "num_iid": "MAY935"
  • },
  • "api_type": "xiyu",
  • "translate_language": "zh-CN",
  • "translate_engine": "baidu",
  • "server_memory": "3.28MB",
  • "request_id": "gw-3.64705adb55794",
  • "last_id": "1764850138"
  • }
  • 相关阅读:
    H桥级联型五电平三相逆变器Simulink仿真模型
    Vue3 组件间通信的七种方式
    【Java八股40天-Day3】 集合类1
    大语言模型(LLM)过拟合问题
    算法基础-dfs的经验
    问题:Qt中软件移植到笔记本中界面出现塌缩
    论如何直接用EF Core实现创建更新时间、用户审计,自动化乐观并发、软删除和树形查询(上)
    react的useState源码分析
    如何预防CSRF攻击
    如何判断SSL证书的安全性高低?越贵越好?懂点原理会少花冤枉钱
  • 原文地址:https://blog.csdn.net/2301_78671173/article/details/133910013