item_search-根据关键词取商品列表 快速注册开通测试
onebound.pinduoduo.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=笔记本&start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&page_size=
参数说明:q:关键词, sort:排序[bid,_bid,_sale,sale] (bid:商品价格,sale:销量,加_前缀为从大到小排序)
响应参数
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 | 宝贝链接 |
请求示例
- Curl
- PHP
- PHPsdk
- JAVA
- C#
- Python
-- 请求示例 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="
响应示例
"items": {
"keyword": "笔记本",
"page": "1",
"real_total_results": 845,
"total_results": 845,
"list_count": 20,
"item": [
{
"title": "笔记本本子复古A5车线本牛皮纸B5简约大学生日记本网格本手账本子",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-04-01/a17862af3998bc1910dd8c5523988002.jpeg",
"price": 2.54,
"promotion_price": 2.54,
"sales": 100000,
"num_iid": 171909936732,
"sample_id": "",
"seller_nick": "鸿运彩印",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=171909936732"
},
{
"title": "活页本可拆卸不硌手活页笔记本子a4简约ins风学生b5线圈本文艺",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-03-02/c74d37f751568fef0b9a7d06a654670c.jpeg",
"price": 7.8,
"promotion_price": 7.8,
"sales": 100000,
"num_iid": 271866661356,
"sample_id": "",
"seller_nick": "逸轩文化用品专营店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=271866661356"
},
{
"title": "笔记本加厚牛皮纸封面软面抄记事本学生日记本办公工作A5牛皮本子",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-07-13/7bdced3e9a0c1e33945bfe1f29ff9387.jpeg",
"price": 5.12,
"promotion_price": 5.12,
"sales": 41000,
"num_iid": 388940912923,
"sample_id": "",
"seller_nick": "源齐文具店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=388940912923"
},
{
"title": "上翻笔记本子简约B5线圈本大学生英语网格本空白A5初中生透明本",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-04-23/d82b730b169f42c287b4a8e7fec7bf8c.jpeg",
"price": 5.5,
"promotion_price": 5.5,
"sales": 22000,
"num_iid": 353276345620,
"sample_id": "",
"seller_nick": "必须文化用品官方旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=353276345620"
},
{
"title": "牛皮纸笔记本本子商务办公软面抄日记本学生记事本B5大笔记本厚本",
"pic_url": "https://t00img.yangkeduo.com/goods/images/2020-07-04/eb20cd65c1283ef4c29394f5ccb766b1.jpeg",
"price": 7.2,
"promotion_price": 7.2,
"sales": 100000,
"num_iid": 78848454933,
"sample_id": "",
"seller_nick": "博卡文化用品专营店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=78848454933"
},
{
"title": "A5大中小学生用学习用品笔记本10本子批发手账本帐本国誉文具礼物",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-01-22/a0f62f1d30c89f6c23eabc148b08bc5b.jpeg",
"price": 5.99,
"promotion_price": 5.99,
"sales": 100000,
"num_iid": 223706702133,
"sample_id": "",
"seller_nick": "乐学文具用品店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=223706702133"
},
{
"title": "牛皮纸车线本笔记本加厚简约本子B5初高中生用网格本横线英语文具",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-05-06/99292515a83103f39addc28fe7e054d2.jpeg",
"price": 10.8,
"promotion_price": 10.8,
"sales": 100000,
"num_iid": 333923364935,
"sample_id": "",
"seller_nick": "文具范范文具店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=333923364935"
},
{
"title": "A5上翻线圈本笔记本简约大学生考研文具网格本竖翻记事本A4横线本",
"pic_url": "https://t00img.yangkeduo.com/goods/images/2021-04-14/473e57469fd1b2ba54c33404e8f631ce.jpeg",
"price": 2.69,
"promotion_price": 2.69,
"sales": 100000,
"num_iid": 234775516854,
"sample_id": "",
"seller_nick": "顺泽文化用品专营店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=234775516854"
},
{
"title": "晨光活页本a4笔记本记事本可拆卸外壳替芯网格本b5英语本a5错题本",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-09-01/6e701c36855e67375eed9dcee37aa97e.jpeg",
"price": 9.89,
"promotion_price": 9.89,
"sales": 44000,
"num_iid": 220075734232,
"sample_id": "",
"seller_nick": "晨光菲凡专卖店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=220075734232"
},
{
"title": "晨光无线装订本A5/B5软面抄记事本子韩国小清新笔记本学生10本装",
"pic_url": "https://t00img.yangkeduo.com/goods/images/2019-09-10/9125a5bebf2a48cb1c8ee569e77351dc.jpeg",
"price": 12.8,
"promotion_price": 12.8,
"sales": 100000,
"num_iid": 43312529758,
"sample_id": "",
"seller_nick": "晨光晨品专卖店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=43312529758"
},
{
"title": "笔记本本子超厚大学生a5皮面商务记事本a4厚复古简约b5日记本批发",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-03-25/8dd359fdee5d404d4ccd4a30857be488.jpeg",
"price": 7.8,
"promotion_price": 7.8,
"sales": 81000,
"num_iid": 340572796678,
"sample_id": "",
"seller_nick": "萌小年文具旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=340572796678"
},
{
"title": "a5笔记本子超厚简约大学生日记本工作会议记录本商务笔记本批发",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-01-05/de45e7ea48bbf34938e34dcbfc6eb413.jpeg",
"price": 6.8,
"promotion_price": 6.8,
"sales": 100000,
"num_iid": 260365589648,
"sample_id": "",
"seller_nick": "萌小年文具旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=260365589648"
},
{
"title": "晨光线圈本笔记本加厚b5线圈本横线牛皮韩版A5记事本学生用日记本",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-07-14/8951cb76bd00170ecd31779cbec3f453.jpeg",
"price": 5.75,
"promotion_price": 5.75,
"sales": 99000,
"num_iid": 153058511587,
"sample_id": "",
"seller_nick": "晨光成都晨之光专卖店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=153058511587"
},
{
"title": "B5简约加厚牛皮横线本子A5学生笔记软面抄商务会议记录记事本",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-07-26/572f850104925448f634fb21cb65a971.jpeg",
"price": 2.9,
"promotion_price": 2.9,
"sales": 8769,
"num_iid": 394707350113,
"sample_id": "",
"seller_nick": "昕时光文化用品旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=394707350113"
},
{
"title": "a4空白加厚大号本子笔记本超厚记事本康奈尔软面logo定制B5日记本",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-08-16/b6c0b3a0c734ebe2f25d65c04541872f.jpeg",
"price": 7.86,
"promotion_price": 7.86,
"sales": 12000,
"num_iid": 275155824859,
"sample_id": "",
"seller_nick": "洁恋佳官方旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=275155824859"
},
{
"title": "牛皮纸笔记本加厚横线日记本 ins简约软面抄记事本大学生考研专用",
"pic_url": "https://img.pddpic.com/gaudit-image/2021-10-29/b257307b13d6532ee9c259bef1a5fda3.jpeg",
"price": 2.88,
"promotion_price": 2.88,
"sales": 58000,
"num_iid": 287734287915,
"sample_id": "",
"seller_nick": "都旖旎时光",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=287734287915"
},
{
"title": "康奈尔笔记本a4本子批发高颜值记事本横线网格超厚学生记忆法厚本",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-09-09/2a5115bd772f8028d444c4aa018d232e.jpeg",
"price": 9.87,
"promotion_price": 9.87,
"sales": 55000,
"num_iid": 304872050483,
"sample_id": "",
"seller_nick": "逸度旗舰店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=304872050483"
},
{
"title": "B5笔记本本子简约ins风学生车线本小清新大学生文艺精致笔记本子",
"pic_url": "https://img.pddpic.com/gaudit-image/2021-10-24/45c924a5f41502bdb9173e53e55c4e7b.jpeg",
"price": 2.9,
"promotion_price": 2.9,
"sales": 20000,
"num_iid": 292111035988,
"sample_id": "",
"seller_nick": "橙海文化用品专营店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=292111035988"
},
{
"title": "(本子文具按斤称)超值本子按斤卖胶套车线缝线线圈大小记事笔记",
"pic_url": "https://img.pddpic.com/gaudit-image/2021-11-17/afe61f11c145ad6c9b099158238fe4c3.jpeg",
"price": 7.58,
"promotion_price": 7.58,
"sales": 12000,
"num_iid": 301551257381,
"sample_id": "",
"seller_nick": "莱谷办公文具店",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=301551257381"
},
{
"title": "加厚简约线圈笔记本B5大号超厚网格本手账本网红本学生文具记事本",
"pic_url": "https://img.pddpic.com/gaudit-image/2022-08-09/1b94a7e5f4eaa931e2ca011520619e93.jpeg",
"price": 6.8,
"promotion_price": 6.8,
"sales": 100000,
"num_iid": 369601277451,
"sample_id": "",
"seller_nick": "久久好货AAAA",
"post_fee": "",
"area": "",
"detail_url": "http://yangkeduo.com/goods.html?goods_id=369601277451"
}
]
},
"error_code": "0000",
"reason": "ok",
"secache": "73c97fdc081b3c4e5e475fd97a997a5d",
"secache_time": 1665292702,
"secache_date": "2022-10-09 13:18:22",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"cache": 0,
"api_info": "today:60 max:10000 all[335=60+63+218];expires:2030-12-31",
"execution_time": "0.686",
"server_time": "Beijing/2022-10-09 13:18:22",
"client_ip": "106.6.32.64",
"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": "3.18MB",
"request_id": "gw-1.6342599d6765f",
"last_id": "1270824284"
}
标签:goods,url,yangkeduo,price,一键,详情,多多,com,id
From: https://blog.51cto.com/u_16182967/6918230