淘宝全网商品详情api接口-高级电商
需要点卡
16320人使用

获取淘宝详情,包括PC端图片详情、移动端图片详情、小图、评价列表等信息。官方高级电商接口,非爬虫抓取,该接口返回数据过多,返回字段只说明几项重要字段,其它暂不一一列举。


接口地址: http://api.tbk.dingdanxia.com/shop/product_get 在线测试
请求参数、 调用方式 GET/POST

参数接口

参数类型

必填

示例

说明

apikey

string

接口秘钥,请登录后台获取

signature

string

接口签名,查看创建规则,(可在后台开启或关闭,关闭状态可不需要此参数)

id

Number

572096814881

商品id

返回参数说明

标记

类型

例子

说明

mobile_desc_info

String

https://img.alicdn.com/imgextra/i3/754088696/O1CN012E6oegizMN46VP7_!!754088696.jpg

移动端详情图列表(淘客推荐使用,没错,这就是你要找的图片列表,与淘宝商品同步)

item_info

String

商品sku属性,包括长标题、短标题、套餐列表、封面图列表

price_info

String

价格信息

rate_info

String

商品评价列表(只列出最新10条评价)

seller_info

String

店铺信息

sku_info

String

sku信息

sku_props

String

sku颜色分类信息

返回示例
{
    "code": 200,
    "msg": "请求成功【success】",
    "data": {
        "coupon_info": {
            "shop_coupon": "false"
        },
        "desc_info": {
            "content": "https://img.alicdn.com/imgextra/i4/2121501239/O1CN01CcEXQl1L1VDAP8yHd_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i2/2121501239/O1CN011L1VBk7CEOINmfV_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i3/2121501239/O1CN011L1VBiLDZLb2DLA_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i2/2121501239/O1CN011L1VBj840jZQp9I_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i3/2121501239/O1CN011L1VBk7C1yBbhIa_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i3/2121501239/O1CN011L1VBkiep9Y2Yo6_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i2/2121501239/O1CN011L1VBkO4XEtojoj_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i3/2121501239/O1CN011L1VBjtsoDPaRJa_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i2/2121501239/O1CN011L1VBiLDq2jbsVV_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBlN5ZDhoVfN_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBlN5ZDhoVfN_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i1/2121501239/O1CN011L1VBkxo6zcqw9v_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i2/2121501239/O1CN011L1VBlYwxc3xxH6_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBjtsfyl372P_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBihoKZWux0f_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBkTXKpGcROK_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i1/2121501239/O1CN011L1VBlYxZ3ReHuH_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBihnrZxCRwj_!!2121501239.jpg</img>https://img.alicdn.com/imgextra/i1/2121501239/O1CN011L1VBkTXTAtRJ8e_!!2121501239.jpg</img></wapDesc>",
            "type": "mobile"
        },
        "dev_info": "detailskip011011010196.center.na61@11.11.10.196",
        "item_buy_info": {
            "cart_support": "true"
        },
        "item_info": {
            "in_sale": "true",
            "item_props": {
                "item_property": [
                    {
                        "name": "品牌",
                        "value": "哈倩"
                    },
                    {
                        "name": "适用年龄",
                        "value": "18-24周岁"
                    },
                    {
                        "name": "尺码",
                        "value": "S,M,L,XL"
                    },
                    {
                        "name": "图案",
                        "value": "纯色"
                    },
                    {
                        "name": "风格",
                        "value": "通勤"
                    },
                    {
                        "name": "通勤",
                        "value": "韩版"
                    },
                    {
                        "name": "领子",
                        "value": "西装领"
                    },
                    {
                        "name": "衣门襟",
                        "value": "拉链"
                    },
                    {
                        "name": "颜色分类",
                        "value": "杏色(带毛领),黑色(带毛领)"
                    },
                    {
                        "name": "袖型",
                        "value": "常规"
                    },
                    {
                        "name": "填充物",
                        "value": "棉96%及以上"
                    },
                    {
                        "name": "货号",
                        "value": "M504"
                    },
                    {
                        "name": "成分含量",
                        "value": "96%及以上"
                    },
                    {
                        "name": "年份/季节",
                        "value": "2018年冬季"
                    },
                    {
                        "name": "袖长",
                        "value": "长袖"
                    },
                    {
                        "name": "厚薄",
                        "value": "常规"
                    },
                    {
                        "name": "衣长",
                        "value": "常规"
                    },
                    {
                        "name": "服装版型",
                        "value": "直筒"
                    },
                    {
                        "name": "流行元素/工艺",
                        "value": "口袋,拉链"
                    },
                    {
                        "name": "销售渠道类型",
                        "value": "纯电商(只在线上销售)"
                    },
                    {
                        "name": "材质成分",
                        "value": "聚酯纤维100%"
                    }
                ]
            },
            "pics": {
                "string": [
                    "http://img.alicdn.com/bao/uploaded/i3/2121501239/O1CN011L1VBy9NSMN2OP3_!!0-item_pic.jpg",
                    "http://img.alicdn.com/bao/uploaded/i3/2121501239/O1CN011L1VBm5ApwBufGE_!!0-item_pic.jpg",
                    "http://img.alicdn.com/bao/uploaded/i3/2121501239/O1CN011L1VBnAqmH2oeE6_!!2121501239.jpg",
                    "http://img.alicdn.com/bao/uploaded/i3/2121501239/O1CN011L1VBmzCCzVTJHr_!!2121501239.jpg",
                    "http://img.alicdn.com/bao/uploaded/i4/2121501239/O1CN011L1VBv1BWgNmEYm_!!2121501239.png"
                ]
            },
            "sku_item": "true",
            "start": "1538640000000",
            "sub_title": "轻薄保暖 毛领可拆卸",
            "title": "2018新款棉衣女潮中长款冬装女士ins面包服冬季羽绒棉服外套棉袄"
        },
        "mobile_desc_info": {
            "desc_list": {
                "desc_fragment": [
                    {
                        "content": "https://img.alicdn.com/imgextra/i4/2121501239/O1CN01CcEXQl1L1VDAP8yHd_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i2/2121501239/O1CN011L1VBk7CEOINmfV_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i3/2121501239/O1CN011L1VBiLDZLb2DLA_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i2/2121501239/O1CN011L1VBj840jZQp9I_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i3/2121501239/O1CN011L1VBk7C1yBbhIa_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i3/2121501239/O1CN011L1VBkiep9Y2Yo6_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i2/2121501239/O1CN011L1VBkO4XEtojoj_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i3/2121501239/O1CN011L1VBjtsoDPaRJa_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i2/2121501239/O1CN011L1VBiLDq2jbsVV_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBlN5ZDhoVfN_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBlN5ZDhoVfN_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i1/2121501239/O1CN011L1VBkxo6zcqw9v_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i2/2121501239/O1CN011L1VBlYwxc3xxH6_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBjtsfyl372P_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBihoKZWux0f_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBkTXKpGcROK_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i1/2121501239/O1CN011L1VBlYxZ3ReHuH_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i4/2121501239/O1CN011L1VBihnrZxCRwj_!!2121501239.jpg",
                        "label": "img"
                    },
                    {
                        "content": "https://img.alicdn.com/imgextra/i1/2121501239/O1CN011L1VBkTXTAtRJ8e_!!2121501239.jpg",
                        "label": "img"
                    }
                ]
            }
        },
        "price_info": {
            "item_price": {
                "price": {
                    "name": "价格",
                    "price": "298.00"
                },
                "promotion_price": {
                    "name": "优惠活动",
                    "price": "158.00"
                }
            },
            "sku_price_list": {
                "sku_price_item": [
                    {
                        "price": {
                            "name": "价格",
                            "price": "298.00"
                        },
                        "promotion_price": {
                            "name": "优惠活动",
                            "price": "158.00"
                        },
                        "sku_id": "3835109616614"
                    },
                    {
                        "price": {
                            "name": "价格",
                            "price": "298.00"
                        },
                        "sku_id": "3835109616615"
                    },
                    {
                        "price": {
                            "name": "价格",
                            "price": "298.00"
                        },
                        "sku_id": "3835109616616"
                    },
                    {
                        "price": {
                            "name": "价格",
                            "price": "298.00"
                        },
                        "sku_id": "3835109616617"
                    },
                    {
                        "price": {
                            "name": "价格",
                            "price": "298.00"
                        },
                        "sku_id": "3835109616618"
                    },
                    {
                        "price": {
                            "name": "价格",
                            "price": "298.00"
                        },
                        "sku_id": "3835109616619"
                    },
                    {
                        "price": {
                            "name": "价格",
                            "price": "298.00"
                        },
                        "sku_id": "3835109616620"
                    },
                    {
                        "price": {
                            "name": "价格",
                            "price": "298.00"
                        },
                        "sku_id": "3835109616621"
                    }
                ]
            }
        },
        "rate_info": {
            "rate_list": {
                "rate_item": [
                    {
                        "feedback": "不错,颜色跟图片基本都是一样的哦,比较宽松,超级喜欢,喜欢都可以购买的",
                        "nick": "冉**n"
                    },
                    {
                        "feedback": [],
                        "nick": "他**呀"
                    },
                    {
                        "feedback": "衣服穿起来非常合身,穿起来也挺好看的,而且最近这么冷穿着也不冷,对本次购物还是挺满意的,嘻嘻!",
                        "nick": "好**子"
                    },
                    {
                        "feedback": "衣服款式挺好看的,也挺暖和的,嗯,还送了小礼物,懒得拍照发图,嗯,就此略过吧~",
                        "nick": "t**1"
                    },
                    {
                        "feedback": "和图片一样,挺漂亮的,但就是我个人比较瘦,穿起来有点大",
                        "nick": "爱**旧"
                    },
                    {
                        "feedback": "现在我不想说衣服,我只想说这家店的态度真的是服了,我只需要你们给我一个交代,可是你们爱答不理的,消息好久才回,回了之后,我继续跟你们说衣服发错码数的问题,好,你们又是一顿好长时间不回我,,因为一开始我没有仔细看衣服的码数,我就把这个衣服一直挂在宿舍晾衣服的地方,因为明天要回去了,然后才看见衣服的码数,之后找你们客服处理一下,如果你们态度好一点我也就接受了,真的是,你们居然一直掉着我,一直要回不回的,你们以为我时间很多吗,真的是,第一次,真的是第一次遇到这种客服态度的,气死了,以后都不要想我在你们店里面买衣服了,你们的态度现在爱咋的咋的,我也无所谓了,你们继续不回我吧,拜拜",
                        "nick": "t**6"
                    },
                    {
                        "feedback": "可以",
                        "nick": "饶**4"
                    },
                    {
                        "feedback": [],
                        "nick": "t**4"
                    },
                    {
                        "feedback": [],
                        "nick": "c**g"
                    },
                    {
                        "feedback": [],
                        "nick": "搁**8"
                    }
                ]
            }
        },
        "seller_info": {
            "seller_nick": "哈倩旗舰店",
            "seller_type": "tmall",
            "shop_name": "哈倩旗舰店"
        },
        "sku_info": {
            "pv_map_sku_list": {
                "pv_map_sku": [
                    {
                        "pv": "20509:28314;1627207:560000375",
                        "sku_id": "3835109616614"
                    },
                    {
                        "pv": "20509:28315;1627207:560000375",
                        "sku_id": "3835109616615"
                    },
                    {
                        "pv": "20509:28316;1627207:560000375",
                        "sku_id": "3835109616616"
                    },
                    {
                        "pv": "20509:28317;1627207:560000375",
                        "sku_id": "3835109616617"
                    },
                    {
                        "pv": "20509:28314;1627207:380690744",
                        "sku_id": "3835109616618"
                    },
                    {
                        "pv": "20509:28315;1627207:380690744",
                        "sku_id": "3835109616619"
                    },
                    {
                        "pv": "20509:28316;1627207:380690744",
                        "sku_id": "3835109616620"
                    },
                    {
                        "pv": "20509:28317;1627207:380690744",
                        "sku_id": "3835109616621"
                    }
                ]
            },
            "sku_props": {
                "sku_property": [
                    {
                        "prop_id": "20509",
                        "prop_name": "尺码",
                        "values": {
                            "sku_property_value": [
                                {
                                    "name": "S",
                                    "value_id": "28314"
                                },
                                {
                                    "name": "M",
                                    "value_id": "28315"
                                },
                                {
                                    "name": "L",
                                    "value_id": "28316"
                                },
                                {
                                    "name": "XL",
                                    "value_id": "28317"
                                }
                            ]
                        }
                    },
                    {
                        "prop_id": "1627207",
                        "prop_name": "颜色分类",
                        "values": {
                            "sku_property_value": [
                                {
                                    "img_url": "http://img.alicdn.com/bao/uploaded/i4/2121501239/O1CN011L1VBvwChOmm0AZ_!!2121501239.jpg",
                                    "name": "杏色(带毛领)",
                                    "value_id": "560000375"
                                },
                                {
                                    "img_url": "http://img.alicdn.com/bao/uploaded/i3/2121501239/O1CN011L1VBm0LmaImzNX_!!2121501239.jpg",
                                    "name": "黑色(带毛领)",
                                    "value_id": "380690744"
                                }
                            ]
                        }
                    }
                ]
            }
        },
        "stock_info": {
            "item_quantity": "22044",
            "sku_quantity_list": {
                "sku_quantity": [
                    {
                        "quantity": "563",
                        "sku_id": "3835109616614"
                    },
                    {
                        "quantity": "584",
                        "sku_id": "3835109616615"
                    },
                    {
                        "quantity": "1561",
                        "sku_id": "3835109616616"
                    },
                    {
                        "quantity": "3611",
                        "sku_id": "3835109616617"
                    },
                    {
                        "quantity": "3804",
                        "sku_id": "3835109616618"
                    },
                    {
                        "quantity": "3585",
                        "sku_id": "3835109616619"
                    },
                    {
                        "quantity": "3965",
                        "sku_id": "3835109616620"
                    },
                    {
                        "quantity": "4371",
                        "sku_id": "3835109616621"
                    }
                ]
            }
        }
    }
}			  
返回错误码说明

错误码

错误描述

解决办法

200

返回成功

-1

数据返回失败

请查看 msg 返回提示

4001

接口秘钥不能为空

请传入接口秘钥

4002

接口秘钥出错

登录后台查看接口秘钥是否一致

4003

参数不正确

请检查参数是否符合文档要求

4004

服务已到期请及时续费

登录后台续费

4005

该接口当日调用量已超限

升级套餐

4006

无权调用该接口

升级套餐

4007

接口不存在

4008

signature不正

查看签名构建规则确保正确无误。

4009

点卡已用完

请登录控制台-服务购买-充值点卡

4010

请购买接口次数包才能调用此接口

需充值次数包

4011

次数包已用完,请重新购买

需充值次数包

4012

请求客户端ip未加入白名单

将ip加入白名单

4013

联盟账号授权已过期

请登录控制台【授权管理】下重新授权您的相关账号

4014

PID异常

请登录控制台【授权管理】-【淘宝授权】,检查您的推广位PID是否填写,或是否填写正确。