掌握苏宁API,一键获取商品详情,解锁无尽商业可能

苏宁的API接口可以用于获取商品详情。以下是一个示例的API接口,通过商品ID获取商品详情:

https://open.suning.com/api/content/product/getById?productId=商品ID&appKey=你的应用密钥&sign=你的签名&format=json

在上面的接口中,你需要替换以下参数:

  • 商品ID:你要获取商品详情的商品ID。
  • 你的应用密钥:你在苏宁开放平台申请的应用密钥。
  • 你的签名:根据苏宁API接口的签名规则进行计算。

掌握苏宁API,一键获取商品详情,解锁无尽商业可能_第1张图片

点击获取key和secret

苏宁易购获得suning商品详情 API 返回值说明

请求参数

请求参数:num_iid=0070134261/703410301

参数说明:num_iid:店铺ID/商品ID


---------------------------------------
{
	"item": {
		"num_iid": "0070134261/703410301",
		"title": "罗技(Logitech M235 无线光电鼠标2代 升级优联技术台式笔记本电脑无线办公省电鼠标 (灰色",
		"desc_short": "",
		"price": "79.00",
		"total_price": "",
		"suggestive_price": "",
		"orginal_price": "79.00",
		"nick": "罗技外设旗舰店",
		"num": 99,
		"min_num": "",
		"detail_url": "https://product.suning.com/0070134261/703410301.html",
		"pic_url": " //image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_1.jpg",
		"brand": "",
		"brandId": "",
		"rootCatId": "",
		"cid": "",
		"crumbs": {
			"157250": "鼠标"
		},
		"created_time": "",
		"modified_time": "",
		"delist_time": "",
		"desc": "<\"div> <\"img src=\"https://image.suning.cn/uimg/sop/commodity/180469403026839773750900_x.jpg\">
, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/829807810124167623648200_x.jpg\">
, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/186865161514348058123327_x.jpg\">
, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/131542364233716381943090_x.jpg\">
, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/763953680205707567428220_x.jpg\">
, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/414487999203006843787490_x.jpg\">
, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/861748885456060517999000_x.jpg\">
, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/953397344178553966030960_x.jpg\">
, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/210232585971362766796270_x.jpg\">
, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/101179711710153822981808_x.jpg\">, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/199857039911322248487598_x.jpg\">, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/957732684206097424622610_x.jpg\">, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/181933260774892681354540_x.jpg\">, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/213219414110141579504563_x.jpg\">", "desc_img": [], "item_imgs": [ { "url": "//image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_1.jpg" }, { "url": "//image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_2.jpg" }, { "url": "//image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_3.jpg" }, { "url": "//image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_4.jpg" }, { "url": "//image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_5.jpg" } ], "item_weight": "", "item_size": "", "location": "", "post_fee": "", "express_fee": "", "ems_fee": "", "shipping_to": "", "has_discount": "", "video": "", "is_virtual": "", "sample_id": "", "is_promotion": "", "props_name": "0:0:颜色:罗技M650L白色;0:1:颜色:罗技M650L白色;0:2:颜色:罗技M650L白色;0:3:颜色:罗技M650L白色;0:4:颜色:罗技M650L白色;0:5:颜色:罗技M650L白色;0:6:颜色:罗技M650L白色;0:7:颜色:罗技M650L白色;0:8:颜色:罗技M650L白色;0:9:颜色:罗技M650L白色;0:10:颜色:罗技M650L白色;0:11:颜色:罗技M650L白色;0:12:颜色:罗技M650L白色;0:13:颜色:罗技M650L白色;0:14:颜色:罗技M650L白色;0:15:颜色:罗技M650L白色;0:16:颜色:罗技M650L白色;0:17:颜色:罗技M650L白色;0:18:颜色:罗技M650L白色;0:19:颜色:罗技M650L白色", "prop_imgs": "", "property_alias": "0:0:罗技M650L白色;0:1:罗技M650L白色;0:2:罗技M650L白色;0:3:罗技M650L白色;0:4:罗技M650L白色;0:5:罗技M650L白色;0:6:罗技M650L白色;0:7:罗技M650L白色;0:8:罗技M650L白色;0:9:罗技M650L白色;0:10:罗技M650L白色;0:11:罗技M650L白色;0:12:罗技M650L白色;0:13:罗技M650L白色;0:14:罗技M650L白色;0:15:罗技M650L白色;0:16:罗技M650L白色;0:17:罗技M650L白色;0:18:罗技M650L白色;0:19:罗技M650L白色", "props": [ { "name": "品牌", "value": "罗技(Logitech" }, { "name": "鼠标产品类型", "value": "办公鼠标,蓝牙鼠标" }, { "name": "产品型号", "value": "罗技M235" }, { "name": "颜色", "value": "灰色" }, { "name": "适用类型", "value": "笔记本便携,办公" }, { "name": "供电模式", "value": "五号电池" }, { "name": "鼠标接口", "value": "USB" }, { "name": "工作方式", "value": "光电" }, { "name": "人体工学", "value": "是" }, { "name": "按键数", "value": "2" } ], "total_sold": "", "skus": { "sku": [ { "price": "45.00", "orginal_price": "45.00", "properties": "0:0", "properties_name": "0:0:颜色:罗技M650L白色", "sku_id": "000000010535842005" }, { "price": "45.00", "orginal_price": "45.00", "properties": "0:1", "properties_name": "0:1:颜色:罗技M650L白色", "sku_id": "000000010535855478" }, { "price": "45.00", "orginal_price": "45.00", "properties": "0:2", "properties_name": "0:2:颜色:罗技M650L白色", "sku_id": "000000010535847232" }, { "price": "45.00", "orginal_price": "45.00", "properties": "0:3", "properties_name": "0:3:颜色:罗技M650L白色", "sku_id": "000000000702044852" }, { "price": "45.00", "orginal_price": "45.00", "properties": "0:4", "properties_name": "0:4:颜色:罗技M650L白色", "sku_id": "000000000702054145" }, { "price": "45.00", "orginal_price": "45.00", "properties": "0:5", "properties_name": "0:5:颜色:罗技M650L白色", "sku_id": "000000000702050066" }, { "price": "52.00", "orginal_price": "52.00", "properties": "0:6", "properties_name": "0:6:颜色:罗技M650L白色", "sku_id": "000000000702296951" }, { "price": "52.00", "orginal_price": "52.00", "properties": "0:7", "properties_name": "0:7:颜色:罗技M650L白色", "sku_id": "000000000702300333" }, { "price": "52.00", "orginal_price": "52.00", "properties": "0:8", "properties_name": "0:8:颜色:罗技M650L白色", "sku_id": "000000000702301626" }, { "price": "79.00", "orginal_price": "79.00", "properties": "0:9", "properties_name": "0:9:颜色:罗技M650L白色", "sku_id": "000000000703410301" }, { "price": "72.00", "orginal_price": "72.00", "properties": "0:10", "properties_name": "0:10:颜色:罗技M650L白色", "sku_id": "000000000702191572" }, { "price": "69.00", "orginal_price": "69.00", "properties": "0:11", "properties_name": "0:11:颜色:罗技M650L白色", "sku_id": "000000000702205116" }, { "price": "72.00", "orginal_price": "72.00", "properties": "0:12", "properties_name": "0:12:颜色:罗技M650L白色", "sku_id": "000000000702208226" }, { "price": "72.00", "orginal_price": "72.00", "properties": "0:13", "properties_name": "0:13:颜色:罗技M650L白色", "sku_id": "000000000702210716" }, { "price": "", "orginal_price": "", "properties": "0:14", "properties_name": "0:14:颜色:罗技M650L白色", "sku_id": "000000000105021656" }, { "price": "209.00", "orginal_price": "209.00", "properties": "0:15", "properties_name": "0:15:颜色:罗技M650L白色", "sku_id": "000000012356492176" }, { "price": "209.00", "orginal_price": "209.00", "properties": "0:16", "properties_name": "0:16:颜色:罗技M650L白色", "sku_id": "000000012356492094" }, { "price": "209.00", "orginal_price": "209.00", "properties": "0:17", "properties_name": "0:17:颜色:罗技M650L白色", "sku_id": "000000012356492144" }, { "price": "209.00", "orginal_price": "209.00", "properties": "0:18", "properties_name": "0:18:颜色:罗技M650L白色", "sku_id": "000000012356492259" }, { "price": "209.00", "orginal_price": "209.00", "properties": "0:19", "properties_name": "0:19:颜色:罗技M650L白色", "sku_id": "000000012356492215" } ] }, "seller_id": "", "sales": 0, "shop_id": "70134261", "props_list": { "0:0": "颜色:罗技M650L白色", "0:1": "颜色:罗技M650L白色", "0:2": "颜色:罗技M650L白色", "0:3": "颜色:罗技M650L白色", "0:4": "颜色:罗技M650L白色", "0:5": "颜色:罗技M650L白色", "0:6": "颜色:罗技M650L白色", "0:7": "颜色:罗技M650L白色", "0:8": "颜色:罗技M650L白色", "0:9": "颜色:罗技M650L白色", "0:10": "颜色:罗技M650L白色", "0:11": "颜色:罗技M650L白色", "0:12": "颜色:罗技M650L白色", "0:13": "颜色:罗技M650L白色", "0:14": "颜色:罗技M650L白色", "0:15": "颜色:罗技M650L白色", "0:16": "颜色:罗技M650L白色", "0:17": "颜色:罗技M650L白色", "0:18": "颜色:罗技M650L白色", "0:19": "颜色:罗技M650L白色" }, "seller_info": { "nick": "罗技外设旗舰店", "city": "", "shopid": "70134261", "shopname": "罗技外设旗舰店", "title": "", "zhuy": "https://shop.suning.com/70134261/index.html", "tel": "" }, "tmall": "", "warning": "", "url_log": "", "sold": "", "props_img": [], "format_check": "ok", "_ddf": "app", "shop_item": [], "relate_items": [] }, "error": "", "secache": "18f19fa8b522b37c105e7cfb8a9c5b9d", "secache_time": 1700204364, "secache_date": "2023-11-17 14:59:24", "translate_status": "error", "translate_time": 0.002, "language": { "current_lang": "cn", "source_lang": "zh-CN" }, "reason": "", "error_code": "0000", "cache": 0, "api_info": "today:90 max:10000 all[1231=90+159+982];expires:2030-12-31", "execution_time": "7.498", "server_time": "Beijing/2023-11-17 14:59:24", "client_ip": "106.6.39.6", "call_args": { "num_iid": "0070134261/703410301" }, "api_type": "suning", "translate_language": "zh-CN", "translate_engine": "baidu", "server_memory": "3.26MB", "request_id": "gw-1.65570f44ba2ba", "last_id": "2283162722" }

你可能感兴趣的:(API,API接口,关键字和详情数据,python)