C/2/search/hotword/mention count-en
(以“{{Api_desc_business_en| uri=search/hotword/mention_count| desc=Return daily variation trend of other users’ behaviors data.| httpMethod=GET| needAuth=true| rateLim...”为内容创建页面) |
|||
第1行: | 第1行: | ||
− | {{ | + | {{Api_desc_business| |
uri=search/hotword/mention_count| | uri=search/hotword/mention_count| | ||
− | desc=Return | + | desc=Return the mention counts of a specific keyword.| |
httpMethod=GET| | httpMethod=GET| | ||
− | needAuth= | + | needAuth=是| |
− | rateLimit={{ | + | rateLimit={{B_rate_limit}}| |
− | params={{api_args| | + | 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": "car", |
"result": [ | "result": [ | ||
{ | { | ||
− | " | + | "day":"2012-07-03", |
− | " | + | "mention_count": "121" |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}, | }, | ||
... | ... | ||
] | ] | ||
+ | |||
} | } | ||
</pre>| | </pre>| | ||
− | resultDes= | + | resultDes=无| |
− | useAge=* | + | useAge=*Some keywords may not be counted.| |
− | + | otherInfo=无 | |
− | + | ||
− | + | ||
− | otherInfo= | + | |
}}{{#a:showgrade}} | }}{{#a:showgrade}} |
2017年12月29日 (五) 16:28的版本
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" }, ... ] }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
无
其他
无