首页 > 其他分享 >阿里巴巴中国站按图搜索1688商品(拍立淘) API接口item_search_img响应示例说明

阿里巴巴中国站按图搜索1688商品(拍立淘) API接口item_search_img响应示例说明

时间:2024-03-22 12:01:54浏览次数:41  
标签:search img 示例 url normal detail https com

阿里巴巴中国站的按图搜索1688商品(拍立淘)API接口item_search_img允许用户通过上传图片来搜索与图片相似的商品。以下是关于该接口响应示例的说明:

响应示例概述

当调用item_search_img接口并成功上传图片后,接口会返回一个响应,该响应通常包含与上传图片相似的商品信息列表。这些信息以结构化的格式呈现,便于开发者进行后续的处理和展示。

 

1688.item_search_img

公共参数

请求地址: 注册调用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版本

请求参数

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

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

响应参数

Version: Date:

名称类型必须示例值描述

items

items[]0按图搜索1688商品

 

响应示例

{
	"items": {
		"real_total_results": 80,
		"error": "",
		"item": [
			{
				"title": "精英篮球袜子男短袜加厚无骨缝头毛巾底吸汗透气户外跑步毛巾运动",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/490/610/23562016094_1701667707.jpg",
				"price": "3.00",
				"sales": 1600,
				"num_iid": "634209995336",
				"turnHead": "4.4%",
				"seller_nick": "江西恒康麻业针织有限公司",
				"area": "宜春市",
				"detail_url": "https://detailp4p.1688.com/buyer/offerdetail/634209995336.html?trace_log=p4p&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.1/obj_p4pOfferExtV2&_p_isad=1&__track_scene=app_search&offerId=634209995336&type=p4p"
			},
			{
				"title": "勇士篮球比赛运动袜 成人锦纶精英篮球袜 吸汗透气 一件代发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2018/231/872/9624278132_504216710.jpg",
				"price": "12.00",
				"sales": 4,
				"num_iid": "580998304735",
				"turnHead": "33.3%",
				"seller_nick": "深圳龙华区威町服装商行",
				"area": "广州市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=580998304735&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.2/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "依兰针织定制压力运动袜足球篮球袜莱卡stance专业运动袜定做",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2018/697/992/8785299796_1251967097.jpg",
				"price": "10.00",
				"sales": 1,
				"num_iid": "552588406258",
				"turnHead": "28.8%",
				"seller_nick": "诸暨市依兰针织有限公司",
				"area": "诸暨市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=552588406258&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.3/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "专业户外运动毛巾底篮球袜透气吸汗防滑耐摩包裹防护可定制",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2018/046/945/8853549640_866248898.jpg",
				"price": "7.70",
				"sales": 116,
				"num_iid": "569816875927",
				"turnHead": "31.3%",
				"seller_nick": "晋江沐胜服饰有限公司",
				"area": "晋江市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=569816875927&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.4/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "领途中筒足球袜男士加厚毛巾袜透气耐磨运动袜现货批发训练足球袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/948/873/16050378849_1409184180.jpg",
				"price": "6.50",
				"sales": 8,
				"num_iid": "638389370858",
				"turnHead": "16.6%",
				"seller_nick": "佛山市南海领途袜业有限公司",
				"area": "佛山市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=638389370858&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.5/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "儿童专业精英篮球袜男詹姆斯高筒球袜少年毛巾底孩子童篮球袜子",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/987/710/22796017789_1483736682.jpg",
				"price": "12.00",
				"sales": 0,
				"num_iid": "633288097525",
				"turnHead": "5.1%",
				"seller_nick": "莆田市秀屿区东庄成蹊百货商行",
				"area": "莆田市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=633288097525&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.6/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "厂家批发定制男士中长筒毛巾底运动袜吸汗透气户外篮球袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN018hjpsa1IuyUjZ1LhN_!!6000000000954-0-cib.jpg",
				"price": "7.50",
				"sales": 0,
				"num_iid": "634782849328",
				"turnHead": "35%",
				"seller_nick": "义乌市肖华日用品厂",
				"area": "金华市",
				"detail_url": "https://detailp4p.1688.com/buyer/offerdetail/634782849328.html?trace_log=p4p&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.7/obj_p4pOfferExtV2&_p_isad=1&__track_scene=app_search&offerId=634782849328&type=p4p"
			},
			{
				"title": "恒源祥儿童袜子秋冬加厚毛圈袜男童女童冬季保暖舒适拼色中筒棉袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/841/940/23432049148_1169299785.jpg",
				"price": "22.58",
				"sales": 0,
				"num_iid": "633985649183",
				"turnHead": "9.8%",
				"seller_nick": "宁陵县徘徊百货用品店",
				"area": "宁陵县",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=633985649183&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.8/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "专业精英篮球袜男23号詹姆斯高筒球袜球星24号毛巾底儿童篮球袜子",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01oseMNa1EJBLaqkU6C_!!6000000000330-0-cib.jpg",
				"price": "13.80",
				"sales": 2,
				"num_iid": "634830426442",
				"turnHead": "7.1%",
				"seller_nick": "惠州市庄惠堂药材有限公司",
				"area": "义乌市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=634830426442&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.9/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "防滑中筒足球袜 成人儿童毛巾底神袜男女短筒 专业运动低帮训练袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/370/224/23355422073_193481671.jpg",
				"price": "13.00",
				"sales": 4,
				"num_iid": "633354011246",
				"turnHead": "13.3%",
				"seller_nick": "义乌市霓凰贸易有限公司",
				"area": "义乌市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=633354011246&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.10/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "男士袜子 运动加厚男士运动袜子专业毛巾底袜高统篮球袜运动防滑",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/171/382/10866283171_1699305130.jpg",
				"price": "2.09",
				"sales": 0,
				"num_iid": "638452161039",
				"turnHead": "2.4%",
				"seller_nick": "尤溪县小橘子商行",
				"area": "三明市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=638452161039&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.11/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "精英篮球袜男中筒袜秋冬加厚运动袜毛巾底精英袜机能吸汗篮球袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/387/030/19507030783_202062677.jpg",
				"price": "18.12",
				"sales": 0,
				"num_iid": "626278787885",
				"turnHead": "10.3%",
				"seller_nick": "丹阳市开发区易更强百货店",
				"area": "镇江市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=626278787885&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.12/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "厂家可定制篮球袜毛巾底运动船袜毛圈户外中短筒精英跑步袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN010a3Or31cr7TT5Rh7e_!!6000000003653-0-cib.jpg",
				"price": "5.00",
				"sales": 0,
				"num_iid": "634239572018",
				"turnHead": "35%",
				"seller_nick": "义乌市肖华日用品厂",
				"area": "金华市",
				"detail_url": "https://detailp4p.1688.com/buyer/offerdetail/634239572018.html?trace_log=p4p&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.13/obj_p4pOfferExtV2&_p_isad=1&__track_scene=app_search&offerId=634239572018&type=p4p"
			},
			{
				"title": "成人篮球精英袜中筒运动袜高帮毛巾底加厚运动袜厂家可定制OEMODM",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01h7ocHe1eKigg5fR1q_!!6000000003853-0-cib.jpg",
				"price": "7.00",
				"sales": 847,
				"num_iid": "634342120328",
				"turnHead": "17.5%",
				"seller_nick": "石竹(佛山)网络科技有限公司",
				"area": "佛山市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=634342120328&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.14/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "专业运动护小腿透气压力袜男女足球篮球登山骑行护膝护具可定制",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/324/624/18909426423_1635386330.jpg",
				"price": "6.67",
				"sales": 4,
				"num_iid": "624074777563",
				"turnHead": "9.8%",
				"seller_nick": "广东力奥创新科技有限公司",
				"area": "东莞市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=624074777563&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.15/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "篮球袜精英袜加厚高筒袜子男袜毛巾底运动袜毛巾袜儿童中筒长筒袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01zD842C29LrmLsgOoj_!!2209542918052-0-cib.jpg",
				"price": "9.35",
				"sales": 0,
				"num_iid": "637562663525",
				"turnHead": "9.4%",
				"seller_nick": "明光市铭航贸易商行",
				"area": "上海市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=637562663525&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.16/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "篮球袜精英袜加厚高筒袜子男袜毛巾底运动袜毛巾袜儿童中筒长筒袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/620/120/23626021026_1137453191.jpg",
				"price": "18.51",
				"sales": 0,
				"num_iid": "633561596134",
				"turnHead": "7.6%",
				"seller_nick": "明光市泰恒贸易商行",
				"area": "滁州市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=633561596134&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.17/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "篮球袜精英袜加厚高筒袜子男袜毛巾底运动袜毛巾袜儿童中筒长筒袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01vtDTIx2AVJYoL6BoL_!!2210254998208-0-cib.jpg",
				"price": "9.26",
				"sales": 0,
				"num_iid": "636051482662",
				"turnHead": "0%",
				"seller_nick": "义乌市蜜英电子商务商行",
				"area": "金华市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=636051482662&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.18/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "R-BAO薄款地板袜室内蹦床袜防打滑男士女士蹦床袜子",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN017p2zRJ2CbO2b08QJe_!!2582008492-0-cib.jpg",
				"price": "4.00",
				"sales": 0,
				"num_iid": "634914672296",
				"turnHead": "27.2%",
				"seller_nick": "晋江市青阳荣豹针织厂",
				"area": "晋江市",
				"detail_url": "https://detailp4p.1688.com/buyer/offerdetail/634914672296.html?trace_log=p4p&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.19/obj_p4pOfferExtV2&_p_isad=1&__track_scene=app_search&offerId=634914672296&type=p4p"
			},
			{
				"title": "篮球袜精英袜加厚高筒袜子男袜毛巾底运动袜毛巾袜儿童中筒长筒袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01nqf8ng20sXUmpjJHr_!!2209550766905-0-cib.jpg",
				"price": "9.98",
				"sales": 0,
				"num_iid": "639231979488",
				"turnHead": "7.5%",
				"seller_nick": "明光市跃鸿贸易商行",
				"area": "滁州市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=639231979488&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.20/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "精英篮球袜男中高筒夏季防滑跑步袜足球袜专业比赛球袜中筒袜544#",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/089/386/19620683980_1986423579.jpg",
				"price": "6.50",
				"sales": 0,
				"num_iid": "625314103608",
				"turnHead": "21%",
				"seller_nick": "广州劲动体育用品有限公司",
				"area": "广州市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=625314103608&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.21/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "男士袜子长筒运动袜防臭白色高筒秋冬季中厚纯棉青少年篮球袜中筒",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/367/004/15118400763_258113609.jpg",
				"price": "31.88",
				"sales": 0,
				"num_iid": "633325565128",
				"turnHead": "2.5%",
				"seller_nick": "广州市花都区狮岭天高皮革商行",
				"area": "广州市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=633325565128&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.22/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "儿童篮球袜中筒运动袜高帮精英长筒加厚毛巾底高筒蓝球袜厂家直销",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/709/007/23518700907_474381876.jpg",
				"price": "10.50",
				"sales": 0,
				"num_iid": "633279329456",
				"turnHead": "6.2%",
				"seller_nick": "广州悦动力体育用品有限公司",
				"area": "广州市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=633279329456&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.23/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "NBA运动篮球袜子男长袜透气吸汗街头滑板潮牌ins风男士运动篮球袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01e4ARO91hXUaHowvA4_!!2206624534287-0-cib.jpg",
				"price": "2.70",
				"sales": 460,
				"num_iid": "635766243942",
				"turnHead": "21.3%",
				"seller_nick": "辽源市正曦袜业有限公司",
				"area": "辽源市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=635766243942&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.24/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "护踝脚护腕踝女护脚踝保暖护脚脖防寒子套脚腕护套男加厚护裸冬季",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/601/705/11388507106_1728420370.jpg",
				"price": "3.50",
				"sales": 80,
				"num_iid": "526107463406",
				"turnHead": "24.3%",
				"seller_nick": "扬州市森尼奥体育用品有限公司",
				"area": "扬州市",
				"detail_url": "https://detailp4p.1688.com/buyer/offerdetail/526107463406.html?trace_log=p4p&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.25/obj_p4pOfferExtV2&_p_isad=1&__track_scene=app_search&offerId=526107463406&type=p4p"
			},
			{
				"title": "NBA运动篮球袜子男长袜透气吸汗街头滑板潮牌ins风男士运动篮球袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01SICa5c1Zm8KBzpaOM_!!2210209383236-0-cib.jpg",
				"price": "3.00",
				"sales": 6838,
				"num_iid": "637183183265",
				"turnHead": "8.6%",
				"seller_nick": "辽源市棉宜足针织品有限公司",
				"area": "辽源市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=637183183265&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.26/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "加厚毛巾底防滑运动袜吸汗耐磨篮球袜舒适透气中筒袜厂家直销定制",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/769/586/23518685967_474381876.jpg",
				"price": "10.00",
				"sales": 0,
				"num_iid": "633595550213",
				"turnHead": "6.2%",
				"seller_nick": "广州悦动力体育用品有限公司",
				"area": "广州市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=633595550213&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.27/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "加厚毛巾底防滑运动袜吸汗耐磨篮球袜透气中筒袜定制批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN015eY01o1wp62zoXoMk_!!3956376356-0-cib.jpg",
				"price": "7.00",
				"sales": 40,
				"num_iid": "635683376892",
				"turnHead": "15.5%",
				"seller_nick": "佛山市晨枫袜业有限公司",
				"area": "佛山市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=635683376892&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.28/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "中筒精英篮球袜加厚毛巾底毛圈运动袜子透气缓震现货批发加工定制",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01y600RB1wp62uigGqU_!!3956376356-0-cib.jpg",
				"price": "5.00",
				"sales": 809,
				"num_iid": "635784485294",
				"turnHead": "15.5%",
				"seller_nick": "佛山市晨枫袜业有限公司",
				"area": "佛山市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=635784485294&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.29/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "男士精英篮球袜加厚毛巾底大学生训练比赛运动袜子厂家可贴牌logo",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01f0yuTB1a1FOYwoc98_!!2206579883269-0-cib.jpg",
				"price": "8.50",
				"sales": 56,
				"num_iid": "636618980076",
				"turnHead": "17.5%",
				"seller_nick": "石竹(佛山)网络科技有限公司",
				"area": "佛山市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=636618980076&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.30/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "店长推荐尼龙热转印织带 丝印手表带 涤纶时尚石英表带定制款",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2018/578/464/8966464875_420416723.jpg",
				"price": "2.50",
				"sales": 0,
				"num_iid": "565448695198",
				"turnHead": "0%",
				"seller_nick": "东莞市益鸿织带制品有限公司",
				"area": "东莞市",
				"detail_url": "https://detailp4p.1688.com/buyer/offerdetail/565448695198.html?trace_log=p4p&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.31/obj_p4pOfferExtV2&_p_isad=1&__track_scene=app_search&offerId=565448695198&type=p4p"
			},
			{
				"title": "篮球袜铠甲减震毛巾底体育商店赠品便宜批发包裹性",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/769/473/17793374967_95124635.jpg",
				"price": "2.00",
				"sales": 200,
				"num_iid": "623097538492",
				"turnHead": "33.3%",
				"seller_nick": "晋州市驰翔针织品经销部",
				"area": "晋州市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=623097538492&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.32/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "精英篮球袜子男短袜加厚无骨缝头毛巾底吸汗透气户外跑步毛巾运动",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/731/310/23562013137_1701667707.jpg",
				"price": "3.00",
				"sales": 1600,
				"num_iid": "634209995336",
				"turnHead": "4.4%",
				"seller_nick": "江西恒康麻业针织有限公司",
				"area": "宜春市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=634209995336&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.33/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "儿童袜子秋冬季加厚加绒男女童宝宝棉毛圈保暖袜雪地袜中筒男孩",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/695/837/23449738596_1273562515.jpg",
				"price": "7.00",
				"sales": 0,
				"num_iid": "633412509853",
				"turnHead": "0%",
				"seller_nick": "沭阳县协而真电子商务服务部",
				"area": "",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=633412509853&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.34/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "篮球袜子训练比赛省份男中筒足球运动地名街头城市文字毛巾底袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01ppFZK01REE4cQi2AE_!!2209048562079-0-cib.jpg",
				"price": "6.90",
				"sales": 0,
				"num_iid": "635830340539",
				"turnHead": "0%",
				"seller_nick": "广州市林彰服饰有限公司",
				"area": "广州市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=635830340539&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.35/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "辽源袜子2020冬季高筒男士篮球袜吸汗透气学生袜男士棉袜小腿袜",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01heHNgY1thotkvvF08_!!6000000005934-0-cib.jpg",
				"price": "2.90",
				"sales": 30,
				"num_iid": "634024520149",
				"turnHead": "16.6%",
				"seller_nick": "辽源市思埠袜业有限公司",
				"area": "辽源市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=634024520149&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.36/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "毛巾袜儿童儿童高筒篮球袜精英袜子 青少年长袜透气毛巾底专业跑",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2018/147/953/9539359741_1643549757.jpg",
				"price": "5.34",
				"sales": 0,
				"num_iid": "638812139958",
				"turnHead": "8.3%",
				"seller_nick": "尤溪县富的春桃商行",
				"area": "三明市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=638812139958&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.37/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "篮球袜高筒儿童高筒篮球袜精英袜子 青少年长袜透气毛巾底专业跑",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2018/147/953/9539359741_1643549757.jpg",
				"price": "5.16",
				"sales": 0,
				"num_iid": "638258441756",
				"turnHead": "3.5%",
				"seller_nick": "尤溪县女神耶商行",
				"area": "三明市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=638258441756&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.38/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "工厂自主研发针织防风保暖透气防水袜户外运动袜子针织袜徒步骑行",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/707/025/23356520707_259568646.jpg",
				"price": "340282346638528870000000000.0万",
				"sales": 0,
				"num_iid": "633040242709",
				"turnHead": "40%",
				"seller_nick": "海宁新兰迪袜业有限公司",
				"area": "海宁市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=633040242709&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.39/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "小学生成人男长筒过膝足球袜中筒足球神袜防滑专业毛巾底运动袜子",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/051/006/19853600150_1298403561.jpg",
				"price": "9.41",
				"sales": 0,
				"num_iid": "625335326702",
				"turnHead": "8.7%",
				"seller_nick": "丹阳市开发区弘文泰百货店",
				"area": "镇江市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=625335326702&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.40/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "袜子男中筒袜秋冬加厚长袜韩版长筒袜学生运动防臭高腰高筒棉袜潮",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01mPaY1t2KGnAYmTD0q_!!2208799409530-0-cib.jpg",
				"price": "4.50",
				"sales": 0,
				"num_iid": "638206016012",
				"turnHead": "8.7%",
				"seller_nick": "苍南县轩呗服装网店",
				"area": "温州市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=638206016012&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.41/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "中筒篮球袜精英袜运动袜任意拉毛毛圈袜跑步袜登山袜袜子",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/900/957/23217759009_1276206893.jpg",
				"price": "6.50",
				"sales": 4418,
				"num_iid": "633165198992",
				"turnHead": "15.5%",
				"seller_nick": "佛山市晨枫袜业有限公司",
				"area": "佛山市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=633165198992&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.42/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			},
			{
				"title": "精英篮球袜短帮",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/806/525/13407525608_195767205.jpg",
				"price": "3.60",
				"sales": 40,
				"num_iid": "612957651490",
				"turnHead": "20.7%",
				"seller_nick": "诸暨市老姜针织厂",
				"area": "诸暨市",
				"detail_url": "http://detail.m.1688.com/page/index.html?offerId=612957651490&sortType=&pageId=&abBizDataType=cbuOffer&trace_log=normal&traceId=bd52b859fb37482fa782f783fdf4a277&spm=a262eq.8850311.1688img_search.43/obj_normalOfferExtV2&__track_scene=app_search&type=normal"
			}
		],
		"data_from": "1688app",
		"pagecount": 1,
		"total_results": 43
	},
	"error_code": "0000",
	"reason": "ok",
	"secache": "e82b9b50f76a1a900e32390b6bbaadb4",
	"secache_time": 1614928885,
	"secache_date": "2021-03-05 15:21:25",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"error": "",
	"cache": 0,
	"api_info": "today:24 max:10000",
	"execution_time": 1.897,
	"server_time": "Beijing/2021-03-05 15:21:25",
	"client_ip": "106.6.39.197",
	"call_args": {
		"imgid": "O1CN01IDpcD81zHbpHs1YgT_%21%212200811456689.jpg"
	},
	"api_type": "1688",
	"translate_language": "zh-CN",
	"translate_engine": "google_cn",
	"server_memory": "3.91MB",
	"request_id": "gw-4.6041dbf3f0a76"
}

 异常示例

{
  "error": "item-not-found",
  "reason": "商品没找到",
  "error_code": "2000",
  "success": 0,
  "cache": 0,
  "api_info": "today:0 max:10000",
  "execution_time": 0.081,
  "server_time": "Beijing/2020-06-10 23:44:00",
  "call_args": [],
  "api_type": "taobao",
  "request_id": "15ee0ffc041242"}

错误码解释

状态代码(error_code)状态信息详细描述是否收费
0000success接口调用成功并返回相关数据
2000Search success but no result接口访问成功,但是搜索没有结果
4000Server internal error服务器内部错误
4001Network error网络错误
4002Target server error目标服务器错误
4003Param error用户输入参数错误忽略
4004Account not found用户帐号不存在忽略
4005Invalid authentication credentials授权失败忽略
4006API stopped您的当前API已停用忽略
4007Account stopped您的账户已停用忽略
4008API rate limit exceeded并发已达上限忽略
4009API maintenanceAPI维护中忽略
4010API not found with these valuesAPI不存在忽略
4012Please add api first请先添加api忽略
4013Number of calls exceeded调用次数超限忽略
4014Missing url param参数缺失忽略
4015Wrong pageToken参数pageToken有误忽略
4016Insufficient balance余额不足忽略
4017timeout error请求超时
5000unknown error未知错误

 

响应内容

响应内容通常包括以下几个部分:

  1. 状态码和消息:首先,响应会包含一个状态码和相应的消息,用于指示请求的处理结果。例如,状态码为200通常表示请求成功,而状态码为4xx或5xx则表示出现了某种错误。

  2. 商品列表:如果请求成功,响应的主体部分将包含一个商品列表。每个商品通常包含以下信息:

    • 商品ID:唯一标识商品的编号。
    • 商品标题:商品的名称或描述。
    • 商品图片:商品的图片URL或链接。
    • 价格:商品的销售价格。
    • 销量:商品的销售数量或销量统计。
    • 链接:商品详情页面的链接或URL,用户可以直接点击链接查看商品详情。

此外,响应还可能包含其他与商品相关的详细信息,如库存量、评价信息等,具体取决于接口的实现和平台的开放程度。

响应格式

响应通常以JSON(JavaScript Object Notation)格式返回,这是一种轻量级的数据交换格式,易于阅读和解析。JSON格式允许使用键值对来表示数据,非常适合用于API接口的响应。

标签:search,img,示例,url,normal,detail,https,com
From: https://blog.csdn.net/API_you847337137/article/details/136930553

相关文章

  • TorchV的RAG实践分享(二):基于ElasticSearch的混合检索实战&原理分析
    概述在昨天员外分享的《TorchV的RAG实践分享(1)——RAG的定位、技术选型和RAG技术文章目录》一文中介绍了TorchV的由来,也分享了我们的几个基线产品和应用架构的方向,我们想的是在创业的过程中,将我们自己的一些产品理念、技术心得都通过公众号发文的方式分享出来,更多的和行业内的专家......
  • python 代码练习示例
    判断数字位数##给定一个不超过5位的整数,判定该数的位数,以及依次打印,万位到个位。#接收用户输入的整数num=int(input("请输入一个小于等于5位数的整数:"))#将整数转换为字符串,计算整数的位数num_str=str(num)length=len(num_str)iflength>5:print("输入......
  • 使用概率分析与指示器随机变量解决生日悖论问题及C代码示例
    概率分析与指示器随机变量解决生日悖论问题一、引言二、生日悖论的概率分析三、指示器随机变量解决生日悖论问题四、C代码实现五、结论与启示一、引言在日常生活中,我们经常会遇到一些与概率相关的问题,其中生日悖论就是一个非常有趣且典型的例子。生日悖论指的是在一......
  • 开源一个教学型分库分表示例项目 shardingsphere-jdbc-demo
    在笔者心中,消息队列,缓存,分库分表是高并发解决方案三剑客。分库分表之所以被广泛使用,因为工程相对简单,但分库分表并不仅仅是分片,还是需要考虑如何扩缩容(全量同步、增量同步、数据校验等)。因此笔者做了一个教学型分库分表示例项目,计划将分库分表的技术体系都实际演示一遍。ht......
  • <sa8650>sa8650 partition-之-新增分区加img
    <sa8650>sa8650partition-之-新增分区加img一、前言二、新增分区2.1新增用户分区2.2生成新分区文件2.3确认新分区文件2.4rawprogram文件参数解析2.5新增分区验证三、镜像文件3.1新增water.img编译脚本3.2新增water.img编译脚本运行3.3新增water......
  • elasticsearch ilm 再学习与实战
    目录了解应用其他脚本了解如果你对es有一定的使用经验,相信应该听过ilm机制,没错,就是es的索引生命周期管理机制。在实际项目应用中,合理应用ilm机制可以解放我们的双手,不用手动去管理索引的新建、切分,只需要内部机制处理索引,如:1.最新的数据可读可写2.次新的数据仅可读......
  • ElasticSearch中使用ik分词器进行实现分词操作
    简介:在默认的情况下,ES中只存在Stander分词器,但是这个分词器往往不满足我们的分词需求,这里通过ik分词器进行自定义我们的分词操作1、第一步将ik分词器进行下载下载地址:https://github.com/medcl/elasticsearch-analysis-ik需要注意,需要选择和自己的ES版本对应的版本2、将ik分词......
  • CF1945E Binary Search 题解
    CF1945EBinarySearch题目大意给定一个\(1\simn\)的排列\(A\)(不保证有序),对这个排列用如下代码片段二分,查找\(m\)的位置。intl=1,r=n+1;while(r-l>1){intmid=(l+r)/2;if(A[mid]<=m) l=mid;else r=mid;}cout<<l;显然不一定能查找到正确位置,所以在......
  • vue2/3 - element表格组件el-table实现懒加载树型(上下级)数据、默认展开和隐藏层级,支
    效果图在vue2、vue3项目开发中,使用element饿了么组件库,实现Table表格组件动态懒加载表格数据,可以决定是否自动展开所有2级或3级,也可以点击加载下级数据,可搭配表格的增删改查,数据变化后自动更新列表不会破坏树状的展开和折叠结构。提供详细示例代码,一键复制运行查看效果,稍......
  • 关键词搜索拼多多商品列表数据接口(Pinduoduo.item_search)
    拼多多商品列表数据接口是一个允许开发者获取拼多多平台上商品列表信息的API接口。使用该接口,开发者可以批量获取商品的标题、价格、销量等信息。以下是使用此接口的步骤:注册账号:在拼多多开放平台注册成为开发者,并获取API凭证,如AppKey和AppSecret。或者是可以根据php,python......