一,接口文档
接口密钥: Account和Accessskey是用于您访问API的密钥,具有该接口的权限,请妥善保管
接口地址: http://api.vv-tool.com/tool/accounts/item-info
接口介绍: 提供的数据:skuid、sku 价格、收藏数、加购数、月销售量、主图、标题、详情页图片 薇心:ershivtu
提取淘宝商品详情页各项数据,包含skuid、价格、收藏数、加购数、月销售量、主图、标题、详情页图片
需要提供商品id,
1、商品销售情况分析,根据销量调整活动方案,关联销售,库存准备等等
2、获取商品详情页数据信息
1、请求接口超时,一直没有回应,
请重新生成一个token,再次请求,如果还是返回超时请反馈到对接群里。
淘宝APP端详情页接口按次数进行收费,每次几分钱或则免费,详细可以联系工作人员开通接口。
请求方式: GET
返回格式: JSON
接口收费: 查询 1 次,计 1 次调用
频率限制: 10 次/秒
请求头参数
| Authorization | string | 是 | 授权 access_token | Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx | 
请求参数
| url | string | 是 | 商品链接 | 
请求示例
url:https://item.taobao.com/item.htm?id=623917802188
cURL请求代码示例PHP请求代码示例JAVA请求代码示例请求代码示例
响应参数
| code | int | 返回状态码 | 
| msg | string | 返回码描述 | 
| msec | int | 接口执行时间 | 
| time | int | 接口返回时间 | 
| data | object | 返回数据信息 | 
| item | object | 商品 | 
| itemId | string | 商品 id | 
| title | string | 商品标题 | 
| images | array | 主图 | 
| categoryId | string | 商品分类 id | 
| rootCategoryId | string | 根类别 id | 
| brandValueId | string | brandValueId | 
| countMultiple | array | countMultiple | 
| exParams | array | exParams | 
| commentCount | string | 评论数量 | 
| favcount | string | 收藏人数 | 
| taobaoDescUrl | string | 淘宝详细 url | 
| tmallDescUrl | string | 天猫详细 url | 
| taobaoPcDescUrl | string | 淘宝 pc 端详细 url | 
| openDecoration | boolean | openDecoration | 
| cartUrl | string | 购物车链接 | 
| seller | object | 卖家信息 | 
| userId | string | 卖家 id | 
| shopId | string | 第三方卖家店铺 id | 
| shopName | string | 第三方卖家店铺名字 | 
| shopUrl | string | 店铺地址,天猫/C 店 | 
| taoShopUrl | string | 淘宝店铺地址 | 
| shopIcon | string | 第三方卖家店铺图标 | 
| fans | string | 粉丝 | 
| allItemCount | string | 总商品数量 | 
| newItemCount | string | 新商品数量 | 
| showShopLinkIcon | boolean | showShopLinkIcon | 
| shopCard | string | 店铺卡片 | 
| sellerType | string | 卖家类型 | 
| shopType | string | 店铺类型 | 
| evaluates | array | 店铺动态评分 | 
| title | string | 标题 | 
| score | string | 得分 | 
| type | string | 类型 | 
| level | string | 等级 | 
| levelText | string | 等级评价 | 
| levelTextColor | string | 等级评价颜色 | 
| levelBackgroundColor | string | 等级背景颜色 | 
| tmallLevelTextColor | string | 天猫等级评价颜色 | 
| tmallLevelBackgroundColor | string | 天猫等级背景颜色 | 
| evaluates2 | array | 店铺动态评分 | 
| titleColor | string | 标题颜色 | 
| scoreTextColor | string | 得分文本颜色 | 
| sellerNick | string | 旺旺昵称,大部分情况下和店家名称一致 | 
| creditLevel | string | 信用评级 | 
| starts | string | 店铺创建时间 | 
| goodRatePercentage | string | 好评率 | 
| fbt2User | string | fbt2User | 
| simpleShopDOStatus | string | simpleShopDOStatus | 
| shopVersion | string | 店铺版本 | 
| atmosphereColor | string | 店铺主色调 | 
| shopTextColor | string | 店铺文本颜色 | 
| entranceList | array | 入口集合 | 
| text | string | 文本 | 
| textColor | string | 文本颜色 | 
| borderColor | string | 边框颜色 | 
| backgroundColor | string | 背景颜色 | 
| action | array | 活动 | 
| url | string | url | 
| key | string | key | 
| params | string | params | 
| trackParams | string | trackParams | 
| spm | string | spm | 
| trackName | string | trackName | 
| atmophereMask | boolean | atmophereMask | 
| sku_info | array | sku 信息 | 
返回数据
{
    "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¤tClickTime=-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 | 
 
                如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!