当前位置:API市场 > 通过关键词查询搜索淘宝商品V1

通过关键词查询搜索淘宝商品V1

根据关键词实时获取【APP】搜索淘宝商品列表,可应用于商品销售情况分析,电商选品分析,品牌口碑挖掘和竞争对手分析等。

接口状态: 正常 更新时间: 2020-07-07 <<该接口于2024年5月20日价格上调至0.02/次>>
0.02/次

¥100/5000次
100元起充 / 开户费100元

  • 接口地址:https://www.taofake.com.cn/api/taobao/searchApp[参数] 获取私钥
  • 请求方式:POST/GET
  • 返回格式:JSON
  • 请求示例:https://www.taofake.com.cn/api/taobao/searchApp?keyword=[关键词]&page_num=&page_size=&sort=&start_price=&end_price=&filters=&loc=&sign=[sign]&app_id=[APPID]&timestamp=[时间戳函数]
  • 接口备注:查询1次,计2次调用(2024年05月20日调整价格)

请求参数说明:

名称类型必填示例值说明
keywordstringapi接口搜索的关键词内容
page_numstring1(默认为1)页码
page_sizestring10(默认为10)每条数据条数,最大值20
sortstring1(默认为1)排序方式,1-综合排序,2-新品排序,3-销量由高到低,4-销量由低到高,5-价格由高到低,6-价格由低到高,7-信用由高到低,8-信用由低到高
start_pricestring
价格限定下限,与价格限定上限成对使用。
end_pricestring
价格限定上限,与价格限定下限成对使用。
filtersstring
筛选条件,可填写多项,逗号分隔。 1-免邮 2-天猫 3-全球购 4-消保 5-手机专享 6-淘金币 7-货到付款 8-7天退换 9-促销
locstring
所在地,请填写省份或者城市名称
signString67deebee082d446da21768c20e86310a3714eb8b为了验证用户身份,以及确保参数不被中间人篡改,需要传递调用者的数字签名。【小写】sign=sha1(keyword + page_num +page_size + sort + start_price + end_price + filters + loc + app_id + appsecret + timestamp);
app_idString5b68434f29330淘发客应用id
timestampString1394276508客户端时间。
时间戳,格式如:1394276508

返回参数说明:

名称类型默认值说明
codeint
返回码
dataarray
数据查询结果
msgstring
返回说明

JSON返回示例:

{
	"code": 0,
	"data": {
		"newUserGuide": {
			"tab": {
				"img": "https:\/\/img.alicdn.com\/tfs\/TB1G912dmSD3KVjSZFKXXb10VXa-32-32.png",
				"activity": "firstpush",
				"tab": "tejia1",
				"count": "365",
				"width": "16",
				"interval": "86400000",
				"type": "icon",
				"height": "16"
			}
		},
		"totalPage": "75",
		"pageTraceArgs": [{
			"value": "a2141.7631557.0.0",
			"key": "spm-cnt"
		}, {
			"value": "{\"for_bts\":\"spl_suggest:97823;g9_search:1255;wireless_ump:4112;main_tab_shuffling:6325;wlrank_layer4:4134;newitem_tab:6069;wlrank_adapt:1026;relevance:3346;diversity:6882;recall_hx:1958\",\"list_param\":\"api接口_18_3aeb52ac2b503cd72497993b8420f894\"}",
			"key": "utparam-cnt"
		}],
		"tabs": [{
			"tabAction": {
				"param": "all",
				"type": "native"
			},
			"fromQp": false,
			"bizName": "all",
			"useStatCount": false,
			"pos": 0,
			"show": {
				"data": [],
				"domClass": "tab_all",
				"text": "全部",
				"type": "text"
			},
			"index": 1,
			"selected": true,
			"customMtop": "false"
		}, {
			"tabAction": {
				"param": "newmall",
				"type": "native"
			},
			"fromQp": false,
			"bizName": "tmall",
			"useStatCount": false,
			"pos": 0,
			"show": {
				"data": [],
				"domClass": "tab_tmall",
				"text": "天猫",
				"type": "text"
			},
			"index": 3,
			"selected": false,
			"customMtop": "false"
		}, {
			"tabAction": {
				"param": "shop",
				"type": "native"
			},
			"fromQp": false,
			"bizName": "shop",
			"useStatCount": false,
			"pos": 0,
			"show": {
				"data": [],
				"domClass": "tab_shop",
				"text": "店铺",
				"type": "text"
			},
			"index": 19,
			"selected": false,
			"customMtop": "false"
		}, {
			"tabAction": {
				"param": "tbexperience",
				"type": "native"
			},
			"fromQp": false,
			"bizName": "experience",
			"useStatCount": false,
			"pos": 0,
			"show": {
				"data": [],
				"domClass": "tab_experience",
				"text": "经验",
				"type": "text"
			},
			"index": 20,
			"selected": false,
			"customMtop": "false"
		}],
		"pageSize": "10",
		"sessionid": "ca048df385ae5f85c66d92f03ad7f4bf",
		"pageName": "MainSrp",
		"newReview": {
			"h5Url": "https:\/\/market.m.taobao.com\/app\/alimama-engineering-fe\/public-evaluation-front-h5-for-search-navigator\/index.html?rn=3aeb52ac2b503cd72497993b8420f894&bucketId=18&sessionId=ca048df385ae5f85c66d92f03ad7f4bf&ip=39.76.145.102",
			"itemTotalPage": "2",
			"pos": 0,
			"show": false,
			"filterShow": false,
			"iconUrl": "https:\/\/gw.alicdn.com\/tps\/TB1LQaYPVXXXXaSXFXXXXXXXXXX-120-120.png"
		},
		"totalResults": "744",
		"abtest": "18",
		"parameter": "q",
		"order_by": "_coefp",
		"style": "",
		"page": "1",
		"pageTraceName": "Page_SearchItemList-MainSrp",
		"RN": "3aeb52ac2b503cd72497993b8420f894",
		"topBar": {
			"showStyle": "true",
			"showFilter": "true",
			"main": [{
				"subList": {
					"data": [{
						"trace": "Populate-Desc",
						"subData": [],
						"showText": "综合",
						"params": [{
							"value": "_coefp",
							"key": "sort"
						}],
						"selected": "true"
					}, {
						"trace": "Credit-Desc",
						"subData": [],
						"showText": "信用",
						"params": [{
							"value": "_ratesum",
							"key": "sort"
						}],
						"selected": "false"
					}, {
						"trace": "Price-Desc",
						"subData": [],
						"showText": "价格降序",
						"params": [{
							"value": "_bid",
							"key": "sort"
						}],
						"selected": "false"
					}, {
						"trace": "Price-Asc",
						"subData": [],
						"showText": "价格升序",
						"params": [{
							"value": "bid",
							"key": "sort"
						}],
						"selected": "false"
					}],
					"tItemType": "nt_oneColumn"
				},
				"showText": "综合",
				"type": "dropList",
				"params": [],
				"selected": "true"
			}, {
				"trace": "Sale-Desc",
				"showText": "销量",
				"type": "normal",
				"params": [{
					"value": "_sale",
					"key": "sort"
				}],
				"selected": "false"
			}]
		},
		"filterMod": [{
			"filterOption": [{
				"paramKey": "ppath",
				"showText": "协同办公",
				"paramValue": "2489638:99263072"
			}, {
				"paramKey": "ppath",
				"showText": "电子商务",
				"paramValue": "2489638:16969746"
			}, {
				"paramKey": "ppath",
				"showText": "新闻文章",
				"paramValue": "2489638:68429240"
			}],
			"trace": "FilterSmartNavbar",
			"bizName": "propCat",
			"showText": "题材",
			"pid": "2489638",
			"unfoldRow": "2"
		}, {
			"filterOption": [{
				"paramKey": "service",
				"showText": "包邮",
				"paramValue": "myf"
			}, {
				"paramKey": "service",
				"showText": "天猫",
				"paramValue": "mall"
			}, {
				"paramKey": "service",
				"showText": "淘金币抵钱",
				"paramValue": "tjb"
			}, {
				"paramKey": "service",
				"showText": "消费者保障",
				"paramValue": "xfzbz"
			}, {
				"paramKey": "service",
				"showText": "货到付款",
				"paramValue": "hdfk"
			}, {
				"paramKey": "service",
				"showText": "7+天内退货",
				"paramValue": "qtth"
			}, {
				"paramKey": "service",
				"showText": "赠送运费险",
				"paramValue": "zsyfx"
			}, {
				"paramKey": "service",
				"showText": "公益宝贝",
				"paramValue": "gongyibb"
			}, {
				"paramKey": "service",
				"showText": "通用排序",
				"paramValue": "psdiff"
			}],
			"trace": "mainService",
			"bizName": "service",
			"showText": "折扣和服务",
			"type": "multi"
		}, {
			"priceOption": [{
				"high": "3",
				"low": "0",
				"showText": "33%的选择"
			}, {
				"high": "204",
				"low": "3",
				"showText": "60%的选择"
			}, {
				"high": "380",
				"low": "204",
				"showText": "9%的选择"
			}],
			"bizName": "price",
			"showText": "价格区间"
		}, {
			"bizName": "location",
			"showText": "发货地"
		}, {
			"filterOption": [{
				"paramKey": "ppath",
				"showText": "Web开发",
				"paramValue": "20394:240374352"
			}, {
				"paramKey": "ppath",
				"showText": "移动开发",
				"paramValue": "20394:238108688"
			}, {
				"paramKey": "ppath",
				"showText": "UI\/UED设计",
				"paramValue": "20394:260032433"
			}, {
				"paramKey": "ppath",
				"showText": "软件咨询\/策划",
				"paramValue": "20394:260014905"
			}, {
				"paramKey": "ppath",
				"showText": "系统开发\/运维",
				"paramValue": "20394:260030743"
			}],
			"trace": "FilterSmartNavbar",
			"bizName": "propCat",
			"showText": "类型",
			"pid": "20394",
			"unfoldRow": "0"
		}, {
			"filterOption": [{
				"paramKey": "catmap",
				"showText": "网店\/网络服务\/软件",
				"paramValue": "50032886"
			}, {
				"paramKey": "catmap",
				"showText": "本地化生活服务",
				"paramValue": "50097750"
			}, {
				"paramKey": "catmap",
				"showText": "服务市场",
				"paramValue": "51002001"
			}, {
				"paramKey": "catmap",
				"showText": "网络设备\/路由器\/网络相关",
				"paramValue": "50041307"
			}, {
				"paramKey": "catmap",
				"showText": "课程学习",
				"paramValue": "52302001"
			}, {
				"paramKey": "catmap",
				"showText": "教育培训",
				"paramValue": "50978012"
			}, {
				"paramKey": "catmap",
				"showText": "电子元器件",
				"paramValue": "50076926"
			}, {
				"paramKey": "catmap",
				"showText": "办公设备\/耗材\/相关服务",
				"paramValue": "50007218"
			}, {
				"paramKey": "catmap",
				"showText": "个性定制\/设计服务\/DIY",
				"paramValue": "50096795"
			}, {
				"paramKey": "catmap",
				"showText": "电子\/电工",
				"paramValue": "50066173"
			}, {
				"paramKey": "catmap",
				"showText": "五金\/工具",
				"paramValue": "50065355"
			}, {
				"paramKey": "catmap",
				"showText": "家装主材",
				"paramValue": "27"
			}],
			"trace": "FilterCategory",
			"bizName": "propCat",
			"showText": "全部类目",
			"unfoldRow": "0"
		}],
		"paramValue": "api接口",
		"itemsArray": [{
			"priceWap": "100.00",
			"activityIdBase64": "",
			"clickTrace": "query:api%E6%8E%A5%E5%8F%A3;nid:611699693540;cat_id:201159005;seller_id:2204112385166;seller_type:0;src:mainse;recType:10;rn:3aeb52ac2b503cd72497993b8420f894;c_flag:false;client:wireless_other;sp_rank_features:vp%3A100.0%3Bxf%3A0.03553294762969%3Bxg%3A0.011298287659883;wlsort:18;price:100.00;sold:17",
			"videoAutoPlay": "false",
			"extraParams": [],
			"title": "做php网站第三方API接口对接 API接口开发 API接口定制修改集成",
			"tItemType": "nt_auction_newindustry",
			"auctionURL": "http:\/\/a.m.taobao.com\/i611699693540.htm?&ttid=%40tbsellerworkbench_pc_7.70.00N&v=1.0&sid=102b2d613ff097bd3bef9d394b2ee1ad",
			"trace": {
				"spm-url": "a2141.7631557.0.0",
				"item_id": "611699693540",
				"utLogMap": {
					"item_price": "100.00",
					"list_param": "api接口_18_3aeb52ac2b503cd72497993b8420f894",
					"x_biz": "item",
					"page": "1",
					"isP4p": "false"
				}
			},
			"itemCollect": "false",
			"price": "100.00",
			"sameCount": "0",
			"isP4p": "false",
			"sold": "17",
			"shopInfo": {
				"pbshowshopinfo": "false",
				"tail": "进店",
				"url": "https:\/\/shop.m.taobao.com\/shop\/shop_index.htm?shop_navi=allitems&upText=api%E6%8E%A5%E5%8F%A3&item_id=611699693540"
			},
			"detailBaseUrl": "",
			"similarSameUrl": "\/\/market.m.taobao.com\/app\/nx3\/similar_and_same?q=api%E6%8E%A5%E5%8F%A3&prern=3aeb52ac2b503cd72497993b8420f894&m=newsimilarsame&isP4p=false&n=10&nid=611699693540&searchToken=0a580db2d8da163063b4090d80d5fa401182831c728d3083a5bff3b7ed44cab2&hasSimilar=true&graphnid=611699693540&selected=similar",
			"item_id": "611699693540",
			"videoi2i": "true",
			"priceColor": "#000000",
			"pic_path": "http:\/\/g.search1.alicdn.com\/img\/bao\/uploaded\/i4\/i1\/2204112385166\/O1CN01Xtw54A1o24e1R07tU_!!2204112385166.png_60x60.jpg",
			"icons": [],
			"userId": "2204112385166",
			"priceShow": {
				"unit": "¥",
				"price": "100.00",
				"preText": ""
			},
			"similarURL": "http:\/\/h5.m.taobao.com\/app\/searchsimilar\/www\/tbsimilar\/index.html?from=tbsearch&showtype=similar&liantiao=wsearch_pre_http_gray&scm=20140662.search&vm=nw&nid=611699693540&q=api%E6%8E%A5%E5%8F%A3&searchToken=0a580db2d8da163063b4090d80d5fa401182831c728d3083a5bff3b7ed44cab2",
			"g9": "false",
			"isB2c": "0",
			"showLongTitle": "true",
			"productLaunch": "",
			"iconList": "",
			"location": "广东 广州",
			"locType": "",
			"similarCount": "1"
		}, {
			//... 因数据过多,其他商品省略[调用时此处数据显示正常]
		}]
	},
	"msg": "success"
}