电商数据平台西域根据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"
}
相关推荐
苹果醋32 分钟前
Java8->Java19的初步探索
java·运维·spring boot·mysql·nginx
荒川之神3 分钟前
ORACLE _11G_R2_ASM 常用命令
数据库·oracle
秋の花6 分钟前
【JAVA基础】Java集合基础
java·开发语言·windows
IT培训中心-竺老师9 分钟前
Oracle 23AI创建示例库
数据库·oracle
小松学前端9 分钟前
第六章 7.0 LinkList
java·开发语言·网络
Wx-bishekaifayuan16 分钟前
django电商易购系统-计算机设计毕业源码61059
java·spring boot·spring·spring cloud·django·sqlite·guava
可峰科技18 分钟前
斗破QT编程入门系列之二:认识Qt:编写一个HelloWorld程序(四星斗师)
开发语言·qt
customer0820 分钟前
【开源免费】基于SpringBoot+Vue.JS周边产品销售网站(JAVA毕业设计)
java·vue.js·spring boot·后端·spring cloud·java-ee·开源
全栈开发圈22 分钟前
新书速览|Java网络爬虫精解与实践
java·开发语言·爬虫