C/2/search/hotword/mention count
第1行: | 第1行: | ||
{{Api_desc_business| | {{Api_desc_business| | ||
uri=search/hotword/mention_count| | uri=search/hotword/mention_count| | ||
− | desc= | + | desc=搜索热词提及数。| |
httpMethod=GET| | httpMethod=GET| | ||
needAuth=是| | needAuth=是| | ||
rateLimit={{B_rate_limit}}| | rateLimit={{B_rate_limit}}| | ||
− | params={{api_args|q|true|string| | + | params={{api_args|q|true|string|搜索的热词。必须进行URLencode。}} |
− | {{api_args|starttime|true|string| | + | {{api_args|starttime|true|string|开始时间,格式为XXXX-XX-XX。 }} |
− | {{api_args|endtime|true|string| | + | {{api_args|endtime|true|string|结束时间,格式为XXXX-XX-XX。}}| |
result= | result= | ||
<pre> | <pre> | ||
第23行: | 第23行: | ||
</pre>| | </pre>| | ||
resultDes=无| | resultDes=无| | ||
− | useAge=* | + | useAge=*对于非常专业的词,返回的结果可能为空; |
+ | *新产生的热词可能只返回近一个月的数据。| | ||
otherInfo=无 | otherInfo=无 | ||
}}{{#a:showgrade}} | }}{{#a:showgrade}} |
2017年12月29日 (五) 16:33的最后版本
search/hotword/mention_count
搜索热词提及数。
URL
https://c.api.weibo.com/2/search/hotword/mention_count.json
支持格式
JSON
HTTP请求方式
GET
是否需要登录
是
关于登录授权,参见 如何登录授权
访问授权限制
请求所有商业接口:
- 50000次/小时/IP;
- 50000次/小时/IP;
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | false | string | 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。 |
access_token | false | string | 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。 |
q | true | string | 搜索的热词。必须进行URLencode。 |
starttime | true | string | 开始时间,格式为XXXX-XX-XX。 |
endtime | true | string | 结束时间,格式为XXXX-XX-XX。 |
注意事项
- 对于非常专业的词,返回的结果可能为空;
- 新产生的热词可能只返回近一个月的数据。
返回结果
JSON示例
{ "hotword": "car", "result": [ { "day":"2012-07-03", "mention_count": "121" }, ... ] }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
无
其他
无
文档更新时间: 2017-12-29