电商数据平台西域根据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 []

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

响应示例

{
    "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": "
\n\t\t\t\t\t\t\t\t\t

\"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
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t产品介绍\n\t\t\t\t\t\t\t\t\t\t\tOverview\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\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
\n\t\t\t\t\t\t\t\t\t

\"未标题-1.jpg\"/

\"未标题-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
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t技术参数\n\t\t\t\t\t\t\t\t\t\t\tSpecifications\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\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
\n\t\t\t\t\t\t\t\t\t

\"未标题-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
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t产品细节\n\t\t\t\t\t\t\t\t\t\t\tDetails\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\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
\n\t\t\t\t\t\t\t\t\t

\"未标题-1.jpg\"/ \"未标题-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
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t产品应用\n\t\t\t\t\t\t\t\t\t\t\tApplications\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\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
\n\t\t\t\t\t\t\t\t\t

\"未标题-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
", "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" }

你可能感兴趣的:(数据库,学习分享,api,java,开发语言,数据库,数据挖掘,前端)