按图搜索商品(拍立淘)

按图搜索商品(拍立淘)_第1张图片

点击获取key和secret

请求参数

请求参数:imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg&cat=

参数说明:imgid:图片地址(支持淘宝或天猫图片地址,外部地址先调用上传图片(upload_img)接口,返回图片地址)
如:https://img.alicdn.com/imgextra/i3/15353738/TB2HDHAqN9YBuNjy0FfXXXIsVXa_!!15353738-0-beehive-scenes.jpg 

按图搜索商品(拍立淘)_第2张图片

API 返回结果

Request address:
https://api-gw.onebound.cn/taobao/item_search_img/?key=test_api_key&
&imgid=http://g-search3.alicdn.com/img/bao/uploaded/i4/O1CN01IDpcD81zHbpHs1YgT_!!2200811456689.jpg&cat=&&lang=zh-CN&secret=
---------------------------------------
Result Object:
---------------------------------------
{
	"items": {
		"pagecount": 1,
		"total_results": 60,
		"real_total_results": 60,
		"item": [
			{
				"title": "st 2019 nba精英高帮篮球袜精英袜联名款毛巾底防滑缓震运动比赛",
				"pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i4/O1CN01oVIXDB1aKTzJ7SIL8_!!2201451133311.jpg",
				"promotion_price": "20.14",
				"price": "41.10",
				"sales": 1,
				"num_iid": "624515685398",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "永邦体育馆",
				"is_tmall": "false",
				"area": "湖北 宜昌",
				"detail_url": "//item.taobao.com/item.htm?id=624515685398",
				"cid": null
			},
			{
				"title": "St专业篮球袜精英篮球袜美国队中筒毛巾底男袜防臭吸汗加厚运动袜",
				"pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i4/O1CN01JJ0Df91ynNswhTrvH_!!2212656286623.jpg",
				"promotion_price": "21.80",
				"price": "30.80",
				"sales": 1,
				"num_iid": "669956799574",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "Alano篮球袜馆",
				"is_tmall": "false",
				"area": "浙江 杭州",
				"detail_url": "//item.taobao.com/item.htm?id=669956799574",
				"cid": null
			},
			{
				"title": "NBA球员版stance篮球袜运动精英袜毛巾底实战加厚吸汗中高筒缓震",
				"pic_url": "http://g.search2.alicdn.com/img/bao/uploaded/i4/O1CN015eeDS41yyNMsbtMyE_!!2181686647.jpg",
				"promotion_price": "24.00",
				"price": "24.00",
				"sales": 10,
				"num_iid": "659528356583",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "名人运动袜铺",
				"is_tmall": "false",
				"area": "浙江 绍兴",
				"detail_url": "//item.taobao.com/item.htm?id=659528356583",
				"cid": null
			},
			{
				"title": "8双28元精英袜街头篮球袜男女棉加厚毛巾底户外马拉松跑步袜骚粉",
				"pic_url": "http://g.search2.alicdn.com/img/bao/uploaded/i4/O1CN01PvEGVZ1M9ZrRMOwZp_!!751971392.jpg",
				"promotion_price": "28.00",
				"price": "56.00",
				"sales": 2,
				"num_iid": "590512190820",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "户外运动基地002",
				"is_tmall": "false",
				"area": "江苏 南通",
				"detail_url": "//item.taobao.com/item.htm?id=590512190820",
				"cid": null
			},
			{
				"title": "维动实战专业篮球袜子毛巾底高筒运动精英男中筒高帮长筒训练美式",
				"pic_url": "http://g.search3.alicdn.com/img/bao/uploaded/i4/O1CN012C3Yva2CO6cZFsWOq_!!3495438463.jpg",
				"promotion_price": "13.80",
				"price": "63.80",
				"sales": 19019,
				"num_iid": "658455580393",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "veidoorn维动旗舰店",
				"is_tmall": "false",
				"area": "江苏 扬州",
				"detail_url": "//item.taobao.com/item.htm?id=658455580393",
				"cid": null
			},
			{
				"title": "ACE综合级_UZIS斗牛2.0篮球袜男高帮运动实战专业长中筒精英袜子",
				"pic_url": "http://g.search2.alicdn.com/img/bao/uploaded/i4/O1CN01EO3ZnU24wtnFsEU9S_!!2207237977456.jpg",
				"promotion_price": "14.63",
				"price": "119.00",
				"sales": 16014,
				"num_iid": "669005311021",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "uzis旗舰店",
				"is_tmall": "false",
				"area": "湖南 长沙",
				"detail_url": "//item.taobao.com/item.htm?id=669005311021",
				"cid": null
			},
			{
				"title": "专业精英篮球袜儿童运动袜子男中高筒长筒棉袜科比詹姆斯库里欧文",
				"pic_url": "http://g.search1.alicdn.com/img/bao/uploaded/i4/O1CN01jggZqc280Vk15Bzwj_!!2206510547870.jpg",
				"promotion_price": "9.90",
				"price": "9.90",
				"sales": 640,
				"num_iid": "654316909710",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "幸运小狮子",
				"is_tmall": "false",
				"area": "广东 广州",
				"detail_url": "//item.taobao.com/item.htm?id=654316909710",
				"cid": null
			},
			{
				"title": "科比欧文篮球袜男高帮长筒运动袜吸汗透气防臭毛巾底加厚精英袜",
				"pic_url": "http://g.search3.alicdn.com/img/bao/uploaded/i4/O1CN012S2HXW26m1Xhcte3p_!!3547947703.jpg",
				"promotion_price": "17.90",
				"price": "39.00",
				"sales": 0,
				"num_iid": "634660000153",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "比跃途运动袜业",
				"is_tmall": "false",
				"area": "广东 广州",
				"detail_url": "//item.taobao.com/item.htm?id=634660000153",
				"cid": null
			},
			{
				"title": "实战篮球袜男中筒袜专业精英加厚毛巾底防滑长袜运动训练高帮袜子",
				"pic_url": "http://g.search2.alicdn.com/img/bao/uploaded/i4/O1CN01N779AJ1mVGrN148Eg_!!1974914959.jpg",
				"promotion_price": "22.00",
				"price": "50.00",
				"sales": 0,
				"num_iid": "679292084186",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "羽风体育",
				"is_tmall": "false",
				"area": "广东 广州",
				"detail_url": "//item.taobao.com/item.htm?id=679292084186",
				"cid": null
			},
			{
				"title": "3双儿童实战篮球袜夏季厚款男童中筒袜子专业训练科比毛巾底球袜",
				"pic_url": "http://g.search.alicdn.com/img/bao/uploaded/i4/O1CN011lk26v1rhhgnSJhxw_!!196785663.jpg",
				"promotion_price": "34.80",
				"price": "69.60",
				"sales": 2115,
				"num_iid": "673697654007",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "李进严选运动用品",
				"is_tmall": "false",
				"area": "广东 佛山",
				"detail_url": "//item.taobao.com/item.htm?id=673697654007",
				"cid": null
			},
			{
				"title": "精英篮球袜男库里30号加厚长袜长筒篮球训练运动袜儿童实战袜子",
				"pic_url": "http://g.search3.alicdn.com/img/bao/uploaded/i4/O1CN01pWdZs22855dAZCGjT_!!2201470217880.jpg",
				"promotion_price": "13.80",
				"price": "68.00",
				"sales": 114,
				"num_iid": "619768457706",
				"post_fee": "0.00",
				"sample_id": "",
				"seller_nick": "光板旗舰店",
				"is_tmall": "false",
				"area": "广东 广州",
				"detail_url

你可能感兴趣的:(代购,电商,API,图搜索算法,算法)