5 淘宝 APP 详情页 API 接口介绍

请先 登录 后评论

1 个回答

凯文

一,接口文档

接口密钥: Account和Accessskey是用于您访问API的密钥,具有该接口的权限,请妥善保管

淘宝 APP 详情页

接口地址:http://doc.vv-tool.com/taobao/iteminfo

接口介绍: 提供的数据:skuid、sku 价格、收藏数、加购数、月销售量、主图、标题、详情页图片  薇心:vtgjaz

一、接口效果

提取淘宝商品详情页各项数据,包含skuid、价格、收藏数、加购数、月销售量、主图、标题、详情页图片

二、调用接口条件

需要提供商品id,

三、建议使用场景

1、商品销售情况分析,根据销量调整活动方案,关联销售,库存准备等等

2、获取商品详情页数据信息

四、接口常见问题

1、请求接口超时,一直没有回应,

请重新生成一个token,再次请求,如果还是返回超时请反馈到对接群里。


五、相关价格

淘宝APP端详情页接口按次数进行收费,每次几分钱或则免费,详细可以联系工作人员开通接口。

接口备注:每调用一次,价格0.005

请求方式: GET

返回格式: JSON

接口收费: 查询 1 次,计 1 次调用

频率限制: 10 次/秒

请求头参数

Authorizationstring授权 access_tokenBearer 1798c6aadec33d1bc2f5b707f1049aefexxxx

请求参数

urlstring商品链接

请求示例

url:https://item.taobao.com/item.htm?id=623917802188

请求代码示例

cURL请求代码示例PHP请求代码示例JAVA请求代码示例

响应参数

codeint返回状态码
msgstring返回码描述
msecint接口执行时间
timeint接口返回时间
dataobject返回数据信息
itemobject商品
itemIdstring商品 id
titlestring商品标题
imagesarray主图
categoryIdstring商品分类 id
rootCategoryIdstring根类别 id
brandValueIdstringbrandValueId
countMultiplearraycountMultiple
exParamsarrayexParams
commentCountstring评论数量
favcountstring收藏人数
taobaoDescUrlstring淘宝详细 url
tmallDescUrlstring天猫详细 url
taobaoPcDescUrlstring淘宝 pc 端详细 url
openDecorationbooleanopenDecoration
cartUrlstring购物车链接
sellerobject卖家信息
userIdstring卖家 id
shopIdstring第三方卖家店铺 id
shopNamestring第三方卖家店铺名字
shopUrlstring店铺地址,天猫/C 店
taoShopUrlstring淘宝店铺地址
shopIconstring第三方卖家店铺图标
fansstring粉丝
allItemCountstring总商品数量
newItemCountstring新商品数量
showShopLinkIconbooleanshowShopLinkIcon
shopCardstring店铺卡片
sellerTypestring卖家类型
shopTypestring店铺类型
evaluatesarray店铺动态评分
titlestring标题
scorestring得分
typestring类型
levelstring等级
levelTextstring等级评价
levelTextColorstring等级评价颜色
levelBackgroundColorstring等级背景颜色
tmallLevelTextColorstring天猫等级评价颜色
tmallLevelBackgroundColorstring天猫等级背景颜色
evaluates2array店铺动态评分
titleColorstring标题颜色
scoreTextColorstring得分文本颜色
sellerNickstring旺旺昵称,大部分情况下和店家名称一致
creditLevelstring信用评级
startsstring店铺创建时间
goodRatePercentagestring好评率
fbt2Userstringfbt2User
simpleShopDOStatusstringsimpleShopDOStatus
shopVersionstring店铺版本
atmosphereColorstring店铺主色调
shopTextColorstring店铺文本颜色
entranceListarray入口集合
textstring文本
textColorstring文本颜色
borderColorstring边框颜色
backgroundColorstring背景颜色
actionarray活动
urlstringurl
keystringkey
paramsstringparams
trackParamsstringtrackParams
spmstringspm
trackNamestringtrackName
atmophereMaskbooleanatmophereMask
sku_infoarraysku 信息

返回数据

{
    "code": 0,
    "msg": "成功",
    "msec": 1726,
    "time": 1596276532,
    "data": {
        "item": {
            "itemId": "623917802188",
            "title": "超迷你儿童湿巾便携式婴儿消毒手口湿纸巾宝宝学生湿巾小包随身装",
            "images": [
                "//img.alicdn.com/imgextra/i3/2208657956577/O1CN01MtD9Oh1ySJXNYVQ4N_!!2208657956577.png"
            ],
            "categoryId": "50010895",
            "rootCategoryId": "50025705",
            "brandValueId": "3224773513",
            "countMultiple": [],
            "exParams": [],
            "commentCount": "0",
            "favcount": "0",
            "taobaoDescUrl": "http://h5.m.taobao.com/app/detail/desc.html?_isH5Des=true#!id=623917802188&type=0&f=TB12_c8cwgP7K4jSZFq8qumhVla&sellerType=C",
            "tmallDescUrl": "//mdetail.tmall.com/templates/pages/desc?id=623917802188",
            "taobaoPcDescUrl": "http://h5.m.taobao.com/app/detail/desc.html?_isH5Des=true#!id=623917802188&type=1&f=TB1pm_YORr0gK0jSZFn8qvRRXla&sellerType=C",
            "openDecoration": false,
            "cartUrl": "https://h5.m.taobao.com/awp/base/cart.htm"
        },
        "seller": {
            "userId": "2208657956577",
            "shopId": "173926031",
            "shopName": "小一小店",
            "shopUrl": "tmall://page.tm/shop?item_id=623917802188&shopId=173926031",
            "taoShopUrl": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2208657956577&item_id=623917802188",
            "shopIcon": "",
            "fans": "0",
            "allItemCount": "1",
            "newItemCount": "1",
            "showShopLinkIcon": false,
            "shopCard": "掌柜近期上新1件宝贝,速览",
            "sellerType": "C",
            "shopType": "C",
            "evaluates": [
                {
                    "title": "宝贝描述",
                    "score": "0.0 ",
                    "type": "desc",
                    "level": "0",
                    "levelText": "平",
                    "levelTextColor": "#999999",
                    "levelBackgroundColor": "#EEEEEE",
                    "tmallLevelTextColor": "#FF0036",
                    "tmallLevelBackgroundColor": "#FFF1EB"
                },
                {
                    "title": "卖家服务",
                    "score": "0.0 ",
                    "type": "serv",
                    "level": "0",
                    "levelText": "平",
                    "levelTextColor": "#999999",
                    "levelBackgroundColor": "#EEEEEE",
                    "tmallLevelTextColor": "#FF0036",
                    "tmallLevelBackgroundColor": "#FFF1EB"
                },
                {
                    "title": "物流服务",
                    "score": "0.0 ",
                    "type": "post",
                    "level": "0",
                    "levelText": "平",
                    "levelTextColor": "#999999",
                    "levelBackgroundColor": "#EEEEEE",
                    "tmallLevelTextColor": "#FF0036",
                    "tmallLevelBackgroundColor": "#FFF1EB"
                }
            ],
            "evaluates2": [
                {
                    "titleColor": "#999999",
                    "scoreTextColor": "#999999",
                    "title": "宝贝描述",
                    "score": "0.0 ",
                    "type": "desc",
                    "level": "0",
                    "levelText": "平",
                    "levelTextColor": "#FF7333"
                },
                {
                    "titleColor": "#999999",
                    "scoreTextColor": "#999999",
                    "title": "卖家服务",
                    "score": "0.0 ",
                    "type": "serv",
                    "level": "0",
                    "levelText": "平",
                    "levelTextColor": "#FF7333"
                },
                {
                    "titleColor": "#999999",
                    "scoreTextColor": "#999999",
                    "title": "物流服务",
                    "score": "0.0 ",
                    "type": "post",
                    "level": "0",
                    "levelText": "平",
                    "levelTextColor": "#FF7333"
                }
            ],
            "sellerNick": "tb5930250350",
            "creditLevel": "0",
            "starts": "2020-07-23 12:39:11",
            "goodRatePercentage": "0.00%",
            "fbt2User": "tb5930250350",
            "simpleShopDOStatus": "1",
            "shopVersion": "0",
            "atmosphereColor": "#ffffff",
            "shopTextColor": "#111111",
            "entranceList": [
                {
                    "text": "进店逛逛",
                    "textColor": "#FF5000",
                    "borderColor": "#FF5000",
                    "backgroundColor": "#ffffff",
                    "action": [
                        {
                            "key": "open_url",
                            "params": {
                                "url": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2208657956577&item_id=623917802188&currentClickTime=-1"
                            }
                        },
                        {
                            "key": "user_track",
                            "params": {
                                "trackParams": {
                                    "spm": "a.2141.7631564.shoppage"
                                },
                                "trackName": "Button-NewShopcard-ShopPage"
                            }
                        }
                    ]
                },
                {
                    "text": "全部宝贝",
                    "textColor": "#FF5000",
                    "borderColor": "#FF5000",
                    "backgroundColor": "#ffffff",
                    "action": [
                        {
                            "key": "open_url",
                            "params": {
                                "url": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2208657956577&item_id=623917802188&shop_navi=allitems"
                            }
                        },
                        {
                            "key": "user_track",
                            "params": {
                                "trackParams": {
                                    "spm": "a.2141.7631564.allitem"
                                },
                                "trackName": "Button-NewShopcard-AllItem"
                            }
                        }
                    ]
                }
            ],
            "atmophereMask": false
        },
        "sku_info": []
    }
}

响应代码

0成功
100请求参数错误检查您的请求参数是否正确
101请求超时,请重试检查您的网络情况或者联系客服解决
200系统错误,请联系客服检查您的接口地址填写是否正确,其他问题联系客服解决
203暂不支持当前接口
204请求异常:无该接口权限,请前往官网开通正式接口。前往官网开通该接口权限
204请求异常:API 调用次数不足,请前往网站兑换次数。前往官网充值该接口调用次数
401身份凭证无效在请求头中添加 access_token
请先 登录 后评论
  • 1 关注
  • 0 收藏,2357 浏览
  • 提出于 10/13/2020 23:50:10

相似问题