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|搜索的热词。必须进行URLencode。}}
+
params={{api_args|q|true|string|The keyword that needs to be searched.}}
{{api_args|starttime|true|string|开始时间,格式为XXXX-XX-XX。}}
+
{{api_args|starttime|true|string|format:XXXX-XX-XX. }}
{{api_args|endtime|true|string|结束时间,格式为XXXX-XX-XX。}}|
+
{{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;

请求参数

  必选 类型及范围 说明
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"
        },
        ...
    ]
    
}

关于错误返回值与错误代码,参见 错误代码说明

字段说明

其他



Language: [[{{{2/uri}}}|中文]]


api评价