当前位置:API市场 > 淘宝标准商品类目属性查询

淘宝标准商品类目属性查询

获取淘宝标准商品类目属性查询,可应用于商品销售情况分析,电商选品分析,品牌口碑挖掘和竞争对手分析等。

接口状态: 正常 更新时间: 2020-07-16 <<暂不接受定制,接口费用不议价,同意后再联系>>
0.01/次

¥100/10000次
100元起充 / 开户费100元

  • 接口地址:https://www.taofake.com.cn/api/taobao/ItemPropsGet[参数] 获取私钥
  • 请求方式:POST/GET
  • 返回格式:JSON
  • 请求示例:https://www.taofake.com.cn/api/taobao/ItemPropsGet?cid=[商品类目ID]&pid=&parent_pid=&child_path=&type=&attr_keys=&fields=&is_key_prop=&is_sale_prop=&is_color_prop=&is_enum_prop=&is_input_prop=&is_item_prop=&sign=[sign]&app_id=[APPID]&timestamp=[时间戳函数]
  • 接口备注:查询1次,计1次调用

请求参数说明:

名称类型必填示例值说明
cidstring50018922叶子类目ID,如果只传cid,则只返回一级属性,通过taobao.itemcats.get获得叶子类目ID
pidstring
属性id (取类目属性时,传pid,不用同时传PID和parent_pid)
parent_pidstring
父属性ID
child_pathstring
类目子属性路径,由该子属性上层的类目属性和类目属性值组成,格式pid:vid;pid:vid.取类目子属性需要传child_path,cid
typestring
获取类目的类型:1代表集市、2代表天猫
attr_keysstring
attr_keys
fieldsstring
需要返回的字段列表,见:ItemProp,默认返回:pid, name, must, multi, prop_values
is_key_propstring
是否关键属性。可选值:true(是),false(否)
is_sale_propstring
是否销售属性。可选值:true(是),false(否)
is_color_propstring
是否颜色属性。可选值:true(是),false(否) (删除的属性不会匹配和返回这个条件)
is_enum_propstring
是否枚举属性。可选值:true(是),false(否)
is_input_propstring
在is_enum_prop是true的前提下,是否是卖家可以自行输入的属性
is_item_propstring

是否商品属性,这个属性只能放于发布商品时使用。可选值:true(是),false(否)

signString67deebee082d446da21768c20e86310a3714eb8b为了验证用户身份,以及确保参数不被中间人篡改,需要传递调用者的数字签名。【小写】sign=sha1(cid + pid + parent_pid + child_path + type + attr_keys + fields + is_key_prop + is_sale_prop + is_color_prop + is_enum_prop + is_input_prop + is_item_prop + app_id + appsecret + timestamp);
app_idString5b68434f29330淘发客应用id
timestampString1394276508客户端时间。
时间戳,格式如:1394276508

返回参数说明:

名称类型默认值说明
codeint
返回码
dataarray
数据查询结果
msgstring
返回说明

JSON返回示例:

{
	"code": 0,
	"data": {
		"item_props": {
			"item_prop": [{
				"child_template": "型号",
				"is_allow_alias": false,
				"is_color_prop": false,
				"is_enum_prop": true,
				"is_input_prop": true,
				"is_item_prop": false,
				"is_key_prop": true,
				"is_material": false,
				"is_sale_prop": false,
				"is_taosir": false,
				"material_do": {
					"materials": []
				},
				"multi": false,
				"must": true,
				"name": "品牌",
				"parent_pid": 0,
				"parent_vid": 0,
				"pid": 20000,
				"prop_values": {
					"prop_value": [{
						"name": "AA",
						"vid": 119838
					}, {
						"is_parent": true,
						"name": "ADDA",
						"vid": 31048
					}, {
						"name": "ADKO\/爱多酷",
						"vid": 3921115
					}, {
						"is_parent": true,
						"name": "ALN\/阿尔诺",
						"vid": 3647603
					}, {
						"name": "ASZUNE\/艾苏恩",
						"vid": 152485061
					}, {
						"name": "AUX\/奥克斯",
						"vid": 21210
					}, {
						"name": "AVC",
						"vid": 29578
					}, {
						//省略N多数据,正常调用时数据正常显示
					}, {
						"name": "teioe easy\/泰欧宜尚",
						"vid": 1568196531
					}, {
						"name": "JESDOING\/节仕得",
						"vid": 149025509
					}, {
						"name": "优渥",
						"vid": 71790570
					}, {
						"name": "甲乙丙",
						"vid": 32311126
					}, {
						"name": "upo",
						"vid": 15943753
					}, {
						"name": "Joyoant",
						"vid": 87549761
					}, {
						"name": "ULEE",
						"vid": 22686747
					}, {
						"name": "小异",
						"vid": 66108164
					}, {
						"name": "海德拉",
						"vid": 91316329
					}, {
						"name": "JANE WYATT\/简·悦",
						"vid": 158105482
					}, {
						"name": "Free_on\/自由星",
						"vid": 11490127
					}, {
						"name": "臻木可",
						"vid": 1132028034
					}, {
						"name": "金豺",
						"vid": 74401405
					}, {
						"name": "闪达",
						"vid": 68733127
					}, {
						"name": "BINYEAE\/宾毅",
						"vid": 1945412275
					}, {
						"name": "antirr",
						"vid": 1617283103
					}, {
						"name": "WELL STAR",
						"vid": 8144468
					}, {
						"name": "Leiria",
						"vid": 1548110274
					}, {
						"name": "耐高铄",
						"vid": 1282118353
					}, {
						"name": "枭熊",
						"vid": 672086751
					}, {
						"name": "巴都",
						"vid": 204400545
					}, {
						"name": "LANGFO",
						"vid": 1614241148
					}, {
						"name": "狼峰",
						"vid": 94688019
					}, {
						"name": "闪芝",
						"vid": 1592018784
					}, {
						"name": "FC\/梵施",
						"vid": 676514088
					}, {
						"name": "锐动力",
						"vid": 181116678
					}, {
						"name": "Remax",
						"vid": 43059594
					}, {
						"name": "iGEEKER",
						"vid": 996362241
					}, {
						"name": "SgrMin12\/珉十二",
						"vid": 1641516639
					}, {
						"name": "XZR\/鑫众仁",
						"vid": 1095920176
					}, {
						"name": "零特",
						"vid": 146119862
					}, {
						"name": "UFBOSS\/友博士",
						"vid": 1875514239
					}, {
						"name": "炫动力",
						"vid": 87997368
					}, {
						"name": "FMX\/飞马信",
						"vid": 1661417044
					}, {
						"name": "AIDISUN\/爱德堔",
						"vid": 1007738014
					}, {
						"name": "华德通",
						"vid": 131134892
					}, {
						"name": "Nexhype",
						"vid": 94996903
					}, {
						"name": "启赞",
						"vid": 605846103
					}, {
						"name": "福祐乐",
						"vid": 381328517
					}, {
						"name": "xinfly",
						"vid": 104920881
					}, {
						"name": "innobay\/亿诺贝",
						"vid": 1655332266
					}, {
						"name": "Bardos",
						"vid": 34407745
					}, {
						"name": "青良",
						"vid": 125577386
					}, {
						"name": "binmok",
						"vid": 153261535
					}, {
						"name": "恰屋良品",
						"vid": 1591335519
					}, {
						"name": "鼎福来(电饼铛)",
						"vid": 1524009523
					}, {
						"name": "狐途(数码)",
						"vid": 1684729119
					}, {
						"name": "Enerfer\/安能浦",
						"vid": 554036005
					}, {
						"name": "亚美(电器)",
						"vid": 1700430408
					}, {
						"name": "美瑄儿",
						"vid": 1690756684
					}, {
						"name": "HOXCUB\/虹酷",
						"vid": 830188821
					}, {
						"name": "HUGECOB",
						"vid": 1691074963
					}, {
						"name": "小飞燕",
						"vid": 7209871
					}, {
						"name": "意帆",
						"vid": 181702269
					}, {
						"name": "启帅(家电)",
						"vid": 1715213481
					}, {
						"name": "LiUkeZ\/六颗钻",
						"vid": 866052609
					}, {
						"name": "九月生活(家装主材)",
						"vid": 1577540954
					}, {
						"name": "Kazerwa\/凯泽沃",
						"vid": 1733465296
					}, {
						"name": "GZUT",
						"vid": 199380950
					}, {
						"name": "优丫丫",
						"vid": 1400149031
					}, {
						"name": "红提(居家日用)",
						"vid": 1735610811
					}, {
						"name": "dsdk",
						"vid": 16215962
					}, {
						"name": "Moolace\/摩莱仕",
						"vid": 718278368
					}, {
						"name": "leisny\/雷思尼",
						"vid": 1070334151
					}, {
						"name": "安堡莱",
						"vid": 139320706
					}, {
						"name": "ouhoe",
						"vid": 1657955449
					}, {
						"name": "SUBUTE\/苏布特",
						"vid": 1453971291
					}, {
						"name": "航",
						"vid": 13097992
					}, {
						"name": "天神侠",
						"vid": 373034891
					}, {
						"name": "麦菲格",
						"vid": 174342430
					}, {
						"name": "idiffer",
						"vid": 72966394
					}, {
						"name": "麦耳舒",
						"vid": 1752215077
					}, {
						"name": "酷睡仕",
						"vid": 120657534
					}, {
						"name": "M2-GO",
						"vid": 1662622716
					}, {
						"name": "cohs",
						"vid": 158806020
					}, {
						"name": "鑫宇豪",
						"vid": 63759978
					}]
				},
				"sort_order": 0,
				"status": "normal",
				"taosir_do": []
			}, {
				"child_template": "",
				"is_allow_alias": true,
				"is_color_prop": true,
				"is_enum_prop": true,
				"is_input_prop": true,
				"is_item_prop": false,
				"is_key_prop": false,
				"is_material": false,
				"is_sale_prop": true,
				"is_taosir": false,
				"material_do": {
					"materials": []
				},
				"multi": true,
				"must": false,
				"name": "颜色分类",
				"parent_pid": 0,
				"parent_vid": 0,
				"pid": 1627207,
				"prop_values": {
					"prop_value": [{
						"name": "乳白色",
						"vid": 28321
					}, {
						"name": "军绿色",
						"vid": 3232483
					}, {
						"name": "卡其色",
						"vid": 28331
					}, {
						"name": "咖啡色",
						"vid": 129819
					}, {
						"name": "墨绿色",
						"vid": 80557
					}, {
						"name": "天蓝色",
						"vid": 3232484
					}, {
						"name": "姜黄色",
						"vid": 15409374
					}, {
						"name": "孔雀蓝",
						"vid": 5138330
					}, {
						"name": "宝蓝色",
						"vid": 3707775
					}, {
						"name": "巧克力色",
						"vid": 3232481
					}, {
						"name": "明黄色",
						"vid": 20412615
					}, {
						"name": "杏色",
						"vid": 30155
					}, {
						"name": "柠檬黄",
						"vid": 132476
					}, {
						"name": "栗色",
						"vid": 6071353
					}, {
						"name": "桔红色",
						"vid": 4950473
					}, {
						"name": "桔色",
						"vid": 90554
					}, {
						"name": "浅棕色",
						"vid": 30158
					}, {
						"name": "浅灰色",
						"vid": 28332
					}, {
						"name": "浅紫色",
						"vid": 4104877
					}, {
						"name": "浅绿色",
						"vid": 30156
					}, {
						"name": "浅蓝色",
						"vid": 28337
					}, {
						"name": "浅黄色",
						"vid": 60092
					}, {
						"name": "深卡其布色",
						"vid": 3232482
					}, {
						"name": "深棕色",
						"vid": 6588790
					}, {
						"name": "深灰色",
						"vid": 3232478
					}, {
						"name": "深紫色",
						"vid": 3232479
					}, {
						"name": "深蓝色",
						"vid": 28340
					}, {
						"name": "湖蓝色",
						"vid": 5483105
					}, {
						"name": "灰色",
						"vid": 28334
					}, {
						"name": "玫红色",
						"vid": 3594022
					}, {
						"name": "白色",
						"vid": 28320
					}, {
						"name": "米白色",
						"vid": 4266701
					}, {
						"name": "粉红色",
						"vid": 3232480
					}, {
						"name": "紫红色",
						"vid": 5167321
					}, {
						"name": "紫罗兰",
						"vid": 80882
					}, {
						"name": "紫色",
						"vid": 28329
					}, {
						"name": "红色",
						"vid": 28326
					}, {
						"name": "绿色",
						"vid": 28335
					}, {
						"name": "翠绿色",
						"vid": 8588036
					}, {
						"name": "花色",
						"vid": 130164
					}, {
						"name": "荧光绿",
						"vid": 6535235
					}, {
						"name": "荧光黄",
						"vid": 6134424
					}, {
						"name": "蓝色",
						"vid": 28338
					}, {
						"name": "藏青色",
						"vid": 28866
					}, {
						"name": "藕色",
						"vid": 4464174
					}, {
						"name": "褐色",
						"vid": 132069
					}, {
						"name": "西瓜红",
						"vid": 3743025
					}, {
						"name": "透明",
						"vid": 107121
					}, {
						"name": "酒红色",
						"vid": 28327
					}, {
						"name": "金色",
						"vid": 28328
					}, {
						"name": "银色",
						"vid": 28330
					}, {
						"name": "青色",
						"vid": 3455405
					}, {
						"name": "香槟色",
						"vid": 130166
					}, {
						"name": "驼色",
						"vid": 3224419
					}, {
						"name": "黄色",
						"vid": 28324
					}, {
						"name": "黑色",
						"vid": 28341
					}]
				},
				"sort_order": 0,
				"status": "normal",
				"taosir_do": []
			}, {
				"child_template": "",
				"is_allow_alias": false,
				"is_color_prop": false,
				"is_enum_prop": true,
				"is_input_prop": false,
				"is_item_prop": false,
				"is_key_prop": false,
				"is_material": false,
				"is_sale_prop": false,
				"is_taosir": false,
				"material_do": {
					"materials": []
				},
				"multi": false,
				"must": false,
				"name": "材质",
				"parent_pid": 0,
				"parent_vid": 0,
				"pid": 20021,
				"prop_values": {
					"prop_value": [{
						"name": "金属",
						"vid": 20369
					}, {
						"name": "塑料",
						"vid": 27161
					}, {
						"name": "塑胶",
						"vid": 20370
					}]
				},
				"sort_order": 1,
				"status": "normal",
				"taosir_do": []
			}, {
				"child_template": "",
				"is_allow_alias": false,
				"is_color_prop": false,
				"is_enum_prop": true,
				"is_input_prop": true,
				"is_item_prop": true,
				"is_key_prop": false,
				"is_material": false,
				"is_sale_prop": false,
				"is_taosir": false,
				"material_do": {
					"materials": []
				},
				"multi": false,
				"must": false,
				"name": "充满电使用时长",
				"parent_pid": 0,
				"parent_vid": 0,
				"pid": 122216894,
				"prop_values": {
					"prop_value": [{
						"name": "1小时",
						"vid": 102518
					}, {
						"name": "2小时",
						"vid": 10701550
					}, {
						"name": "3小时",
						"vid": 35871393
					}, {
						"name": "4小时",
						"vid": 8534972
					}, {
						"name": "5小时",
						"vid": 10456913
					}, {
						"name": "6小时",
						"vid": 12349180
					}, {
						"name": "7小时",
						"vid": 58276395
					}, {
						"name": "8小时",
						"vid": 102519
					}, {
						"name": "10小时",
						"vid": 4360663
					}, {
						"name": "12小时",
						"vid": 12230322
					}, {
						"name": "14小时",
						"vid": 11891343
					}, {
						"name": "16小时",
						"vid": 102520
					}]
				},
				"sort_order": 3,
				"status": "normal",
				"taosir_do": []
			}, {
				"child_template": "",
				"is_allow_alias": false,
				"is_color_prop": false,
				"is_enum_prop": true,
				"is_input_prop": true,
				"is_item_prop": true,
				"is_key_prop": false,
				"is_material": false,
				"is_sale_prop": false,
				"is_taosir": false,
				"material_do": {
					"materials": []
				},
				"multi": false,
				"must": false,
				"name": "电池容量",
				"parent_pid": 0,
				"parent_vid": 0,
				"pid": 149128818,
				"prop_values": {
					"prop_value": [{
						"name": "5000mAh",
						"vid": 12217299
					}, {
						"name": "10000mAh",
						"vid": 59506814
					}, {
						"name": "20000mAh",
						"vid": 11863017
					}, {
						"name": "30000mAh",
						"vid": 89244465
					}, {
						"name": "40000mAh",
						"vid": 81686590
					}]
				},
				"sort_order": 5,
				"status": "normal",
				"taosir_do": []
			}, {
				"child_template": "",
				"is_allow_alias": false,
				"is_color_prop": false,
				"is_enum_prop": true,
				"is_input_prop": false,
				"is_item_prop": true,
				"is_key_prop": false,
				"is_material": false,
				"is_sale_prop": false,
				"is_taosir": false,
				"material_do": {
					"materials": []
				},
				"multi": false,
				"must": false,
				"name": "功能",
				"parent_pid": 0,
				"parent_vid": 0,
				"pid": 20019,
				"prop_values": {
					"prop_value": [{
						"name": "太阳能充电",
						"vid": 6773112
					}, {
						"name": "无线充电",
						"vid": 14117385
					}, {
						"name": "喷雾",
						"vid": 20184
					}, {
						"name": "内置手机支架",
						"vid": 1964565037
					}, {
						"name": "语音控制",
						"vid": 246678372
					}]
				},
				"sort_order": 6,
				"status": "normal",
				"taosir_do": []
			}, {
				"child_template": "",
				"is_allow_alias": false,
				"is_color_prop": false,
				"is_enum_prop": true,
				"is_input_prop": false,
				"is_item_prop": true,
				"is_key_prop": false,
				"is_material": false,
				"is_sale_prop": false,
				"is_taosir": false,
				"material_do": {
					"materials": []
				},
				"multi": false,
				"must": false,
				"name": "是否支持摇头",
				"parent_pid": 0,
				"parent_vid": 0,
				"pid": 232923800,
				"prop_values": {
					"prop_value": [{
						"name": "是",
						"vid": 21958
					}, {
						"name": "否",
						"vid": 21959
					}]
				},
				"sort_order": 7,
				"status": "normal",
				"taosir_do": []
			}, {
				"child_template": "",
				"is_allow_alias": false,
				"is_color_prop": false,
				"is_enum_prop": true,
				"is_input_prop": false,
				"is_item_prop": true,
				"is_key_prop": false,
				"is_material": false,
				"is_sale_prop": false,
				"is_taosir": false,
				"material_do": {
					"materials": []
				},
				"multi": false,
				"must": false,
				"name": "固定方式",
				"parent_pid": 0,
				"parent_vid": 0,
				"pid": 142274207,
				"sort_order": 8,
				"status": "normal",
				"taosir_do": []
			}, {
				"child_template": "",
				"is_allow_alias": false,
				"is_color_prop": false,
				"is_enum_prop": true,
				"is_input_prop": false,
				"is_item_prop": true,
				"is_key_prop": false,
				"is_material": false,
				"is_sale_prop": false,
				"is_taosir": false,
				"material_do": {
					"materials": []
				},
				"multi": false,
				"must": false,
				"name": "尺寸",
				"parent_pid": 0,
				"parent_vid": 0,
				"pid": 21433,
				"sort_order": 9,
				"status": "normal",
				"taosir_do": []
			}]
		},
		"request_id": "132393187164536493"
	},
	"msg": "success"
}