C/2/search/hotword/mention count
(以“{{Api_desc_business| uri=search/hotword/mention_count| desc=搜索热词提及数。| httpMethod=GET| needAuth=是| rateLimit={{B_rate_limit}}| params={{api_args|q|t...”为内容创建页面) |
|||
第1行: | 第1行: | ||
{{Api_desc_business| | {{Api_desc_business| | ||
uri=search/hotword/mention_count| | uri=search/hotword/mention_count| | ||
− | desc= | + | desc=Return the mention counts of a specific keyword.| |
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|The keyword that needs to be searched.}} |
− | {{api_args|starttime|true|string| | + | {{api_args|starttime|true|string|format:XXXX-XX-XX. }} |
− | {{api_args|endtime|true|string| | + | {{api_args|endtime|true|string|format:XXXX-XX-XX.}}| |
result= | result= | ||
<pre> | <pre> | ||
{ | { | ||
− | "hotword": " | + | "hotword": "car", |
"result": [ | "result": [ | ||
{ | { | ||
第23行: | 第23行: | ||
</pre>| | </pre>| | ||
resultDes=无| | resultDes=无| | ||
− | useAge=* | + | useAge=*Some keywords may not be counted.| |
− | + | ||
otherInfo=无 | otherInfo=无 | ||
}}{{#a:showgrade}} | }}{{#a:showgrade}} |
2017年12月29日 (五) 16:27的版本
search/hotword/mention_count
Return the mention counts of a specific keyword.
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 | The keyword that needs to be searched. |
starttime | true | string | format:XXXX-XX-XX. |
endtime | true | string | format:XXXX-XX-XX. |
注意事项
- Some keywords may not be counted.
返回结果
JSON示例
{ "hotword": "car", "result": [ { "day":"2012-07-03", "mention_count": "121" }, ... ] }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
无
其他
无