根据关键词返回相关微店商品
返回示例如下
"items": { "q": "女装", "page": "1", "page_size": 16, "real_total_results": 2643, "total_results": 2643, "pagecount": 165, "_ddf": "fb", "item": [ { "title": "重磅推荐‼️非常大气的一款大衣来袭🔥🔥连帽披肩设计混纺羊绒大衣提花Oblique的花纹的大衣💖连帽披肩设计混纺羊绒大衣外套 披肩外套 女装 上衣 大衣", "num_iid": "7235227171", "pic_url": "https://si.geilicdn.com/wdseller1773386553-44ba00000192093b330f0a23057e_1290_1720.jpg", "sales": 129, "shop_id": "1828271009", "seller_nick": "芳心之选店", "price": 1360, "orginal_price": 1458, "detail_url": "https://weidian.com/item.html?itemID=7235227171" }, { "title": "SS24春夏新款 MIU 学院风百分百羊绒徽标经典logo羊绒背心上衣女装吊带衫", "num_iid": "7233565438", "pic_url": "https://si.geilicdn.com/wdseller1216964012-21200000018eb3119bba0a2315f3_1179_1447.jpg", "sales": 18, "shop_id": "1216964012", "seller_nick": "K STUDIO", "price": 478, "orginal_price": 498, "detail_url": "https://weidian.com/item.html?itemID=7233565438" }, { "title": "秋冬叠穿一绝‼️复古丹宁/牛仔外套 万能牛仔衬衫外套💞无数街拍版面的经典组合与各式单品都能轻松碰撞出复古魅力的早秋必入造型款💞女装外套 衬衫外套", "num_iid": "7288275467", "pic_url": "https://si.geilicdn.com/wdseller1773386553-5ab9000001947409e9ec0a2304a0_1290_1720.jpg", "sales": 59, "shop_id": "1828271009", "seller_nick": "芳心之选店", "price": 610, "orginal_price": 658, "detail_url": "https://weidian.com/item.html?itemID=7288275467" }, { "title": "FW24秋冬新款 PD 女装!!经典学院徽标logo长袖短款T恤女款长袖薄衫", "num_iid": "7269308388", "pic_url": "https://si.geilicdn.com/wdseller1216964012-03b000000191db3c9ca60a207569_1178_1346.jpg", "sales": 31, "shop_id": "1216964012", "seller_nick": "K STUDIO", "price": 478, "orginal_price": 498, "detail_url": "https://weidian.com/item.html?itemID=7269308388" }, { "title": "[OG]全球购 高品质D家明星同款春夏季新款女装提花烫金收腰大摆名媛风气质礼服吊带裙", "num_iid": "7233475663", "pic_url": "https://si.geilicdn.com/wdseller334070606-4c840000018ed13b1dff0a813276_1200_1600.jpg", "sales": 434, "shop_id": "334070606", "seller_nick": "OG轻奢衣品全球购", "price": 555, "orginal_price": 575, "detail_url": "https://weidian.com/item.html?itemID=7233475663" }, { "title": "镇店之宝‼️姐们冲🔥重磅推荐新款女士及腰短款双面两穿格纹外套🔥极具辨识度搭配宽松落肩版型效果设计不仅能为你阻挡太阳!不让紫外线晒黑皮肤💞双面短款外套 双面连帽外套 女装上衣外套", "num_iid": "6571272688", "pic_url": "https://si.geilicdn.com/wdseller1773386553-0013000001920289823f0a23041a_1290_1720.jpg", "sales": 271, "shop_id": "1828271009", "seller_nick": "芳心之选店", "price": 790, "orginal_price": 858, "detail_url": "https://weidian.com/item.html?itemID=6571272688" }, { "title": "穿上它成为温柔而坚韧的女神‼️\r新款羊毛大衣,休闲版型 不挑身材 随意搭配🔥\r秋冬高级穿搭 一整个被时髦住了\r秋冬新款时尚的敏锐度拿捏住典的版型外套🔥斗篷式外套 女装 上衣", "num_iid": "6580946517", "pic_url": "https://si.geilicdn.com/wdseller1773386553-2f7d00000192e581c8530a2315ef_1290_1720.jpg", "sales": 153, "shop_id": "1828271009", "seller_nick": "芳心之选店", "price": 1360, "orginal_price": 1458, "detail_url": "https://weidian.com/item.html?itemID=6580946517" }, { "title": "🌈【**代购级别可随意对比400312😻】M家mONCLER蒙家女士羽绒服 Raie 秋冬新款 抽绳羽绒服\n内衬采用90白鸭绒尼龙 蒙家抽绳简约轻薄女装羽绒服", "num_iid": "7007159810", "pic_url": "https://si.geilicdn.com/wdseller1462429244-271400000192d75166a00a2301b4_1284_1712.jpg", "sales": 483, "shop_id": "1838779688", "seller_nick": "陌上奢品高端定制Vip店", "price": 935.3, "orginal_price": 985, "detail_url": "https://weidian.com/item.html?itemID=7007159810" }, { "title": "Bur新款经典菱格纹拼接皮领短款夹克棉服外套棉衣burburry男女同款菱形夹克bbr休闲宽松款上衣棉服", "num_iid": "7309613905", "pic_url": "https://si.geilicdn.com/wdseller1647497361-550e0000019361f1accb0a20e7c7_1290_1293.jpg", "sales": 1000, "shop_id": "1718862266", "seller_nick": "有品心选(支持七天无理由)", "price": 512.5, "orginal_price": 550, "detail_url": "https://weidian.com/item.html?itemID=7309613905" }, { "title": "衣橱里必不可少的一款经典风~【露珠系列】ICICLE之禾女装2025春季新款丝羊毛精纺平纹布风衣", "num_iid": "7413066110", "pic_url": "https://si.geilicdn.com/wdseller901511495207-023d000001956e44c2db0a2315ef_1080_1080.jpg", "sales": 11, "shop_id": "1869210152", "seller_nick": "CHEN.Store一店", "price": 882, "orginal_price": 980, "detail_url": "https://weidian.com/item.html?itemID=7413066110" }, { "title": "🔥【代购版本牛货max大衣451202💝】新款Maxmara Lilia系列双面水波纹羊绒大衣风衣,简洁线条彰显干练风范女装,面料保暖舒适外套,设计感的立领更具时尚感,H版型百搭不挑身材.", "num_iid": "7313132451", "pic_url": "https://si.geilicdn.com/open1838779688-1234478995-7fd800000193855d67a20a8133b5_1200_1200.jpg", "sales": 282, "shop_id": "1838779688", "seller_nick": "陌上奢品高端定制Vip店", "price": 1848.24, "orginal_price": 1988, "detail_url": "https://weidian.com/item.html?itemID=7313132451" }, { "title": "🔥【**原单王牌尖货风衣550302🌟】巴宝B家巴博利能传承几代的经典风衣,最**的原厂面料/市场最牛的货/格纹裁片拼接棉质嘎巴甸Trench女装/风衣/外套/短款外套", "num_iid": "4428900324", "pic_url": "https://si.geilicdn.com/open1838779688-1234478995-23980000017c48c05fbd0a21d22e_1440_1920.jpg", "sales": 228, "shop_id": "1838779688", "seller_nick": "陌上奢品高端定制Vip店", "price": 1355.3, "orginal_price": 1485, "detail_url": "https://weidian.com/item.html?itemID=4428900324" }, { "title": "拉夫短宽老钱风开衫毛衣", "num_iid": "7399566161", "pic_url": "https://si.geilicdn.com/wdseller1736612129-10d80000019533e1e37c0a20e284_1180_1572.jpg", "sales": 1418, "shop_id": "1814019998", "seller_nick": "80Make", "price": 148, "orginal_price": 148, "detail_url": "https://weidian.com/item.html?itemID=7399566161" }, { "title": "🌈明星同款杨幂同款连帽卫衣帽衫451109🌟亚历山大王闪粉加绒卫衣 情侣款套装亮晶晶杨幂同款oversize帽衫加绒拉链开衫外套 男女同款不掉色不脱落/女装/上衣/卫衣/连帽卫衣", "num_iid": "4432789505", "pic_url": "https://si.geilicdn.com/wdseller1462429244-6225000001930fe0d15d0a210139_1035_1552.jpg", "sales": 169, "shop_id": "1838779688", "seller_nick": "陌上奢品高端定制Vip店", "price": 556.04, "orginal_price": 598, "detail_url": "https://weidian.com/item.html?itemID=4432789505" }, { "title": "👑出镜率极高的DR新款大衣251119披肩外套D家双面设计🐮连帽外套实穿无敌 完全可以人手一件的款!双面Oblique印花 😻短款大衣;小短款的外套设计 普通人都能随意驾驭的版型女装外套", "num_iid": "5860726163", "pic_url": "https://si.geilicdn.com/wdseller1462429244-091e0000018e3ad02e680a239737_1284_1711.jpg", "sales": 172, "shop_id": "1838779688", "seller_nick": "陌上奢品高端定制Vip店", "price": 1546.4, "orginal_price": 1680, "detail_url": "https://weidian.com/item.html?itemID=5860726163" }, { "title": "简约不简单~ICICLE之禾女装2024早春新款棉斜纹针织阔腿裤", "num_iid": "7410501759", "pic_url": "https://si.geilicdn.com/weidian901511495207-4631000001956a34d98c0a811411_1080_1080.jpg", "sales": 17, "shop_id": "1869210152", "seller_nick": "CHEN.Store一店", "price": 432, "orginal_price": 480, "detail_url": "https://weidian.com/item.html?itemID=7410501759" } ] }, "error_code": "0000",
Python请求
微店根据关键词取商品列表 API 返回值说明
item_search-根据关键词取商品列表
micro.item_search
公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
key | String | 是 | 调用key(必须以GET方式拼接在URL中) |
secret | String | 是 | 调用密钥 |
api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
version | String | 否 | API版本 |
请求参数
请求参数:q=女装&page=
参数说明:q:关键词, page:页码
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
items | items[] | 0 | 按关键字搜索商品 |
微店获得微店商品详情 API 返回值说明
item_get-获得微店商品详情
micro.item_get
公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
key | String | 是 | 调用key(必须以GET方式拼接在URL中) |
secret | String | 是 | 调用密钥 |
api_name | String | 是 | API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
cache | String | 否 | [yes,no]默认yes,将调用缓存的数据,速度比较快 |
result_type | String | 否 | [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
lang | String | 否 | [cn,en,ru]翻译语言,默认cn简体中文 |
version | String | 否 | API版本 |
请求参数
请求参数:num_iid=2749499386
参数说明:num_iid:微店商品ID
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
num_iid | Bigint | 0 | 2749499386 | 宝贝ID |
title | String | 0 | Swarovski施华洛世奇LIFELONG BOW 流苏蝴蝶结浪漫妩媚女款项链饰品礼物5447082 | 宝贝标题 |
desc_short | String | 0 | Swarovski施华洛世奇LIFELONG BOW 流苏蝴蝶结浪漫妩媚女款项链饰品礼物5447082 | 商品简介 |
price | Float | 0 | 45 | 价格 |
total_price | Float | 0 | 0 | |
suggestive_price | Float | 0 | 0 | |
orginal_price | String | 0 | 45 | 原价 |
nick | String | 0 | 达薇妮珠宝 | 掌柜昵称 |
num | Int | 0 | 库存 | |
min_num | Int | 0 | 0 | 最小购买数 |
detail_url | String | 0 | https://weidian.com/item.html?itemID=2749499386 | 宝贝链接 |
pic_url | String | 0 | https://si.geilicdn.com/pcitem1288244399-3b300000016a3fd26d6f0a217216_800_800.jpg | 宝贝图片 |
brand | String | 0 | 品牌名称 | |
brandId | Int | 0 | 品牌ID | |
rootCatId | Int | 0 | 顶级分类ID | |
cid | Int | 0 | ||
crumbs | Mix | 0 | [] | 导航菜单 |
created_time | String | 0 | ||
modified_time | String | 0 | ||
delist_time | String | 0 | ||
desc | String | 0 | 商品详情 | |
desc_img | Mix | 0 | [https://si.geilicdn.com/pcitem1288244399-23910000016a40086f230a217216_790_420.jpg] | 商品详情图片 |
item_imgs | Mix | 0 | [{ "url": "https://si.geilicdn.com/pcitem1288244399-3b300000016a3fd26d6f0a217216_800_800.jpg"} | 商品图片 |
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 | Mix | 0 | ] | 商品视频 |
is_virtual | String | 0 | ||
sample_id | String | 0 | 商品风格标识ID | |
is_promotion | Boolean | 0 | false | 是否促销 |
props_name | String | 0 | 0:561195188:项链:流苏蝴蝶结项链; | 商品属性名 |
prop_imgs | Mix | 0 | {"prop_img": [ {"properties": "1627207:1347647754", "url": "//gd2.alicdn.com/imgextra/i3/2596264565/TB2.XeblVXXXXXkXpXXXXXXXXXX_!!2596264565.jpg"}]} | 商品属性图片列表 |
property_alias | String | 0 | 20509:9974422:36;1627207:28326:红色;20509:9975710:38;1627207:28326:红色;20509:9981357:40;1627207:28326:红色 | 商品属性别名 |
props | Mix | 0 | [{ "name": "产地","value": "中国" }] | 商品属性 |
total_sold | Int | 0 | ||
skus | Mix | 0 | {"sku": [{"price": "39", "orginal_price": "39.00", "properties": "0:561195188;", "properties_name": "0:561195188:项链:流苏蝴蝶结项链;", "quantity": "305", "sku_id": "10668572309"}] | 商品规格信息列表 |
seller_id | Int | 0 | 卖家ID | |
sales | Int | 0 | 138 | 销量 |
shop_id | Int | 0 | 1288244399 | 店铺ID |
props_list | Mix | 0 | {"0:561195188": "项链:流苏蝴蝶结项链"} | 商品属性 |
seller_info | Mix | 0 | { "title": "达薇妮珠宝", "shop_name":"达薇妮珠宝", "zhuy": "https://weidian.com/?userid=1288244399","level": 3, "shop_type": 3, "user_num_id": "1288244399", "nick": "达薇妮珠宝" } | 卖家信息 |
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 | [] |