商品详情获取6.0格式H5

77 篇文章 1 订阅
31 篇文章 0 订阅

商品详情获取6.0格式H5

公共参数

名称 类型 必须 描述
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:淘宝商品ID
is_promotion:是否获取取促销价

响应参数

在这里插入图片描述
注册免费测试:点击注册

返回实例:


Result Object:
---------------------------------------
{
	"item": {
		"num_iid": "588303585541",
		"title": "韩国NAIB婴儿充气便携防滑游泳池宝宝浴缸家用儿童新生儿洗澡桶",
		"desc_short": "",
		"price": "252",
		"total_price": 0,
		"suggestive_price": 0,
		"orginal_price": "252.00",
		"nick": "buyfine海外旗舰店",
		"num": "200",
		"min_num": 0,
		"detail_url": "https://item.taobao.com/item.htm?id=588303585541",
		"pic_url": "//img.alicdn.com/imgextra/i2/1706222708/O1CN01RiKdUr1VsJF6Va642_!!1706222708.jpg",
		"brand": "Nai-B",
		"brandId": "1079693209",
		"rootCatId": "25",
		"cid": "50012457",
		"crumbs": [],
		"created_time": "",
		"modified_time": "",
		"delist_time": "",
		"desc": "",
		"desc_img": [],
		"item_imgs": [
			{
				"url": "//img.alicdn.com/imgextra/i2/1706222708/O1CN01RiKdUr1VsJF6Va642_!!1706222708.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i1/1706222708/O1CN01wiT9nT1VsJFEC4YQi_!!1706222708.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i1/1706222708/O1CN01UcXRst1VsJFAKEXKs_!!1706222708.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i2/1706222708/O1CN01Ocfp2p1VsJDLt2kZk_!!1706222708.jpg"
			},
			{
				"url": "//img.alicdn.com/imgextra/i4/1706222708/O1CN014kzQsH1VsJDKZyKN8_!!1706222708.jpg"
			}
		],
		"item_weight": "",
		"item_size": "",
		"location": "韩国",
		"post_fee": "",
		"express_fee": null,
		"ems_fee": "",
		"shipping_to": "",
		"has_discount": "false",
		"video": [],
		"is_virtual": "",
		"sample_id": "",
		"is_promotion": "false",
		"props_name": "1627207:30156:颜色分类:薄荷绿色;1627207:3232480:颜色分类:粉色",
		"prop_imgs": {
			"prop_img": [
				{
					"properties": "1627207:30156",
					"url": "//img.alicdn.com/imgextra/i3/1706222708/O1CN01fnYbYI1VsJDk6wlVG_!!1706222708.jpg"
				},
				{
					"properties": "1627207:3232480",
					"url": "//img.alicdn.com/imgextra/i4/1706222708/O1CN01mcgF461VsJDlNwlSI_!!1706222708.jpg"
				}
			]
		},
		"property_alias": "",
		"props": [
			{
				"name": "品牌",
				"value": "Nai-B"
			},
			{
				"name": "型号",
				"value": "WC_05"
			},
			{
				"name": "适用年龄",
				"value": "3周岁以下"
			},
			{
				"name": "形态",
				"value": "其他"
			},
			{
				"name": "适用性别",
				"value": "男女通用"
			},
			{
				"name": "颜色分类",
				"value": "薄荷绿色 粉色"
			},
			{
				"name": "货号",
				"value": "WC_05"
			}
		],
		"total_sold": "15",
		"skus": {
			"sku": [
				{
					"price": "252",
					"total_price": 0,
					"orginal_price": "252",
					"properties": "1627207:30156",
					"properties_name": "1627207:30156:颜色分类:薄荷绿色",
					"quantity": "200",
					"sku_id": "4181774499041"
				},
				{
					"price": "252",
					"total_price": 0,
					"orginal_price": "252",
					"properties": "1627207:3232480",
					"properties_name": "1627207:3232480:颜色分类:粉色",
					"quantity": "200",
					"sku_id": "4181774499042"
				}
			]
		},
		"seller_id": "1706222708",
		"sales": 0,
		"shop_id": "104330376",
		"props_list": {
			"1627207:30156": "颜色分类:薄荷绿色",
			"1627207:3232480": "颜色分类:粉色"
		},
		"seller_info": {
			"nick": "buyfine海外旗舰店",
			"item_score": "4.9 ",
			"score_p": "4.9 ",
			"delivery_score": "4.9 ",
			"shop_type": "B",
			"user_num_id": "1706222708",
			"sid": "104330376",
			"title": "Buyfine海外旗舰店",
			"zhuy": "https://shop104330376.taobao.com/",
			"shop_name": "Buyfine海外旗舰店"
		},
		"tmall": true,
		"error": "",
		"warning": "",
		"url_log": [],
		"fav_count": "450",
		"fans_count": "29.0万",
		"freight": "运费: 免运费",
		"props_imgs": {
			"prop_img": [
				{
					"properties": "1627207:30156",
					"url": "//img.alicdn.com/imgextra/i3/1706222708/O1CN01fnYbYI1VsJDk6wlVG_!!1706222708.jpg"
				},
				{
					"properties": "1627207:3232480",
					"url": "//img.alicdn.com/imgextra/i4/1706222708/O1CN01mcgF461VsJDlNwlSI_!!1706222708.jpg"
				}
			]
		},
		"_ddf": "xdl",
		"promo_type": null,
		"props_img": {
			"1627207:30156": "//img.alicdn.com/imgextra/i3/1706222708/O1CN01fnYbYI1VsJDk6wlVG_!!1706222708.jpg",
			"1627207:3232480": "//img.alicdn.com/imgextra/i4/1706222708/O1CN01mcgF461VsJDlNwlSI_!!1706222708.jpg"
		},
		"format_check": "ok",
		"shop_item": [],
		"relate_items": []
	},
	"error": "",
	"secache": "466d5ca653fca9eda49c2cfcc7ac9734",
	"secache_time": 1660552099,
	"secache_date": "2022-08-15 16:28:19",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"reason": "",
	"error_code": "0000",
	"cache": 0,
	"api_info": "today:256 max:10100 all[328=256+22+50];expires:2030-12-31",
	"execution_time": "6.774",
	"server_time": "Beijing/2022-08-15 16:28:19",
	"client_ip": "106.6.32.219",
	"call_args": {
		"num_iid": "588303585541",
		"is_promotion": "1"
	},
	"api_type": "taobao",
	"translate_language": "zh-CN",
	"translate_engine": "google_new",
	"server_memory": "5.89MB",
	"request_id": "gw-1.62fa039d1a4a5",
	"last_id": "1152174864"
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值