前往测试接口
onebound.pinduoduo.item_search
1.公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
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版本 |
2.请求参数
请求参数:q=零食&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=
参数说明:q:关键词, sort:排序[bid,_bid,_sale,sale] (bid:商品价格,sale:销量,加_前缀为从大到小排序)
3.响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
items | items[] | 0 | 根据关键词取商品列表 | |
title | String | 0 | 商品标题 | |
pic_url | String | 0 | 宝贝图片 | |
price | Float | 0 | 价格 | |
promotion_price | Float | 0 | 优惠价格 | |
sales | Int | 0 | 销量 | |
num_iid | Bigint | 0 | 宝贝ID | |
sample_id | String | 0 | 商品风格标识ID | |
seller_nick | String | 0 | 掌柜昵称 | |
post_fee | Float | 0 | 物流费用 | |
area | String | 0 | 店铺所在地 | |
detail_url | String | 0 | 宝贝链接 |
4.请求示例
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/pinduoduo/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size="
5.响应示例
{
"items": {
"keyword": "零食",
"page": "1",
"real_total_results": 781,
"total_results": 781,
"list_count": 20,
"item": [
{
"title": "【特价100包】香辣鱿鱼丝零食铁板鱿鱼须麻辣小吃5包熟食即食批发",
"pic_url": "https://t00img.yangkeduo.com/goods/images/2021-07-01/26add30454e8c48ac6e8de7046580405.jpeg",
"price": 5.8,
"promotion_price": 5.8,
"sales": 100000,
"num_iid": 255897432548,
"sample_id": "",
"seller_nick": "湘川香食品旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=255897432548"
},
{
"title": "祖名江南一绝香逗卷小包装多口味豆腐干夜宵休闲食品散装网红零食",
"pic_url": "https://t00img.yangkeduo.com/goods/images/2020-09-12/cfb4d258540d04a5d144b6523aa724c8.jpeg",
"price": 11.8,
"promotion_price": 11.8,
"sales": 100000,
"num_iid": 174708397872,
"sample_id": "",
"seller_nick": "祖名旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=174708397872"
},
{
"title": "爆浆曲奇小丸子买1箱送3箱正版夹心巧克力糖网红零食礼盒散装批发",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-03-15/7ca4fd4b30593d392cfb676109d5cd13.jpeg",
"price": 10.68,
"promotion_price": 10.68,
"sales": 100000,
"num_iid": 333241161779,
"sample_id": "",
"seller_nick": "航尚食品",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=333241161779"
},
{
"title": "零食大礼包猪饲料一箱整箱网红休闲小吃送女友男生日礼物混装七夕",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-08-06/6a758180816e0b7d1d716a7da791b45e.jpeg",
"price": 28.31,
"promotion_price": 28.31,
"sales": 6926,
"num_iid": 377357445691,
"sample_id": "",
"seller_nick": "焙美食品专营店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=377357445691"
},
{
"title": "鲜蛋糕纯蛋糕营养早餐鸡蛋糕面包西式糕点卷蛋糕软面包80-2000克",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-03-09/6228fefe306c4f45a4eee4da0be8918e.jpeg",
"price": 10.9,
"promotion_price": 10.9,
"sales": 100000,
"num_iid": 175779528398,
"sample_id": "",
"seller_nick": "淘气淘食品专营店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=175779528398"
},
{
"title": "即食鱿鱼仔带籽墨鱼仔满籽小包装海味零食海鲜小吃休闲食品海兔",
"pic_url": "https://t00img.yangkeduo.com/goods/images/2021-04-12/645356ec410c41efb6ad4bfd76190edc.jpeg",
"price": 5.75,
"promotion_price": 5.75,
"sales": 100000,
"num_iid": 206727858025,
"sample_id": "",
"seller_nick": "海之味海味零食",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=206727858025"
},
{
"title": "黑芝麻核桃红枣糕手工芝麻糖红枣枸杞玫瑰营养糕儿童孕妇老人零食",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-08-01/fe0b0299dfa791bbc2ae4450429be8a4.jpeg",
"price": 7.8,
"promotion_price": 7.8,
"sales": 24000,
"num_iid": 376814121747,
"sample_id": "",
"seller_nick": "养优食品铺",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=376814121747"
},
{
"title": "港荣蒸蛋糕软面包早餐零食品学生代餐小吃儿童休闲糕点心整箱批发",
"pic_url": "https://img.pddpic.com/gaudit-image/2021-12-09/dd274ed70575e37284c906b1bbcec5c5.jpeg",
"price": 16.9,
"promotion_price": 16.9,
"sales": 67000,
"num_iid": 272455609546,
"sample_id": "",
"seller_nick": "港荣食品官方旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=272455609546"
},
{
"title": "酒鬼青豆辣条网红小吃8090儿时怀旧香辣爆辣零食青豌豆单独包装",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-03-02/2794246a188f1949ee04e11375f7165a.jpeg",
"price": 9.8,
"promotion_price": 9.8,
"sales": 24000,
"num_iid": 332678725064,
"sample_id": "",
"seller_nick": "普冠食品专营店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=332678725064"
},
{
"title": "脆升升香脆薯条500g(20g*25袋)网红小吃蜂蜜黄油休闲散装零食礼包",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-05-31/1f95da11fd39e8939bb96b522c13564a.jpeg",
"price": 39.8,
"promotion_price": 39.8,
"sales": 88000,
"num_iid": 198413964301,
"sample_id": "",
"seller_nick": "脆升升食品官方旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=198413964301"
},
{
"title": "网红零食大礼包组合一整箱便宜儿童生日礼物休闲食品肉类麻辣小吃",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-01-05/eb75445ffc098a0a1656f0014e43a870.jpeg",
"price": 32.98,
"promotion_price": 32.98,
"sales": 100000,
"num_iid": 28422258987,
"sample_id": "",
"seller_nick": "萌兔零食屋",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=28422258987"
},
{
"title": "内蒙古正宗酱牛肉五香牛腱子低脂减脂熟食卤味真空开袋即食零食",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-04-08/60ddfdfe5afb8971f020dfb68099c9ee.jpeg",
"price": 24.6,
"promotion_price": 24.6,
"sales": 100000,
"num_iid": 347129656969,
"sample_id": "",
"seller_nick": "哈特森牧场",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=347129656969"
},
{
"title": "精武鸭脖鸭货零食大礼包518g一整箱小吃休闲食品1036g卤肉礼盒",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-07-08/3bf0627996c5d5d248d5d415766a6ce3.jpeg",
"price": 29.9,
"promotion_price": 29.9,
"sales": 100000,
"num_iid": 54393648634,
"sample_id": "",
"seller_nick": "精武旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=54393648634"
},
{
"title": "岩烧乳酪夹心吐司奶酪面包片批发网红早餐蛋糕糕点一整箱4斤-半斤",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-07-27/12ee278bb89606313cbae0d6b92efe48.jpeg",
"price": 8.8,
"promotion_price": 8.8,
"sales": 72000,
"num_iid": 394675815957,
"sample_id": "",
"seller_nick": "方策烘焙专营店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=394675815957"
},
{
"title": "正宗内蒙风干肉干250/500g独立包装鸭肉手撕风干肉干零食熟食小吃",
"pic_url": "https://img.pddpic.com/gaudit-image/2021-08-18/450daa348d3e936782b2c845aee526cf.jpeg",
"price": 19.5,
"promotion_price": 19.5,
"sales": 54000,
"num_iid": 65702960134,
"sample_id": "",
"seller_nick": "蒙妹子草原特产店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=65702960134"
},
{
"title": "香辣鱿鱼丝 麻辣网红零食鱿鱼须 即食海味海鲜八爪鱼鱿鱼片批发",
"pic_url": "https://img.pddpic.com/gaudit-image/2021-10-24/b097c9d286be195a488f0f84eb9d9cd5.jpeg",
"price": 8.99,
"promotion_price": 8.99,
"sales": 100000,
"num_iid": 3188846,
"sample_id": "",
"seller_nick": "趴趴熊零食企业店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=3188846"
},
{
"title": "虔汇江西特产零食小吃月亮粑豆巴子赣州花生巴赣南客家豆饼锅巴",
"pic_url": "https://img.pddpic.com/gaudit-image/2021-10-01/074393f3adff6022d19c07ab675ab3a8.jpeg",
"price": 7.8,
"promotion_price": 7.8,
"sales": 14000,
"num_iid": 283902868622,
"sample_id": "",
"seller_nick": "虔汇食品官方旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=283902868622"
},
{
"title": "木糖醇芝麻饼粗粮手工糕点营养代餐中老年早餐零食无蔗糖休闲食品",
"pic_url": "https://t00img.yangkeduo.com/goods/images/2020-11-28/2602ac591354065506b5a40e7cd5d7ec.jpeg",
"price": 15.69,
"promotion_price": 15.69,
"sales": 17000,
"num_iid": 204261703670,
"sample_id": "",
"seller_nick": "万购食品专营店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=204261703670"
},
{
"title": "蛋黄酥雪媚娘正宗咸鸭蛋休闲零食传统糕点点心酥饼甜食整箱批发",
"pic_url": "https://t00img.yangkeduo.com/goods/images/2021-07-09/7fce85725becf38d687822eec50abfe3.jpeg",
"price": 8.98,
"promotion_price": 8.98,
"sales": 100000,
"num_iid": 260015472570,
"sample_id": "",
"seller_nick": "锋味商贸",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=260015472570"
},
{
"title": "紫薯芋泥饼新鲜代餐学生健康食品零食网红低0小吃糕点早晚餐营养",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-03-03/666a7dabbafd85225646c923663e3157.jpeg",
"price": 9.6,
"promotion_price": 9.6,
"sales": 100000,
"num_iid": 332285042699,
"sample_id": "",
"seller_nick": "糖小鲜食品",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=332285042699"
}
]
},
"error_code": "0000",
"reason": "ok",
"secache": "0e19f4535b40426fe1bff93fa0fe58c0",
"secache_time": 1660456427,
"secache_date": "2022-08-14 13:53:47",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"cache": 0,
"api_info": "today:7 max:10100 all[35=7+2+26];expires:2030-12-31",
"execution_time": "0.874",
"server_time": "Beijing/2022-08-14 13:53:47",
"client_ip": "106.6.32.219",
"call_args": {
"q": "零食",
"start_price": "0",
"end_price": "0",
"page": "1",
"cat": "0"
},
"api_type": "pinduoduo",
"translate_language": "zh-CN",
"translate_engine": "baidu",
"server_memory": "0.83MB",
"request_id": "gw-4.62f88deaca4a5",
"last_id": "1149920223"
}