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

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

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

公共参数

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

名称 类型 必须 描述
key String 调用key(必须以GET方式拼接在URL中)
secret String 调用密钥
api_name String API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
cache String [yes,no]默认yes,将调用缓存的数据,速度比较快
result_type String [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
lang String [cn,en,ru]翻译语言,默认cn简体中文
version String API版本

请求参数

请求参数:num_iid=MAY935

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

响应参数

Version: Date:

名称 类型 必须 示例值 描述
item item[] 1 宝贝详情数据
num_iid Bigint 1 MAY935 宝贝ID
title String 1 得伟角磨机,100mm 800W,DW803 宝贝标题
desc_short String 0 商品简介
price Float 1 388.90 价格
total_price Float 0
orginal_price String 0 344.16 原价
detail_url String 0 https://www.ehsy.com/product-MAY935 宝贝链接
pic_url String 1 https://image-c.ehsy.com/uploadfile/opc/img/2016/12/10/20161210143327707_M.jpg 宝贝图片
brand String 0 得伟 DW803 品牌名称
brandId Int 0 品牌ID
desc String 0 商品详情
item_imgs Mix 0 item_imgs[] 商品图片
props Mix 0 [{name: "系列",value: ""}] 商品属性
seller_id Int 0 702 卖家ID
shop_id Int 0 店铺ID
zhuy string 0 https://www.ehsy.com/brand-702 主页地址
props_img Mix 0 属性图片
format_check string 0 ok
sales Int 0 0 销量
desc_img Mix 0 [] 商品描述图片
shop_item Mix 0 []
relate_items Mix 0 []

响应示例

{
    "item": {
        "detail_url": "https://www.ehsy.com/product-MAY935",
        "crumbs": "",
        "title": "得伟角磨机,100mm 800W,DW803",
        "desc_short": "",
        "brand": "",
        "brandId": "得伟 DW803",
        "cid": "-1",
        "pic_url": "https://image-c.ehsy.com/uploadfile/opc/img/2016/12/10/20161210143327707_M.jpg",
        "item_imgs": {
            "url": "https://image-c.ehsy.com/uploadfile/opc/img/2016/12/10/20161210143327707_M.jpg"
        },
        "nick": "",
        "num": 200,
        "num_iid": "MAY935",
        "price": "388.90",
        "orginal_price": "344.16",
        "desc": "<div class=\"tec-description\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: left;\"><img src=\"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\"/></p>\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"tec2\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tec-tittle clearfix\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"name\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"cnName\">产品介绍</span>\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"enName\">Overview</span>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<i class=\"sprite-tec-logo\"></i>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tec-description\">\n\t\t\t\t\t\t\t\t\t<p><img src=\"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\"/></p><p> <img src=\"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\"/></p><p><br/></p>\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"tec4\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tec-tittle clearfix\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"name\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"cnName\">技术参数</span>\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"enName\">Specifications</span>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<i class=\"sprite-tec-logo\"></i>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tec-description\">\n\t\t\t\t\t\t\t\t\t<p><img src=\"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\"/></p>\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"tec6\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tec-tittle clearfix\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"name\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"cnName\">产品细节</span>\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"enName\">Details</span>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<i class=\"sprite-tec-logo\"></i>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tec-description\">\n\t\t\t\t\t\t\t\t\t<p><img src=\"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\"/> <img src=\"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\"/></p><p><br/></p><p><br/></p>\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"tec10\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tec-tittle clearfix\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"name\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"cnName\">产品应用</span>\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"enName\">Applications</span>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<i class=\"sprite-tec-logo\"></i>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tec-description\">\n\t\t\t\t\t\t\t\t\t<p><img src=\"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\"/></p>\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</div><img src=\"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"
}
相关推荐
路在脚下@1 分钟前
spring boot的配置文件属性注入到类的静态属性
java·spring boot·sql
森屿Serien4 分钟前
Spring Boot常用注解
java·spring boot·后端
轻口味31 分钟前
命名空间与模块化概述
开发语言·前端·javascript
前端小小王1 小时前
React Hooks
前端·javascript·react.js
苹果醋31 小时前
React源码02 - 基础知识 React API 一览
java·运维·spring boot·mysql·nginx
迷途小码农零零发1 小时前
react中使用ResizeObserver来观察元素的size变化
前端·javascript·react.js
晓纪同学1 小时前
QT-简单视觉框架代码
开发语言·qt
威桑1 小时前
Qt SizePolicy详解:minimum 与 minimumExpanding 的区别
开发语言·qt·扩张策略
Hello.Reader1 小时前
深入解析 Apache APISIX
java·apache