API接口地址
API接口分类:
A类标准接口
淘宝API item_get 获取商品详情 根据商品ID查询商品标题价格描述等详情数据
淘宝API item_search 按关键字搜索商品 搜索关键字,显示商品总数,标题,图片,优惠价等数据
淘宝API item_fee 获取商品快递费用 输入商品ID和地区ID得到快递费用
淘宝API item_sku 获取sku详细信息 输入SKU ID,商品ID获取sku详细信息
淘宝API item_password 获得淘口令真实url 输入淘口令代码获取淘口令url
淘宝API item_search_suggest 获得搜索词推荐 搜索关键字,获取推荐搜索词提示
淘宝API item_search_jupage 天天特价 输入商品类目,获取包括有标题,商品ID,图片等数据列表
淘宝API item_search_guang 爱逛街 获取爱逛街平台商品列表,支付分页查询
淘宝API cat_get 获得淘宝分类详情 显所有分类商品详情和参数
淘宝API item_cat_get 获得淘宝商品类目 输入淘宝商品ID,获取对应商品的分类信息
淘宝API item_search_samestyle 搜索同款的商品 输入商品ID,风格ID显示同款商品的价格,信息等
淘宝API item_search_similar 搜索相似的商品 输入商品ID,风格ID显示相似商品的价格,信息等
淘宝API item_recommend 获取推荐商品列表
淘宝API item_history_price 获取商品历史价格信息 识别商品真假促销
淘宝API item_list_weight 批量获取商品重量 可用于代购一次发货,计算运费等场景
淘宝API brand_info 得到品牌相关信息
淘宝API brand_cat 分类列表获取
淘宝API brand_cat_top 得到指定分类的品牌列表
淘宝API brand_keyword_list 指定关键词的品牌列表 搜索品牌关键字,显示品牌商品列表数据
淘宝API brand_product_list 得到指定品牌的产品
淘宝API brand_product_list 得到指定品牌的产品
淘宝API category_search 按类别和分类ID获取列表
淘宝API transaction_history 商品交易历史 仅阿里巴巴支持
B类高级接口
淘宝API item_search_shop 获得店铺的所有商品 显示指定商铺下所有商品列表
淘宝API item_search_seller 获得卖家列表 显示指定符合关键词卖家(店铺)列表
淘宝API item_review 获取商品评论 用户评论
淘宝API item_search_coupon 优惠券查询 输入商品名称,商品ID,阿里妈妈PID获取商品优惠卷
淘宝API buyer_info 买家信息 输入昵称获取买家账号信息,信誉查询等级,活跃度等
淘宝API seller_info 获得淘宝店铺详情
淘宝API item_search_img 拍立淘搜索淘宝商品 图片id,也支持图片url或base64格式的图片上传获取商品列表
淘宝API upload_img 上传图片到淘宝 输入图片的imgcode上传到淘宝
淘宝API img2text 图片识别商品接口 图片识别到文字
淘宝API item_link 链接转换
淘宝API item_list_updown 商品上下架时间查询 查询指定商品ID的上下架时间
淘宝API tbk_order_query 淘宝客订单查询
C类特殊接口
淘宝API buyer_cart_add 添加到购物车 (cookie方式)输入商品ID,skuID和购买数量添加购物车
淘宝API buyer_cart_remove 删除购物车商品 (cookie方式)输入购物车ID删除购物车商品
淘宝API buyer_cart_clear 清空购物车 (cookie方式)
淘宝API buyer_cart_list 获取购物车的商品列表 (cookie方式)
淘宝API buyer_cart_order 将购物车商品保存为订单 (cookie方式)
淘宝API buyer_order_list 购买到的订单列表 (cookie方式)买家订单列表
淘宝API buyer_order_datail 购买到的订单详情 (cookie方式)
淘宝API buyer_order_express 购买到的订单物流 (cookie方式)
淘宝API buyer_address_list 收货地址列表 (cookie方式)
淘宝API buyer_address_clear 清除收货地址 (cookie方式)
淘宝API buyer_address_remove 删除收货地址 (cookie方式)
淘宝API buyer_address_modify 修改收货地址 (cookie方式)
淘宝API buyer_address_add 添加收货地址 (cookie方式)
淘宝API seller_order_list 获取卖出的商品订单列表 (cookie方式)卖家订单列表
淘宝API seller_order_datail 获取卖出的商品订单详情 (cookie方式)
淘宝API seller_auction_list 商品可上下架列表 (cookie方式)卖家仓库商品列表
淘宝API seller_auction 商品上下架操作 (cookie方式)
D类翻译接口
t_text 翻译文本
t_html 翻译带HTML的文本
t_json 翻译一组数据 大语种:中文、英语、日语、韩语、法语、德语、俄语、泰语、西班牙语、 繁体中文.等 小语种:缅甸语,越南语等
E类统计接口
item_search_data 获得搜索词分析统计数据 支持对指定关键词在某平台所有数据统计,排除模糊关键词等,50个关键词同一更新周期(月)内处理的关键词总数
API接口程序:
获取Key和secret,得出数据
数据如下:
Request address:
https://api-gw.onebound.cn/taobao/item_get/?key=&
&num_iid=520813250866&is_promotion=1&&lang=zh-CN&secret=
---------------------------------------
Result Object:
---------------------------------------
{
"item": {
"num_iid": "520813250866",
"title": "三刃木折叠刀创意迷你钥匙扣钥匙刀户外随身多功能锋利开箱小刀",
"desc_short": "",
"price": "22",
"orginal_price": "25.80",
"nick": "欢乐购客栈",
"num": "200",
"pic_url": "//img.alicdn.com/imgextra/i1/2596264565/O1CN01GUZnhh1jaomfrTGBm_!!0-item_pic.jpg",
"brand": "三刃木",
"brandId": "4036703",
"rootCatId": "50013886",
"cid": "50014822",
"crumbs": [],
"detail_url": "https://item.taobao.com/item.htm?id=520813250866",
"desc": "",
"item_imgs": [
{
"url": "//img.alicdn.com/imgextra/i1/2596264565/O1CN01GUZnhh1jaomfrTGBm_!!0-item_pic.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i1/2596264565/O1CN01jcuVBb1jaomeRuMkL_!!0-item_pic.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i3/2596264565/O1CN01T1p7hu1jaomklDXvC_!!0-item_pic.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i4/2596264565/O1CN01xbHROv1jaomde2Ldu_!!0-item_pic.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i3/2596264565/O1CN018BhMpU1jaomhACP0K_!!0-item_pic.jpg"
}
],
"item_weight": 0,
"location": "广东深圳",
"post_fee": 0,
"express_fee": 0,
"ems_fee": 0,
"shipping_to": "",
"has_discount": "true",
"video": [],
"is_virtual": "",
"sample_id": "",
"is_promotion": "true",
"prop_imgs": {
"prop_img": [
{
"properties": "1627207:12227458263",
"url": "//img.alicdn.com/imgextra/i3/2596264565/TB2.XeblVXXXXXkXpXXXXXXXXXX_!!2596264565.jpg"
},
{
"properties": "1627207:12227458264",
"url": "//img.alicdn.com/imgextra/i4/2596264565/TB2dTrjdVXXXXXBXpXXXXXXXXXX_!!2596264565.jpg"
},
{
"properties": "1627207:12227458265",
"url": "//img.alicdn.com/imgextra/i2/2596264565/TB2j22kdVXXXXXdXpXXXXXXXXXX_!!2596264565.jpg"
}
]
},
"property_alias": "",
"props": [
{
"name": "品牌",
"value": "三刃木"
},
{
"name": "产地",
"value": "中国"
},
{
"name": "颜色分类",
"value": "长方形带开瓶器+送卡片刀+钢圈,椭圆形带开瓶器+送卡片刀+钢圈,GJ018X钥匙刀+送卡片刀+钢圈"
},
{
"name": "重量",
"value": "26g(含)-50g(含)"
},
{
"name": "吊牌价",
"value": "46"
},
{
"name": "功能数量",
"value": "5个及以下"
},
{
"name": "展开长度",
"value": "10cm以下"
},
{
"name": "货号",
"value": "GJ019C"
},
{
"name": "附加功能",
"value": "刀,开瓶器,螺丝刀,钥匙圈,其他/other"
},
{
"name": "运动户外项目",
"value": "露营"
}
],
"props_name": "1627207:12227458263:颜色分类:长方形带开瓶器+送卡片刀+钢圈;1627207:12227458264:颜色分类:椭圆形带开瓶器+送卡片刀+钢圈;1627207:12227458265:颜色分类:GJ018X钥匙刀+送卡片刀+钢圈",
"total_sold": 1160000,
"skus": {
"sku": [
{
"price": "37",
"total_price": 0,
"orginal_price": "37",
"properties": "1627207:12227458263",
"properties_name": "1627207:12227458263:颜色分类:长方形带开瓶器+送卡片刀+钢圈",
"quantity": "200",
"sku_id": "3166598625985"
},
{
"price": "37",
"total_price": 0,
"orginal_price": "37",
"properties": "1627207:12227458264",
"properties_name": "1627207:12227458264:颜色分类:椭圆形带开瓶器+送卡片刀+钢圈",
"quantity": "200",
"sku_id": "3166598625984"
},
{
"price": "22",
"total_price": 0,
"orginal_price": "22",
"properties": "1627207:12227458265",
"properties_name": "1627207:12227458265:颜色分类:GJ018X钥匙刀+送卡片刀+钢圈",
"quantity": "200",
"sku_id": "3144644292458"
}
]
},
"seller_id": "2596264565",
"shop_id": "127203758",
"props_list": {
"1627207:12227458263": "颜色分类:长方形带开瓶器+送卡片刀+钢圈",
"1627207:12227458264": "颜色分类:椭圆形带开瓶器+送卡片刀+钢圈",
"1627207:12227458265": "颜色分类:GJ018X钥匙刀+送卡片刀+钢圈"
},
"seller_info": {
"nick": "欢乐购客栈",
"item_score": "4.8 ",
"score_p": "4.8 ",
"delivery_score": "4.8 ",
"shop_type": "C",
"user_num_id": "2596264565",
"sid": "127203758",
"title": "欢乐购客栈",
"zhuy": "https://shop127203758.taobao.com/",
"shop_name": "欢乐购客栈"
},
"tmall": false,
"update_time": "2022-06-19 11:27:07",
"data_update": "2022-06-19 11:27:07",
"data_f": "xdl",
"data_from": "hid",
"promo_type": null,
"props_img": {
"1627207:12227458263": "//img.alicdn.com/imgextra/i3/2596264565/TB2.XeblVXXXXXkXpXXXXXXXXXX_!!2596264565.jpg",
"1627207:12227458264": "//img.alicdn.com/imgextra/i4/2596264565/TB2dTrjdVXXXXXBXpXXXXXXXXXX_!!2596264565.jpg",
"1627207:12227458265": "//img.alicdn.com/imgextra/i2/2596264565/TB2j22kdVXXXXXdXpXXXXXXXXXX_!!2596264565.jpg"
},
"error": null,
"format_check": "ok",
"sales": 0,
"desc_img": [],
"shop_item": [],
"relate_items": []
},
"error": "",
"secache": "d8bd20b8f0d9df02dd030dd374110240",
"secache_time": 1655683217,
"secache_date": "2022-06-20 08:00:17",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"reason": "",
"error_code": "0000",
"cache": 1,
"api_info": "today:37 max:10100 all[92=37+25+30];expires:2030-12-31",
"execution_time": "0.287",
"server_time": "Beijing/2022-06-20 15:52:13",
"client_ip": "106.6.39.140",
"call_args": {
"num_iid": "520813250866",
"is_promotion": "1"
},
"api_type": "taobao",
"translate_language": "zh-CN",
"translate_engine": "baidu_api",
"server_memory": "5.85MB",
"request_id": "gw-3.62b0272d15c01",
"last_id": "1030392698"
}