淘宝商品详情API接口
一、先简单回答两个问题:
1、PHP 可以开发客户端?
答:不可以,因为PHP是脚本语言,是负责完成 B/S架构 或 C/S架构 的S部分,即:服务端的开发。(别去纠结 GTK、WinBinder)
2、为什么选择 PHP 作为开发服务端的首选?
答:跨平台(可以运行在UNIX、LINUX、WINDOWS、Mac OS下)、低消耗(PHP消耗相当少的系统资源)、运行效率高(相对而言)、MySQL的完美搭档,本身是免费开源的,......
API接口工具
二、详情数据
1、请求示例
2、响应参数
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
item |
item[] | 1 | 宝贝详情数据 | |
num_iid |
Bigint | 1 | 520813250866 | 宝贝ID |
title |
String | 1 | 三刃木折叠刀过安检创意迷你钥匙扣钥匙刀军刀随身多功能小刀包邮 | 宝贝标题 |
desc_short |
String | 0 | 商品简介 | |
promotion_price |
Int | 0 | 优惠价 | |
price |
Float | 1 | 25.8 | 价格 |
total_price |
Float | 0 | 0 | |
suggestive_price |
Float | 0 | 0 | |
orginal_price |
String | 0 | 25.80 | 原价 |
nick |
String | 0 | 欢乐购客栈 | 掌柜昵称 |
num |
Int | 0 | 3836 | 库存 |
min_num |
Int | 0 | 0 | 最小购买数 |
detail_url |
String | 0 | http://item.taobao.com/item.htm?id=520813250866 | 宝贝链接 |
pic_url |
String | 1 | //gd2.alicdn.com/imgextra/i4/2596264565/TB2p30elFXXXXXQXpXXXXXXXXXX_!!2596264565.jpg | 宝贝图片 |
brand |
String | 0 | 三刃木 | 品牌名称 |
brandId |
Int | 0 | 8879363 | 品牌ID |
rootCatId |
Int | 0 | 50013886 | 顶级分类ID |
cid |
Int | 1 | 50014822 | |
crumbs |
Mix | 0 | [] | 导航菜单 |
created_time |
String | 0 | ||
modified_time |
String | 0 | ||
delist_time |
String | 0 | ||
desc |
String | 0 | 商品详情 | |
desc_img |
Mix | 0 | [] | 商品详情图片 |
item_imgs |
Mix | 0 | item_imgs[] | 商品图片 |
item_weight |
String | 0 | ||
item_size |
String | 0 | ||
location |
String | 0 | 发货地 | |
express_fee |
Float | 0 | 0.00 | 快递费用 |
ems_fee |
Float | 0 | EMS费用 | |
post_fee |
Float | 0 | 物流费用 | |
shipping_to |
String | 0 | 发货至 | |
has_discount |
Boolean | 0 | false | 是否有优惠 |
video |
video[] | 0 | 商品视频 | |
is_virtual |
String | 0 | ||
sample_id |
String | 0 | 商品风格标识ID | |
is_promotion |
Boolean | 0 | false | 是否促销 |
props_name |
String | 0 | 1627207:1347647754:颜色分类:长方形带开瓶器+送工具刀卡+链子;1627207:1347647753:颜色分类:椭圆形带开瓶器+送工具刀卡+链子; | 商品属性名。格式为pid1:vid1:name1:value1;pid1:vid2:name2:value2。 |
prop_imgs |
prop_imgs[] | 0 | 商品属性图片列表 | |
property_alias |
String | 0 | 20509:9974422:36;1627207:28326:红色;20509:9975710:38;1627207:28326:红色;20509:9981357:40;1627207:28326:红色 | 销售属性值别名。格式为pid1:vid1:alias1;pid1:vid2:alia2。 |
props |
Mix | 0 | [{ "name": "产地","value": "中国" }] | 商品属性 |
total_sold |
Int | 0 | ||
skus |
skus[] | 0 | 商品规格信息列表 | |
seller_id |
Int | 0 | 2844096782 | 卖家ID |
sales |
Int | 0 | 138 | 销量 |
shop_id |
Int | 0 | 151372205 | 店铺ID |
props_list |
Mix | 0 | {20509:9974422: 尺码:36} | 商品属性 |
seller_info |
seller_info[] | 1 | 卖家信息 | |
tmall |
Boolean | 0 | false | 是否天猫 |
error |
String | 0 | 错误信息 | |
warning |
String | 0 | 警告信息 | |
url_log |
Mix | 0 | [] | |
favcount |
Int | 0 | 0 | |
fanscount |
Int | 0 | 0 | |
method |
String | 0 | item_tmall:pget_item | |
promo_type |
String | 0 | ||
props_img |
Mix | 0 | 1627207:28326": "//img.alicdn.com/imgextra/i2/2844096782/O1CN01VrjpXt1zyCc9DvERE_!!2844096782.jpg | 属性图片 |
shop_item |
Mix | 0 | [] | |
relate_items |
Mix | 0 | [] |
3、响应示例
{
"item": {
"num_iid": "673580114813",
"title": "JNXS江南先生Cityboy日系情侣装短袖T恤POLO衫男夏季潮牌工装衬衣",
"desc_short": "",
"price": "119",
"orginal_price": "179.00",
"nick": "江南先生旗舰店",
"num": "200",
"pic_url": "//img.alicdn.com/imgextra/i1/2164625143/O1CN01rlT5ab1nrXjLDL3js_!!2164625143.jpg",
"brand": "",
"brandId": "649592411",
"rootCatId": "30",
"cid": "50010402",
"crumbs": [],
"detail_url": "https://item.taobao.com/item.htm?id=673580114813",
"desc": "",
"item_imgs": [
{
"url": "//img.alicdn.com/imgextra/i1/2164625143/O1CN01rlT5ab1nrXjLDL3js_!!2164625143.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i2/2164625143/O1CN01iJEkNK1nrXiYbJjzr_!!2164625143-0-lubanu-s.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i3/2164625143/O1CN01vodCrt1nrXibbz72q_!!2164625143-0-lubanu-s.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i3/2164625143/O1CN01LMnuy51nrXiuSiJY6_!!2164625143-0-lubanu-s.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i1/2164625143/O1CN01r5bdRh1nrXiobLpSS_!!2164625143-0-lubanu-s.jpg"
}
],
"item_weight": 0,
"location": "浙江杭州",
"post_fee": " 免运费",
"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:3232483",
"url": "//img.alicdn.com/imgextra/i3/2164625143/O1CN01yaAoHg1nrXixoP3mL_!!2164625143.jpg"
},
{
"properties": "1627207:9995142",
"url": "//img.alicdn.com/imgextra/i3/2164625143/O1CN01Zevj471nrXj0cT7kl_!!2164625143.jpg"
},
{
"properties": "1627207:381840804",
"url": "//img.alicdn.com/imgextra/i1/2164625143/O1CN01jcNWLl1nrXijjld5Z_!!2164625143.jpg"
},
{
"properties": "1627207:3232478",
"url": "//img.alicdn.com/imgextra/i3/2164625143/O1CN01as3pfy1nrXiycQfX0_!!2164625143.jpg"
},
{
"properties": "1627207:20763493145",
"url": "//img.alicdn.com/imgextra/i1/2164625143/O1CN015Umy1X1nrXizWVS71_!!2164625143.jpg"
}
]
},
"property_alias": "",
"props": [
{
"name": "男装品牌",
"value": "江南先生"
},
{
"name": "尺码",
"value": "S M L XL"
},
{
"name": "图案",
"value": "其他/other"
},
{
"name": "颜色",
"value": "军绿色 深灰色 红棕色 石灰白 买就送同款徽章【此项勿拍】"
},
{
"name": "袖型",
"value": "常规"
},
{
"name": "货号",
"value": "JNYCS-5869"
},
{
"name": "细分风格",
"value": "日系复古"
},
{
"name": "基础风格",
"value": "青春流行"
},
{
"name": "适用季节",
"value": "夏季"
},
{
"name": "上市年份季节",
"value": "2022年夏季"
},
{
"name": "袖长",
"value": "短袖"
},
{
"name": "厚薄",
"value": "常规"
},
{
"name": "适用场景",
"value": "其他休闲"
},
{
"name": "版型",
"value": "宽松型"
},
{
"name": "服装款式细节",
"value": "徽章"
},
{
"name": "适用对象",
"value": "青年"
},
{
"name": "销售渠道类型",
"value": "纯电商(只在线上销售)"
},
{
"name": "材质成分",
"value": "棉54.8% 聚酰胺纤维(锦纶)40.8% 聚氨酯弹性纤维(氨纶)4.4%"
}
],
"props_name": "20509:28314:尺码:S;20509:28315:尺码:M;20509:28316:尺码:L;20509:28317:尺码:XL;1627207:3232483:颜色:军绿色;1627207:9995142:颜色:红棕色;1627207:381840804:颜色:石灰白;1627207:3232478:颜色:深灰色;1627207:20763493145:颜色:买就送同款徽章【此项勿拍】",
"total_sold": 2830000,
"skus": {
"sku": [
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28314;1627207:3232483",
"properties_name": "20509:28314:尺码:S;1627207:3232483:颜色:军绿色",
"quantity": "83",
"sku_id": "5022022999175"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28315;1627207:3232483",
"properties_name": "20509:28315:尺码:M;1627207:3232483:颜色:军绿色",
"quantity": "101",
"sku_id": "5022022999176"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28316;1627207:3232483",
"properties_name": "20509:28316:尺码:L;1627207:3232483:颜色:军绿色",
"quantity": "115",
"sku_id": "5022022999177"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28317;1627207:3232483",
"properties_name": "20509:28317:尺码:XL;1627207:3232483:颜色:军绿色",
"quantity": "24",
"sku_id": "5022022999178"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28314;1627207:9995142",
"properties_name": "20509:28314:尺码:S;1627207:9995142:颜色:红棕色",
"quantity": "27",
"sku_id": "5022022999179"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28315;1627207:9995142",
"properties_name": "20509:28315:尺码:M;1627207:9995142:颜色:红棕色",
"quantity": "54",
"sku_id": "5022022999180"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28316;1627207:9995142",
"properties_name": "20509:28316:尺码:L;1627207:9995142:颜色:红棕色",
"quantity": "121",
"sku_id": "5022022999181"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28317;1627207:9995142",
"properties_name": "20509:28317:尺码:XL;1627207:9995142:颜色:红棕色",
"quantity": "146",
"sku_id": "5022022999182"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28314;1627207:381840804",
"properties_name": "20509:28314:尺码:S;1627207:381840804:颜色:石灰白",
"quantity": "54",
"sku_id": "5022022999183"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28315;1627207:381840804",
"properties_name": "20509:28315:尺码:M;1627207:381840804:颜色:石灰白",
"quantity": "112",
"sku_id": "5022022999184"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28316;1627207:381840804",
"properties_name": "20509:28316:尺码:L;1627207:381840804:颜色:石灰白",
"quantity": "70",
"sku_id": "5022022999185"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28317;1627207:381840804",
"properties_name": "20509:28317:尺码:XL;1627207:381840804:颜色:石灰白",
"quantity": "71",
"sku_id": "5022022999186"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28314;1627207:3232478",
"properties_name": "20509:28314:尺码:S;1627207:3232478:颜色:深灰色",
"quantity": "41",
"sku_id": "4844734140619"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28315;1627207:3232478",
"properties_name": "20509:28315:尺码:M;1627207:3232478:颜色:深灰色",
"quantity": "62",
"sku_id": "4844734140620"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28316;1627207:3232478",
"properties_name": "20509:28316:尺码:L;1627207:3232478:颜色:深灰色",
"quantity": "64",
"sku_id": "4844734140621"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28317;1627207:3232478",
"properties_name": "20509:28317:尺码:XL;1627207:3232478:颜色:深灰色",
"quantity": "158",
"sku_id": "4844734140622"
},
{
"price": "119",
"total_price": 0,
"orginal_price": "119",
"properties": "20509:28314;1627207:20763493145",
"properties_name": "20509:28314:尺码:S;1627207:20763493145:颜色:买就送同款徽章【此项勿拍】",
"quantity": "0",
"sku_id": "4848261016171"
}
]
},
"seller_id": "2164625143",
"shop_id": "112164290",
"props_list": {
"20509:28314": "尺码:S",
"20509:28315": "尺码:M",
"20509:28316": "尺码:L",
"20509:28317": "尺码:XL",
"1627207:3232483": "颜色:军绿色",
"1627207:9995142": "颜色:红棕色",
"1627207:381840804": "颜色:石灰白",
"1627207:3232478": "颜色:深灰色",
"1627207:20763493145": "颜色:买就送同款徽章【此项勿拍】"
},
"seller_info": {
"nick": "江南先生旗舰店",
"item_score": "4.7 ",
"score_p": "4.8 ",
"delivery_score": "4.8 ",
"shop_type": "B",
"user_num_id": "2164625143",
"sid": "112164290",
"title": "江南先生旗舰店",
"zhuy": "https://shop112164290.taobao.com/",
"shop_name": "江南先生旗舰店"
},
"tmall": true,
"update_time": "2022-07-07 14:26:49",
"data_update": "2022-07-07 14:26:49",
"data_f": "xdl",
"data_from": "hid",
"promo_type": null,
"props_img": {
"1627207:3232483": "//img.alicdn.com/imgextra/i3/2164625143/O1CN01yaAoHg1nrXixoP3mL_!!2164625143.jpg",
"1627207:9995142": "//img.alicdn.com/imgextra/i3/2164625143/O1CN01Zevj471nrXj0cT7kl_!!2164625143.jpg",
"1627207:381840804": "//img.alicdn.com/imgextra/i1/2164625143/O1CN01jcNWLl1nrXijjld5Z_!!2164625143.jpg",
"1627207:3232478": "//img.alicdn.com/imgextra/i3/2164625143/O1CN01as3pfy1nrXiycQfX0_!!2164625143.jpg",
"1627207:20763493145": "//img.alicdn.com/imgextra/i1/2164625143/O1CN015Umy1X1nrXizWVS71_!!2164625143.jpg"
},
"error": null,
"format_check": "ok",
"sales": 0,
"desc_img": [],
"shop_item": [],
"relate_items": []
},
"error": "",
"secache": "7aadc856ab41f8261daa5e69896deb6c",
"secache_time": 1659404224,
"secache_date": "2022-08-02 09:37:04",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:17 max:10100 all[48=17+16+15];expires:2030-12-31",
"execution_time": "0.293",
"server_time": "Beijing/2022-08-02 09:37:04",
"client_ip": "106.6.35.126",
"call_args": {
"num_iid": "673580114813",
"is_promotion": "1"
},
"api_type": "taobao",
"translate_language": "zh-CN",
"translate_engine": "google_new",
"server_memory": "5.89MB",
"request_id": "gw-1.62e87fc025131",
"last_id": "1122277050"
}
淘宝商品详情API接口相关推荐
- 淘宝商品详情API接口(网页版,APP端二合一接口)
接口名称:淘宝商品详情API接口(网页版,APP端二合一接口) 接口状态:已完成 接口地址:http://gjx.sd1118.com/api/product/info 请求方式:GET Conten ...
- 淘宝商品详情api接口代码对接分享
一.淘宝商品详情api接口代码对接如下: 1.公共参数: 名称 类型 必须 描述 key String 是 调用key(必须以GET方式拼接在URL中)t secret String 是 调用密钥 ...
- 淘宝商品详情API接口文档调用说明
应用场景: 可通过淘宝商品详情API获取淘宝商品详情页信息,如:商品主图.价格.标题,sku,店铺名称,掌柜旺旺等等. 注意问题: 当最外层的state = false的时候则算接口失败,msg返 ...
- 手淘商品详情api接口|淘宝商品详情API接口文档
应用场景: 淘宝商品详情API接口文档可以获取淘宝或天猫的全网商品详情信息 接口说明: 1.接口请求地址: http://xxxx/api/product/engage 2.接口请求条件: token ...
- 手机淘宝商品详情API接口开发文档
应用场景: 通过该手机淘宝商品详情API接口开发文档可绕过登录滑块获取获标题.价格.SKU.主图.店铺名称等信息,方便电商平台.系统使用. 应用框架: 采用负载均衡的架构,提供手机淘宝商品详情API接 ...
- 淘宝商品详情API接口(商品价格接口,商品属性接口)
为了进行此平台API的调用,首先我们需要做下面几件事情. 1. 获取一个KEY. 2. 参考API文档里的接入方式和示例. 3.查看测试工具是否有需要的接口,响应实例的返回字段是否符合参数要求. 4. ...
- 淘宝商品详情API接口、获得淘宝商品详情接口调用示例
淘宝详情接口可以通过商品ID提取商品详情页各项数据,包含商品标题,skuid.价格.优惠价,收藏数.下单人数.月销售量.SKU图.标题.详情页图片等页面上有的数据均可以拿到,大家都知道,淘宝的反爬虫机 ...
- 首选电商淘宝商品详情API接口(数据获取)
API接口是什么? API API全称是:Application Programming Interface,即:应用程序接口.开发人员可以使用这些API接口进行编程开发,而又无需访问 ...
- 淘宝商品详情API接口(item_get-获得淘宝商品详情接口)
通过商品ID请求封装接口商品详情接口,详情API接口,sku价格接口,详情属性接口,销量接口等可以获取到详情页面上的参数数据包括:商品标题,商品图片,sku价格,区间价,最小起批量,库存,属性图片,详 ...
- 淘宝商品详情API接口(app、h5端)
淘宝商品详情接口(app.h5端)代码对接可获取到淘宝详情页面数据,包括商品标题,商品价格,商品图片,SKU属性,SKU信息,SKU详情图,库存,数量,销量,评论总数,掌柜昵称,国内运费,品牌等页面上 ...
最新文章
- Java中生产者与消费者问题的演变
- python中global的用法
- Windows组策略让你的网络系统更强壮
- 3.1 《数据库系统概论》SQL概述及数据定义(模式SCHEMA、表TABLE、索引INDEX)
- MyEclipse/Eclipse快捷键调试大全
- Android特效专辑(十二)——仿支付宝咻一咻功能实现波纹扩散特效,精细小巧的View...
- SAP Spartacus Table cell显示数据类型的Component决定逻辑
- Hi3520D UART2和UART3是如何加载到内核的
- 计算机中字符编码换算
- 用VB轻松调用其他程序
- python能做什么excel-python处理excel的优势是什么
- 提高网站性能的方法(学习笔记)
- 使用码云或GitHub搭建简单的个人网站
- 机器人走进开放源代码
- R及RStudio下载安装教程(超详细)
- 下载安装ARM交叉编译器
- 数字电子钟—VHDL 设计
- 基于Bilibili开源flv.js拉流
- 三做一年级算术题-吐槽挖雷
- IP地址0.0.0.0是什么意思?