有探讨稳定采集电商等多平台整站实时商品详情历史价格数据接口,通过该接口开发者可以更好地了解商品的情况,商品详情数据详细信息查询,数据参数包括:商品链接,商品列表主图、价格、标题,sku,库存,销量,店铺昵称,店铺等级,商品详情SKU属性,商品视频,商品优惠券,促销信息,详情属性描述,宝贝ID,区域ID,发货地,发货至,快递费用,物流费用等页面上有的数据完整解决方案帮助买家更准确地进行商品选购及商品分析。
商品详情API接口数据:提供了商品的基本信息,包括商品名称、描述、规格、价格、销量、库存等信息。此外,也可以通过淘宝提供的API接口来获取商品的图片、评价、物流信息等详细数据。
请求方式:HTTPS POST GET
请求地址:API接口接入
请求参数
请求参数:num_iid=674099202885&is_promotion=1
参数说明:num_iid:淘宝商品ID
is_promotion:是否获取取促销价
请求示例Curl PHP PHPsdk JAVA C# Python
&secret=<您自己的apiSecret>&num_iid=652874751412&is_promotion=1";
$curl = curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE);
curl_setopt($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip");
var_dump(curl_exec($curl));
?>
响应示例
{
"item": {
"num_iid": "674099202885",
"title": "法式初恋奶甜裙子女复古v领收腰显瘦温柔风超仙森系别致连衣裙夏",
"desc_short": "",
"price": "78.00",
"total_price": 0,
"suggestive_price": 0,
"orginal_price": "128.00",
"nick": "权威女人帮",
"num": "200",
"min_num": 0,
"detail_url": "https://item.taobao.com/item.htm?id=674099202885",
"pic_url": "//img.alicdn.com/imgextra/i1/1651347310/O1CN01bJ20r223s1zhVFOe6_!!1651347310.jpg",
"brand": "",
"brandId": null,
"rootCatId": "50010404",
"cid": "50009035",
"crumbs": [],
"created_time": "",
"modified_time": "",
"delist_time": "",
"desc": "",
"desc_img": [
"https://img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg",
"https://img.alicdn.com/imgextra/i1/1651347310/O1CN01VJJrB423s1zh1pksx_!!1651347310.jpg",
"https://img.alicdn.com/imgextra/i3/1651347310/O1CN01qPXNEm23s1zfIdVvM_!!1651347310.jpg",
"https://img.alicdn.com/imgextra/i4/1651347310/O1CN01C1Iyl523s1zngNiFF_!!1651347310.jpg",
"https://img.alicdn.com/imgextra/i3/1651347310/O1CN01ryXT5X23s1zfIgX23_!!1651347310.jpg",
"https://img.alicdn.com/imgextra/i1/1651347310/O1CN019yT95u23s1zcAiwTW_!!1651347310.jpg"
],
"item_imgs": [
{
"url": "//img.alicdn.com/imgextra/i1/1651347310/O1CN01bJ20r223s1zhVFOe6_!!1651347310.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i1/1651347310/O1CN01SjWOSB23s1zh1rZIr_!!1651347310.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i3/1651347310/O1CN012ILrqU23s1zkVxOAO_!!1651347310.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i3/1651347310/O1CN01tc8Jq223s1zngQfM2_!!1651347310.jpg"
},
{
"url": "//img.alicdn.com/imgextra/i3/1651347310/O1CN01QYXoTi23s1zfIjHdX_!!1651347310.jpg"
}
],
"item_weight": "",
"item_size": "",
"location": "广东东莞",
"post_fee": 0,
"express_fee": null,
"ems_fee": "",
"shipping_to": "",
"has_discount": "true",
"video": {
"url": null
},
"is_virtual": "",
"sample_id": "",
"is_promotion": "true",
"props_name": "1627207:460466859:颜色分类:米杏色S;1627207:460466860:颜色分类:米杏色M;1627207:1199286798:颜色分类:米杏色L;1627207:1498412000:颜色分类:米杏色XL",
"prop_imgs": {
"prop_img": [
{
"properties": "1627207:460466859",
"url": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg"
},
{
"properties": "1627207:460466860",
"url": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg"
},
{
"properties": "1627207:1199286798",
"url": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg"
},
{
"properties": "1627207:1498412000",
"url": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg"
}
]
},
"property_alias": "",
"props": [
{
"name": "颜色分类",
"value": "米杏色S,米杏色M,米杏色L,米杏色XL"
}
],
"total_sold": "267",
"skus": {
"sku": [
{
"price": "78",
"total_price": 0,
"orginal_price": "78",
"properties": "1627207:460466859",
"properties_name": "1627207:460466859:颜色分类:米杏色S",
"quantity": "200",
"sku_id": "4851762269514"
},
{
"price": "78",
"total_price": 0,
"orginal_price": "78",
"properties": "1627207:460466860",
"properties_name": "1627207:460466860:颜色分类:米杏色M",
"quantity": "200",
"sku_id": "4851762269515"
},
{
"price": "78",
"total_price": 0,
"orginal_price": "78",
"properties": "1627207:1199286798",
"properties_name": "1627207:1199286798:颜色分类:米杏色L",
"quantity": "200",
"sku_id": "4851762269516"
},
{
"price": "78",
"total_price": 0,
"orginal_price": "78",
"properties": "1627207:1498412000",
"properties_name": "1627207:1498412000:颜色分类:米杏色XL",
"quantity": "200",
"sku_id": "4851762269517"
}
]
},
"seller_id": "1651347310",
"sales": 59,
"shop_id": "103981738",
"props_list": {
"1627207:460466859": "颜色分类:米杏色S",
"1627207:460466860": "颜色分类:米杏色M",
"1627207:1199286798": "颜色分类:米杏色L",
"1627207:1498412000": "颜色分类:米杏色XL"
},
"seller_info": {
"nick": "权威女人帮",
"item_score": "4.7 ",
"score_p": "4.8 ",
"delivery_score": "4.8 ",
"shop_type": "C",
"user_num_id": "1651347310",
"sid": "103981738",
"title": "丸丸家 自制女装",
"zhuy": "https://shop103981738.taobao.com/",
"shop_name": "丸丸家 自制女装"
},
"tmall": false,
"error": "",
"warning": "",
"url_log": [],
"fav_count": "10548",
"fans_count": "4.6万",
"freight": "快递: 快递包邮",
"props_imgs": {
"prop_img": [
{
"properties": "1627207:460466859",
"url": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg"
},
{
"properties": "1627207:460466860",
"url": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg"
},
{
"properties": "1627207:1199286798",
"url": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg"
},
{
"properties": "1627207:1498412000",
"url": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg"
}
]
},
"_ddf": "xdl",
"promo_type": null,
"props_img": {
"1627207:460466859": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg",
"1627207:460466860": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg",
"1627207:1199286798": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg",
"1627207:1498412000": "//img.alicdn.com/imgextra/i4/1651347310/O1CN01c0iqh923s1zfIh098_!!1651347310.jpg"
},
"format_check": "ok",
"shop_item": [],
"relate_items": []
},
"error": "",
"secache": "48bdc9c49aabd8180da4d85887cbccdb",
"secache_time": 1688972675,
"secache_date": "2023-07-10 15:04:35",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},