淘宝以图搜索商品接口 图片搜索商品列表接口 拍立淘接口

item_search_img-按图搜索淘宝商品(拍立淘)

taobao.item_search_img

公共参数

名称 类型 必须 描述
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版本

请求参数

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

参数说明:imgid:图片地址(支持淘宝或天猫图片地址,外部地址先调用上传图片(upload_img)接口,返回图片地址)

如:https://img.alicdn.com/imgextra/i3/15353738/TB2HDHAqN9YBuNjy0FfXXXIsVXa_!!15353738-0-beehive-scenes.jpg

page:页数

响应参数

Version: Date:

名称 类型 必须 示例值 描述
title String 0 亲子装短袖t恤社会人衣服全家装一家三口母子母女纯棉夏装上衣潮 宝贝标题
cid Int 0 50015374
list_type String 0 外观相似宝贝 列表类型
pic_url String 0 //g-search3.alicdn.com/img/bao/uploaded/i4/TB26ry1rBsmBKNjSZFsXXaXSVXa_!!2628705716.jpg 宝贝图片
promotion_price String 0 38.71 优惠价
price Float 0 39.50 价格
sales Int 0 7 销量
num_iid Bigint 0 575727312808 宝贝ID
sample_id Bigint 0 1627115368 商品风格标识ID
seller_nick String 0 专属味道之dzw 掌柜昵称
is_tmall Bool 0 false
post_fee String 0 0.00 物流费用
area String 0 广东 东莞 店铺所在地
detail_url String 0 //item.taobao.com/item.htm?id=575727312808&ns=1#detail 宝贝链接

返回示例

php 复制代码
"items": {
		"pagecount": 8,
		"total_results": 80,
		"real_total_results": 80,
		"item": [
			{
				"title": "天天清护肝养护肝脏口苦口臭眼干眼涩腹胀屁多护肝茶旗舰店SS1",
				"pic_url": "https://img.alicdn.com/imgextra/i3/698396860/O1CN01u11LhE20XvsCqLIlM_!!2-item_pic.png",
				"promotion_price": 38.9,
				"price": 38.9,
				"sales": 60000,
				"num_iid": 674036439070,
				"post_fee": "",
				"seller_nick": "天天清旗舰店",
				"is_tmall": "false",
				"detail_url": "//item.taobao.com/item.htm?id=674036439070"
			},
			{
				"title": "天天清大茶健康好茶12袋/盒旗舰店正品现货速发",
				"pic_url": "https://img.alicdn.com/imgextra/O1CN01oVDdY023TIjSgjMtC_!!2214640247256.png",
				"promotion_price": 29,
				"price": 29,
				"sales": 0,
				"num_iid": 740050895185,
				"post_fee": "",
				"seller_nick": "康健堂护理馆",
				"is_tmall": "false",
				"detail_url": "//item.taobao.com/item.htm?id=740050895185"
			},
			{
				"title": "徽非天天每天清大茶源头极速发货量大从优",
				"pic_url": "https://cbu01.alicdn.com/O1CN01EtY3Qx1NhJ00QZdlz_!!2215971671601-0-cib.jpg",
				"promotion_price": 4,
				"price": 4,
				"sales": 0,
				"num_iid": 748345268730,
				"post_fee": "",
				"seller_nick": "西山区玉雕食品店",
				"is_tmall": "false",
				"detail_url": "//item.taobao.com/item.htm?id=748345268730"
			},
			{
				"title": "天天清护肝茶养肝护肝大肚子润肠通便改善肠道茶绞股蓝官方正品",
				"pic_url": "https://img.alicdn.com/imgextra/O1CN01f0u7Y61Sa2nGhnIyj_!!2216643412262.png",
				"promotion_price": 19.9,
				"price": 19.9,
				"sales": 0,
				"num_iid": 746272841517,
				"post_fee": "",
				"seller_nick": "美美的珍藏",
				"is_tmall": "false",
				"detail_url": "//item.taobao.com/item.htm?id=746272841517"
			},
			{
				"title": "天天清护肝养护肝脏口苦口臭眼干眼涩腹胀屁多护肝茶旗舰店jx4",
				"pic_url": "https://img.alicdn.com/imgextra/i1/698396860/O1CN01QO78Zs20XvtGiLNiK_!!2-item_pic.png",
				"promotion_price": 38.9,
				"price": 38.9,
				"sales": 30,
				"num_iid": 740584475957,
				"post_fee": "",
				"seller_nick": "天天清旗舰店",
				"is_tmall": "false",
				"detail_url": "//item.taobao.com/item.htm?id=740584475957"
			},
			{
				"title": "天天清护肝茶官方旗舰店养肝大茶益肝排宿便肠通便中药jx1",
				"pic_url": "https://img.alicdn.com/imgextra/i3/698396860/O1CN01yX3CBk20XvsNKLvkq_!!2-item_pic.png",
				"promotion_price": 38.9,
				"price": 38.9,
				"sales": 10000,
				"num_iid": 731619850301,
				"post_fee": "",
				"seller_nick": "天天清旗舰店",
				"is_tmall": "false",
				"detail_url": "//item.taobao.com/item.htm?id=731619850301"
			},
			{
				"title": "天天清护肝茶养护肝脏口苦口臭眼干眼涩屁多旗舰店正品12袋装SS4",
				"pic_url": "https://img.alicdn.com/imgextra/i1/698396860/O1CN01oA0VY820XvsHhTRVY_!!2-item_pic.png",
				"promotion_price": 38.9,
				"price": 38.9,
				"sales": 4000,
				"num_iid": 730813780949,
				"post_fee": "",
				"seller_nick": "天天清旗舰店",
				"is_tmall": "false",
				"detail_url": "//item.taobao.com/item.htm?id=730813780949"
			},
			{
				"title": "天天清护肝茶养护肝脏口苦口臭眼干眼涩腹胀屁多12袋装旗舰店SS2",
				"pic_url": "https://img.alicdn.com/imgextra/i4/698396860/O1CN01UJgnyC20XvsJBPytE_!!2-item_pic.png",
				"promotion_price": 38.9,
				"price": 38.9,
				"sales": 300,
				"num_iid": 664490218586,
				"post_fee": "",
				"seller_nick": "天天清旗舰店",
				"is_tmall": "false",
				"detail_url": "//item.taobao.com/item.htm?id=664490218586"
			},
			{
				"title": "天天清护肝茶养护肝脏口苦口臭眼干眼涩腹胀屁多12袋装旗舰店SS3",
				"pic_url": "https://img.alicdn.com/imgextra/i2/698396860/O1CN013ZfwY820XvsHhP57H_!!2-item_pic.png",
				"promotion_price": 38.9,
				"price": 38.9,
				"sales": 40000,
				"num_iid": 731018601897,
				"post_fee": "",
				"seller_nick": "天天清旗舰店",
				"is_tmall": "false",
				"detail_url": "//item.taobao.com/item.htm?id=731018601897"
			},
			{
				"title": "天天清护肝减肥茶便秘润肠通便天天清养肝护肝茶护肝茶官方旗舰店",
				"pic_url": "https://img.alicdn.com/imgextra/O1CN01svr7ve2JKAiK5ExnR_!!2217006169402.png",
				"promotion_price": 19.9,
				"price": 19.9,
				"sales": 0,
				"num_iid": 751923073022,
				"post_fee": "",
				"seller_nick": "天天代理的仓库店",
				"is_tmall": "false",
				"detail_url": "//item.taobao.com/item.htm?id=751923073022"
			}
		],
		"page_size": 10,
		"page": "1",
		"data_from": "cdy"
	},
相关推荐
西猫雷婶21 分钟前
python学opencv|读取图像(二十一)使用cv2.circle()绘制圆形进阶
开发语言·python·opencv
kiiila22 分钟前
【Qt】对象树(生命周期管理)和字符集(cout打印乱码问题)
开发语言·qt
小_太_阳1 小时前
Scala_【2】变量和数据类型
开发语言·后端·scala·intellij-idea
直裾1 小时前
scala借阅图书保存记录(三)
开发语言·后端·scala
湫ccc1 小时前
《Opencv》基础操作详解(3)
人工智能·opencv·计算机视觉
Jack_pirate1 小时前
深度学习中的特征到底是什么?
人工智能·深度学习
唐 城1 小时前
curl 放弃对 Hyper Rust HTTP 后端的支持
开发语言·http·rust
微凉的衣柜1 小时前
微软在AI时代的战略布局和挑战
人工智能·深度学习·microsoft
火星机器人life2 小时前
基于ceres优化的3d激光雷达开源算法
算法·3d
GocNeverGiveUp2 小时前
机器学习1-简单神经网络
人工智能·机器学习