爬虫试用 | 京东商品详情搜索采集助手 – 一键批量采集下载商品详情

admin2周前京东API30

API:京东item_get_pro

功能:输入关键词搜索批量采集商品详情内容,如标题、相应的sku、sku对应的价格、主图、详情图、原价、到手价、优惠、店铺名、店铺id、店铺评分、简介等。

公共参数

点击获取API测试key和密钥

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


请求示例(curl)

-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-服务器.cn/jd/item_get_pro/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10099255846411"

响应示例

"item": {
		"num_iid": "10099255846411",
		"title": "花田熊DHA高钙小奶棒奶片奶贝儿童营养零食牛初乳糖果高蛋白牛奶棒磨牙 【1桶/25支】原味高钙奶棒",
		"desc_short": "",
		"price": "23.80",
		"total_price": "",
		"suggestive_price": "",
		"orginal_price": "23.80",
		"nick": "花田熊官方旗舰店",
		"num": "99",
		"min_num": "1",
		"detail_url": "https://item.jd.com/10099255846411.html#crumb-wrap",
		"pic_url": "//img13.360buyimg.com/n12/jfs/t1/369021/18/31/186606/6917d272F0cd6d243/b86b8f49e4040aae.jpg",
		"brand": "花田熊(HUATIANXIONG)",
		"brandId": "772653",
		"rootCatId": "1319",
		"cid": "12191",
		"desc": "",
		"desc_img": [],
		"item_imgs": {
			"item_img": [
				{
					"url": "//img10.360buyimg.com/n1/jfs/t1/369021/18/31/186606/6917d272F0cd6d243/b86b8f49e4040aae.jpg"
				},
				{
					"url": "//img10.360buyimg.com/n1/jfs/t1/312370/28/8819/74736/684a8c31F0a22ca05/bc9f486dd8d70194.jpg"
				},
				{
					"url": "//img10.360buyimg.com/n1/jfs/t1/305563/18/9860/43830/684a8c08F6a467c5f/e633e3c37ddad36e.jpg"
				},
				{
					"url": "//img10.360buyimg.com/n1/jfs/t1/302347/12/14028/76108/684a8c07F95418f40/ca66afc8b77084e9.jpg"
				},
				{
					"url": "//img10.360buyimg.com/n1/jfs/t1/299756/4/15421/39993/684a8c07F5abf01f8/007dd5668e9bf280.jpg"
				},
				{
					"url": "//img10.360buyimg.com/n1/jfs/t1/301285/30/14536/54815/684a8c06F5096ae5b/02c41500f87ddab2.jpg"
				},
				{
					"url": "//img10.360buyimg.com/n1/jfs/t1/345244/28/2790/84322/68c519f1Fda4ac7c9/b24f9f2434e008aa.jpg"
				},
				{
					"url": "//img10.360buyimg.com/n1/jfs/t1/344139/14/2860/100735/68c519efF872cd36e/4f324c0e7695d518.jpg"
				},
				{
					"url": "//img10.360buyimg.com/n1/jfs/t1/337915/14/11795/55566/68ca1fd9F03b59040/c0f2e648fde20ca6.jpg"
				},
				{
					"url": "//img10.360buyimg.com/n1/jfs/t1/337221/2/10401/55920/68c519ecF3c82f5e1/fd08b9cadeeb9785.jpg"
				}
			]
		},
		"item_weight": null,
		"post_fee": "",
		"express_fee": "",
		"ems_fee": "",
		"video_id": "",
		"is_promotion": "",
		"props_name": "1:0:容量:【1桶/25支】原味高钙奶棒;1:1:容量:【2桶/50支】添加牛初乳;1:2:容量:【3桶/75支】家庭囤货首选;1:3:容量:【5支尝鲜装】开启美味时刻;1:4:容量:【畅销】原味高钙奶棒*1桶;",
		"prop_imgs": {
			"prop_img": [
				{
					"properties": "1:3",
					"url": "//img10.360buyimg.com/n1/jfs/t1/308371/4/8960/81463/684a8c2eF58754f32/851cd6aa5817a1c3.jpg"
				},
				{
					"properties": "1:4",
					"url": "//img10.360buyimg.com/n1/jfs/t1/312370/28/8819/74736/684a8c31F0a22ca05/bc9f486dd8d70194.jpg"
				},
				{
					"properties": "1:2",
					"url": "//img10.360buyimg.com/n1/jfs/t1/320982/22/8622/97293/684a8c2fF0ef77cee/ae07bc0fa7fd5273.jpg"
				},
				{
					"properties": "1:1",
					"url": "//img10.360buyimg.com/n1/jfs/t1/286109/16/9739/92820/684a8c30Fbb66f014/1b3c31ced2889b39.jpg"
				},
				{
					"properties": "1:0",
					"url": "//img10.360buyimg.com/n1/jfs/t1/312370/28/8819/74736/684a8c31F0a22ca05/bc9f486dd8d70194.jpg"
				}
			]
		},
		"property_alias": "1:0:容量:【1桶/25支】原味高钙奶棒;1:1:容量:【2桶/50支】添加牛初乳;1:2:容量:【3桶/75支】家庭囤货首选;1:3:容量:【5支尝鲜装】开启美味时刻;1:4:容量:【畅销】原味高钙奶棒*1桶;1:4:【畅销】原味高钙奶棒*1桶;",
		"props": [
			{
				"name": "保质期",
				"value": "10个月"
			},
			{
				"name": "口味",
				"value": "原味"
			},
			{
				"name": "包装形式",
				"value": "桶装"
			},
			{
				"name": "国产/进口",
				"value": "国产"
			}
		],
		"total_sold": "0",
		"skus": {
			"sku": [
				{
					"price": "23.80",
					"orginal_price": "23.80",
					"properties": "1:3",
					"properties_name": "1:3:容量:【5支尝鲜装】开启美味时刻",
					"quantity": "99",
					"sku_id": "10102797122726",
					"sku_url": "http://item.jd.com/10102797122726.html"
				},
				{
					"price": "23.80",
					"orginal_price": "23.80",
					"properties": "1:4",
					"properties_name": "1:4:容量:【畅销】原味高钙奶棒*1桶",
					"quantity": "99",
					"sku_id": "10155281706757",
					"sku_url": "http://item.jd.com/10155281706757.html"
				},
				{
					"price": "23.80",
					"orginal_price": "23.80",
					"properties": "1:2",
					"properties_name": "1:2:容量:【3桶/75支】家庭囤货首选",
					"quantity": "99",
					"sku_id": "10099255846413",
					"sku_url": "http://item.jd.com/10099255846413.html"
				},
				{
					"price": "23.80",
					"orginal_price": "23.80",
					"properties": "1:1",
					"properties_name": "1:1:容量:【2桶/50支】添加牛初乳",
					"quantity": "99",
					"sku_id": "10099255846412",
					"sku_url": "http://item.jd.com/10099255846412.html"
				},
				{
					"price": "23.80",
					"orginal_price": "23.80",
					"properties": "1:0",
					"properties_name": "1:0:容量:【1桶/25支】原味高钙奶棒",
					"quantity": "99",
					"sku_id": "10099255846411",
					"sku_url": "http://item.jd.com/10099255846411.html"
				}
			]
		},
		"seller_id": "11938918",
		"sales": 0,
		"shop_id": "11938918",
		"props_list": {
			"1:0": "容量:【1桶/25支】原味高钙奶棒",
			"1:1": "容量:【2桶/50支】添加牛初乳",
			"1:2": "容量:【3桶/75支】家庭囤货首选",
			"1:3": "容量:【5支尝鲜装】开启美味时刻",
			"1:4": "容量:【畅销】原味高钙奶棒*1桶"
		},
		"seller_info": {
			"shop_id": 11938918,
			"zhuy": "http://mall.jd.com/index-11938918.html",
			"nick": "花田熊官方旗舰店",
			"shop_name": "花田熊官方旗舰店"
		},
		"props_img": [
			{
				"1:3": "//img10.360buyimg.com/n1/jfs/t1/308371/4/8960/81463/684a8c2eF58754f32/851cd6aa5817a1c3.jpg"
			},
			{
				"1:4": "//img10.360buyimg.com/n1/jfs/t1/312370/28/8819/74736/684a8c31F0a22ca05/bc9f486dd8d70194.jpg"
			},
			{
				"1:2": "//img10.360buyimg.com/n1/jfs/t1/320982/22/8622/97293/684a8c2fF0ef77cee/ae07bc0fa7fd5273.jpg"
			},
			{
				"1:1": "//img10.360buyimg.com/n1/jfs/t1/286109/16/9739/92820/684a8c30Fbb66f014/1b3c31ced2889b39.jpg"
			},
			{
				"1:0": "//img10.360buyimg.com/n1/jfs/t1/312370/28/8819/74736/684a8c31F0a22ca05/bc9f486dd8d70194.jpg"
			}
		],
		"_ddf": "fqx"
	},


相关文章

京东商品评论接口|用API获取商品评论数据实战演示

京东商品评论接口|用API获取商品评论数据实战演示

 编辑jd.item_review获取京东商品评论1、查看API文档,请求参数响应参数、请求示例等请求参数请求参数:num_iid=71619129750&page=1&so...

获取淘宝京东商品评论数据最新评论API接口|测试key&密钥

以下API响应数据(部分)"comments": [  {  "imageCount": 2,  &qu...

京东商品sku接口能返回哪些字段数据?(商品价格、主图、规格参数等)

京东商品sku接口能返回哪些字段数据?(商品价格、主图、规格参数等)

 京东item_sku接口是通过商品的skuid获取商品详情数据的,主要包括商品价格、商品标题、规格名称、宝贝链接,商品图片等信息。注册账号可获取京东淘宝API免费测试下面做一个请求示例。以...

京东商品详情获取实例|如何通过调用API获取京东商品价格主图详情图信息

京东商品详情页调用API返回json数据(部分)"item": {  "num_iid": "100010956919...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。