C/2/search/hotword/mention count-en
第1行: | 第1行: | ||
− | {{ | + | {{Api_desc_business_en| |
uri=search/hotword/mention_count| | uri=search/hotword/mention_count| | ||
− | desc= | + | desc=Get the mention count of a specific keyword.| |
httpMethod=GET| | httpMethod=GET| | ||
− | needAuth= | + | needAuth=true| |
− | rateLimit={{ | + | rateLimit={{B_rate_limit_en}}| |
− | 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> | ||
第22行: | 第22行: | ||
} | } | ||
</pre>| | </pre>| | ||
− | resultDes= | + | resultDes=none| |
− | useAge=* | + | useAge=*Some keywords may not be counted.| |
− | + | otherInfo=none | |
− | otherInfo= | + | |
}}{{#a:showgrade}} | }}{{#a:showgrade}} |
2017年12月29日 (五) 16:46的最后版本
search/hotword/mention_count
Get the mention count of a specific keyword.
URL
https://c.api.weibo.com/2/search/hotword/mention_count.json
Supported Formats
JSON
HTTP Request Method
GET
Requires Login
true
See the Login and Authorization Mechanism Statement for login and authorization details.
Requests Count Limitation
Request all APIs:
- 50000/hour/IP;
- 50000/hour/IP;
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth.The value of this parameter is the AppKey. |
access_token | false | string | This parameter is required when using OAuth.You will get the access_token after oauth authorization. |
q | true | string | The keyword that needs to be searched. |
starttime | true | string | format:XXXX-XX-XX. |
endtime | true | string | format:XXXX-XX-XX. |
Notes
- Some keywords may not be counted.
Response
JSON Example
{ "hotword": "car", "result": [ { "day":"2012-07-03", "mention_count": "121" }, ... ] }
See the Error Code Description for the error information details.
Field Description
none
Others
none
文档更新时间: 2017-12-29