接口标识
接口地址:
返回格式:json
请求方式:HTTP GET POST
请求示例:https://api03.6bqb.com/app/taobao/search?apikey=<您自己的apikey>
请求参数( 标记* 参数为多选一关系,用户可以根据需要选择填写 )
keyword
string
是
衣服
搜索关键字
page
number
否
1
分页 1.2.3…
order
string
否
default
排序
startPrice
string
否
10
起始价格(默认为空)
endPrice
string
否
30
结束价格(默认为空)
category
string
否
50008164
商品分类
ppath
string
否
20000:719106774
其他额外参数(品牌之类的paramValue)
service
string
否
mall
折扣和服务
loc
string
否
厦门
发货地
tab
string
否
all
搜索渠道
返回参数
收缩
参数名 类型 示例值 描述
data array […] 返回的数据
dataType string search 数据类型
hasNext boolean true 是否有下一页
appCode string tbAppGoodsSearch 平台代码
page number 1 当前页码或下一页页码
version string 1.0 接口版本
retcode string 0000 成功返回的状态码
{“dataType”:“search”,“appCode”:“tbAppGoodsSearch”,“version”:“1.0”,“retcode”:“0000”,“hasNext”:true,“page”:1,“data”:[{“seller”:“新巨弘男装专营店”,“isTmall”:true,“marketPrice”:“229.00”,“title”:“衣服 月销过千 运动套装男士秋季2019新款休闲卫衣韩版”,“shopUrl”:“http://shop.m.taobao.com/shop/shop_index.htm?user_id=2273198458”,“sales”:“3742”,“url”:“https://detail.tmall.com/item.htm?id=600111370993”,“idAd”:true,“commentCount”:“0”,“sellerId”:“2273198458”,“price”:“158.00”,“imageUrls”:[“http://g.search1.alicdn.com/img/i1/10631