当前位置:网站首页>拼多多获得搜索词推荐 API
拼多多获得搜索词推荐 API
2022-07-26 20:45:00 【分享干货的猫】
item_search_suggest-获得搜索词推荐 注册开通
onebound.pinduoduo.item_search_suggest
公共参数
请求地址: https://api-gw.onebound.cn/pinduoduo/item_search_suggest
| 名称 | 类型 | 必须 | 描述 |
|---|---|---|---|
| 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=女装
参数说明:q:搜索关键字
响应参数
Version: Date:
| 名称 | 类型 | 必须 | 示例值 | 描述 |
|---|---|---|---|---|
items | items[] | 0 | 获得搜索词推荐 | |
keyword | Mix | 0 | 女装 | 搜索词 |
result | Mix | 0 | ["女装2019新款潮"] | 推荐搜索词列表 |
请求示例
-- 请求示例 url 默认请求参数已经URL编码处理 curl -i "https://api-gw.onebound.cn/pinduoduo/item_search_suggest/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=女装"
响应示例
{
"items": {
"keyword": "女装",
"result": [
[
"女装2021新款潮"
],
[
"女装摩托车"
],
[
"女装三件套洋气"
],
[
"女装卫衣春秋"
],
[
"女装套装"
],
[
"女装春装"
],
[
"女装小个子"
],
[
"女装2021新款外套"
],
[
"女装衬衫长袖洋气"
],
[
"女装羽绒服外套长款"
],
[
"女装t恤新款时尚"
],
[
"女装内裤"
],
[
"女装上衣"
],
[
"女装春秋装"
],
[
"女装衣服外套"
],
[
"女装羽绒服"
],
[
"女装睡衣"
],
[
"女装运动套装"
],
[
"女装卫衣"
],
[
"女装马甲外套"
]
]
},
"secache": "11d2656d59b74f2c8ea26f48e8a00827",
"secache_time": 1615362713,
"secache_date": "2021-03-10 15:51:53",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:31 max:10000",
"execution_time": 0.098,
"server_time": "Beijing/2021-03-10 15:51:53",
"client_ip": "106.6.35.144",
"call_args": {
"q": "女装"
},
"api_type": "pinduoduo",
"translate_language": "zh-CN",
"translate_engine": "baidu",
"server_memory": "2.85MB",
"request_id": "gw-1.60487a996c711"
}异常示例
{
"error": "item-not-found",
"reason": "商品没找到",
"error_code": "2000",
"success": 0,
"cache": 0,
"api_info": "today:0 max:10000",
"execution_time": 0.081,
"server_time": "Beijing/2020-06-10 23:44:00",
"call_args": [],
"api_type": "taobao",
"request_id": "15ee0ffc041242"}边栏推荐
- encodeURI VS encodeURIComponent
- HTTP cache browser cache that rabbits can understand
- 【HCIA安全】NAT网络地址转换
- A unified label space for entity relationship extraction
- 通过单击表头对表进行排序
- 制作一个可调整大小的元素
- DeepFake捏脸真假难辨,汤姆·克鲁斯比本人还像本人!
- < button> and < input type=button />
- LeetCode 练习——剑指 Offer II 005. 单词长度的最大乘积
- [HCIA security] NAT network address translation
猜你喜欢

About: get the domain controller of the current client login

Alkbh1

Difference between redis hash and string

Devsecops, speed and security

1-《PyTorch深度学习实践》-线性模型

What are the characteristics of low code tools? The two development tracks of low code that can be seen by discerning people!

IT系统为什么需要可观测性?

如何在一个项目中使用多种不同的语言?

2022 open atom global open source summit agenda express | list of sub forum agenda on July 27

安全浏览器“隐身”模式可以查看历史记录吗?
随机推荐
We were tossed all night by a Kong performance bug
牛客多校-Journey-(建图distra+卡常优化)
IT系统为什么需要可观测性?
TCP的粘包拆包问题解决方案
word-break: break-all VS word-wrap: break-word
【HCIE安全】双机热备-主备备份
在上传之前预览图像
[HCIA security] user authentication
Broadcast voice H5 speechsynthesisutterance
Modify excel default code
7、 Wechat applet running error: error: illegal appid, invalid appid
js中join方法
How to use multiple languages in a project?
Number() VS parseInt()
Flash source code outline
平滑滚动到元素
Preview image before uploading
About: get the domain controller of the current client login
Flextronics responded to the "seizure of Huawei materials" incident: deeply regretted, looking forward to continuing cooperation!
SPI配置