一、如何通过手动方式查看 shopee 商品详情页面的数据
1.Shopee 商品详情 API 接口(item_get - 获得 Shopee 商品详情接口),ShopeeAPI 接口代码对接可以获取到宝贝 ID,宝贝标题,价格,优惠价,掌柜名称,库存,宝贝链接,宝贝图片,品牌名称,商品详情,详情图片等页面上有的数据均可以获取到,手动方式如下:
例如我们打开手机 Shopee APP 或者 PC 端,搜索关键词 "Dress",随便点击一个宝贝,进入这个商品详情,我们就以推荐的这个商品为例,点击进入商品详情页面。
2. 点击鼠标右键可以查看源代码拿到的详情页面的数据参数,包括标题,图片,商品价格,商品优惠券,优惠信息,库存数量,商品详情页面数据等参数。
二、通过封装接口拿到整个站的商品详情数据,代码如下:
item_get-根据ID取商品详情
{
"item": {
"num_iid": 5637247041,
"title": "Fashionable plus size women's dress 2020 new spring and summer dress was thin and thin and fat sister dress two-piece suit",
"detail_url": "https://shopee.com.my/product/264070136/5637247041",
"pic_url": "https://cf.shopee.com.my/file/f8bc1116ea922e5ed87a492390b1cc1a",
"price": 0.03168,
"orginal_price": 0.03168,
"cid": 100017,
"desc": "Brand: Other/Other\nStyle: Sweet and Fresh/College\nPopular elements: buttons, gauze, stitching\nStyle: skirt suit\nsleeve length: short sleeve\nFabric/Material: Other/Polyester (Polyester Fiber)\nIngredient content: 71% (inclusive)-80% (inclusive)\nWhether to add cashmere: no cashmere\nTime to market: Spring 2020\nDelivery time:\nShipped on the same day before subscripting at 18:00 every day,\nIt is estimated that it will take 4-10 days for normal goods to arrive at your hands\n\nMasa penghantaran\nDihantar pada hari yang sama sebelum pukul 18:00 setiap hari\nDihantar keesokan harinya selepas jam 18:00.\nDianggarkan memerlukan masa 4-10 hari untuk barang biasa sampai tangan anda\n\nPakaian wanita bersaiz plus bergaya.Pakaian musim bunga dan musim panas dalam 2020 yang baru\nkurus dan gemuk itu berpakaian yg dua keping<img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-1.645c98b04abb7&p=1778786454&k=i_key&t=1683790000\" style=\"display:none\" />",
"item_imgs": [
{
"url": "https://cf.shopee.com.my/file/f8bc1116ea922e5ed87a492390b1cc1a"
},
{
"url": "https://cf.shopee.com.my/file/c0d49dfae84b81468269a17714742adb"
},
{
"url": "https://cf.shopee.com.my/file/f4dd56edbe0ccc13ca2cba0d6ba5167a"
},
{
"url": "https://cf.shopee.com.my/file/35f35de0d5826c4969a42483b34d8bea"
},
{
"url": "https://cf.shopee.com.my/file/14b7804a2a87c70fa763c518ce6ec583"
},
{
"url": "https://cf.shopee.com.my/file/e1bc3fe36abc09c00ead17243b9825f0"
},
{
"url": "https://cf.shopee.com.my/file/ab490d68394575366c36cee16ad0f86e"
},
{
"url": "https://cf.shopee.com.my/file/a6148259a00b460f5e30ba04a327f9a3"
},
{
"url": "https://cf.shopee.com.my/file/e1bc5d2bb3c010af4f688e6f22a63eca"
}
],
"props": [
{
"name": "Plus Size",
"value": "Yes"
},
{
"name": "Dress/Skirt Length",
"value": "Midi"
}
],
"props_list": {
"31764:31803": "颜色分类:T-shirt+skirt",
"31764:31997": "颜色分类:T-shirt",
"31764:32060": "颜色分类:skirt",
"32120:32126": "尺码:M 建议【42.5-50KG】",
"32120:32159": "尺码:L 建议 【50-57.5kg】",
"32120:32208": "尺码:XL 【建议57.5-65kg】",
"32120:32240": "尺码:2XL 【建议65-72.5kg】",
"32120:32289": "尺码:3XL 【建议72.5-82.5kg】",
"32120:32336": "尺码:4XL【建议82.5-90kg】"
},
"prop_imgs": {
"prop_img": [
{
"properties": "31764:31803",
"url": "https://cf.shopee.com.my/file/81bea46afa4113012b7330cc3c846428"
},
{
"properties": "31764:31997",
"url": "https://cf.shopee.com.my/file/c0d49dfae84b81468269a17714742adb"
},
{
"properties": "31764:32060",
"url": "https://cf.shopee.com.my/file/f4dd56edbe0ccc13ca2cba0d6ba5167a"
}
]
},
"props_imgs": {
"prop_img": [
{
"properties": "31764:31803",
"url": "https://cf.shopee.com.my/file/81bea46afa4113012b7330cc3c846428"
},
{
"properties": "31764:31997",
"url": "https://cf.shopee.com.my/file/c0d49dfae84b81468269a17714742adb"
},
{
"properties": "31764:32060",
"url": "https://cf.shopee.com.my/file/f4dd56edbe0ccc13ca2cba0d6ba5167a"
}
]
},
"props_name": "31764:31803:颜色分类:T-shirt+skirt;31764:31803:颜色分类:T-shirt+skirt;31764:31803:颜色分类:T-shirt+skirt;31764:31803:颜色分类:T-shirt+skirt;31764:31803:颜色分类:T-shirt+skirt;31764:31803:颜色分类:T-shirt+skirt;31764:31997:颜色分类:T-shirt;31764:31997:颜色分类:T-shirt;31764:31997:颜色分类:T-shirt;31764:31997:颜色分类:T-shirt;31764:31997:颜色分类:T-shirt;31764:31997:颜色分类:T-shirt;31764:32060:颜色分类:skirt;31764:32060:颜色分类:skirt;31764:32060:颜色分类:skirt;31764:32060:颜色分类:skirt;31764:32060:颜色分类:skirt;31764:32060:颜色分类:skirt;32120:32126:尺码:M 建议【42.5-50KG】;32120:32159:尺码:L 建议 【50-57.5kg】;32120:32208:尺码:XL 【建议57.5-65kg】;32120:32240:尺码:2XL 【建议65-72.5kg】;32120:32289:尺码:3XL 【建议72.5-82.5kg】;32120:32336:尺码:4XL【建议82.5-90kg】;32120:32126:尺码:M 建议【42.5-50KG】;32120:32159:尺码:L 建议 【50-57.5kg】;32120:32208:尺码:XL 【建议57.5-65kg】;32120:32240:尺码:2XL 【建议65-72.5kg】;32120:32289:尺码:3XL 【建议72.5-82.5kg】;32120:32336:尺码:4XL【建议82.5-90kg】;32120:32126:尺码:M 建议【42.5-50KG】;32120:32159:尺码:L 建议 【50-57.5kg】;32120:32208:尺码:XL 【建议57.5-65kg】;32120:32240:尺码:2XL 【建议65-72.5kg】;32120:32289:尺码:3XL 【建议72.5-82.5kg】;32120:32336:尺码:4XL【建议82.5-90kg】",
"desc_img": [],
"location": null,
"post_fee": "",
"skus": {
"sku": [
{
"price": 0.06336,
"total_price": 0,
"orginal_price": 0.06336,
"properties": "31764:31803;32120:32126",
"properties_name": "31764:31803:颜色分类:T-shirt+skirt;32120:32126:尺码:M 建议【42.5-50KG】",
"quantity": 982,
"sku_id": null
},
{
"price": 0.06336,
"total_price": 0,
"orginal_price": 0.06336,
"properties": "31764:31803;32120:32159",
"properties_name": "31764:31803:颜色分类:T-shirt+skirt;32120:32159:尺码:L 建议 【50-57.5kg】",
"quantity": 983,
"sku_id": null
},
{
"price": 0.06336,
"total_price": 0,
"orginal_price": 0.06336,
"properties": "31764:31803;32120:32208",
"properties_name": "31764:31803:颜色分类:T-shirt+skirt;32120:32208:尺码:XL 【建议57.5-65kg】",
"quantity": 992,
"sku_id": null
},
{
"price": 0.06336,
"total_price": 0,
"orginal_price": 0.06336,
"properties": "31764:31803;32120:32240",
"properties_name": "31764:31803:颜色分类:T-shirt+skirt;32120:32240:尺码:2XL 【建议65-72.5kg】",
"quantity": 989,
"sku_id": null
},
{
"price": 0.06336,
"total_price": 0,
"orginal_price": 0.06336,
"properties": "31764:31803;32120:32289",
"properties_name": "31764:31803:颜色分类:T-shirt+skirt;32120:32289:尺码:3XL 【建议72.5-82.5kg】",
"quantity": 992,
"sku_id": null
},
{
"price": 0.06336,
"total_price": 0,
"orginal_price": 0.06336,
"properties": "31764:31803;32120:32336",
"properties_name": "31764:31803:颜色分类:T-shirt+skirt;32120:32336:尺码:4XL【建议82.5-90kg】",
"quantity": 985,
"sku_id": null
},
{
"price": 0.03808,
"total_price": 0,
"orginal_price": 0.03808,
"properties": "31764:31997;32120:32126",
"properties_name": "31764:31997:颜色分类:T-shirt;32120:32126:尺码:M 建议【42.5-50KG】",
"quantity": 998,
"sku_id": null
},
{
"price": 0.03808,
"total_price": 0,
"orginal_price": 0.03808,
"properties": "31764:31997;32120:32159",
"properties_name": "31764:31997:颜色分类:T-shirt;32120:32159:尺码:L 建议 【50-57.5kg】",
"quantity": 999,
"sku_id": null
},
{
"price": 0.03808,
"total_price": 0,
"orginal_price": 0.03808,
"properties": "31764:31997;32120:32208",
"properties_name": "31764:31997:颜色分类:T-shirt;32120:32208:尺码:XL 【建议57.5-65kg】",
"quantity": 1000,
"sku_id": null
},
{
"price": 0.03808,
"total_price": 0,
"orginal_price": 0.03808,
"properties": "31764:31997;32120:32240",
"properties_name": "31764:31997:颜色分类:T-shirt;32120:32240:尺码:2XL 【建议65-72.5kg】",
"quantity": 999,
"sku_id": null
},
{
"price": 0.03808,
"total_price": 0,
"orginal_price": 0.03808,
"properties": "31764:31997;32120:32289",
"properties_name": "31764:31997:颜色分类:T-shirt;32120:32289:尺码:3XL 【建议72.5-82.5kg】",
"quantity": 999,
"sku_id": null
},
{
"price": 0.03808,
"total_price": 0,
"orginal_price": 0.03808,
"properties": "31764:31997;32120:32336",
"properties_name": "31764:31997:颜色分类:T-shirt;32120:32336:尺码:4XL【建议82.5-90kg】",
"quantity": 998,
"sku_id": null
},
{
"price": 0.03168,
"total_price": 0,
"orginal_price": 0.03168,
"properties": "31764:32060;32120:32126",
"properties_name": "31764:32060:颜色分类:skirt;32120:32126:尺码:M 建议【42.5-50KG】",
"quantity": 1000,
"sku_id": null
},
{
"price": 0.03168,
"total_price": 0,
"orginal_price": 0.03168,
"properties": "31764:32060;32120:32159",
"properties_name": "31764:32060:颜色分类:skirt;32120:32159:尺码:L 建议 【50-57.5kg】",
"quantity": 1000,
"sku_id": null
},
{
"price": 0.03168,
"total_price": 0,
"orginal_price": 0.03168,
"properties": "31764:32060;32120:32208",
"properties_name": "31764:32060:颜色分类:skirt;32120:32208:尺码:XL 【建议57.5-65kg】",
"quantity": 997,
"sku_id": null
},
{
"price": 0.03168,
"total_price": 0,
"orginal_price": 0.03168,
"properties": "31764:32060;32120:32240",
"properties_name": "31764:32060:颜色分类:skirt;32120:32240:尺码:2XL 【建议65-72.5kg】",
"quantity": 998,
"sku_id": null
},
{
"price": 0.03168,
"total_price": 0,
"orginal_price": 0.03168,
"properties": "31764:32060;32120:32289",
"properties_name": "31764:32060:颜色分类:skirt;32120:32289:尺码:3XL 【建议72.5-82.5kg】",
"quantity": 999,
"sku_id": null
},
{
"price": 0.03168,
"total_price": 0,
"orginal_price": 0.03168,
"properties": "31764:32060;32120:32336",
"properties_name": "31764:32060:颜色分类:skirt;32120:32336:尺码:4XL【建议82.5-90kg】",
"quantity": 997,
"sku_id": null
}
]
},
"num": 17907,
"seller_id": null,
"shop_id": "",
"nick": null,
"sales": 0,
"total_sold": "-1",
"seller_info": {
"nick": null,
"item_score": null,
"score_p": null,
"delivery_score": null,
"shop_type": "",
"user_num_id": null,
"sid": "",
"title": "",
"zhuy": "https://my.xiapibuy.com/qzq1274334183.my",
"cert": null,
"open_time": "",
"credit_score": null,
"shop_name": "Big size women's fashion "
},
"data_from": "Ha",
"props_img": {
"31764:31803": "https://cf.shopee.com.my/file/81bea46afa4113012b7330cc3c846428",
"31764:31997": "https://cf.shopee.com.my/file/c0d49dfae84b81468269a17714742adb",
"31764:32060": "https://cf.shopee.com.my/file/f4dd56edbe0ccc13ca2cba0d6ba5167a"
},