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个中间版本)
第6行: 第6行:
 
rateLimit={{B_rate_limit}}|
 
rateLimit={{B_rate_limit}}|
 
params={{api_args|q|true|string|搜索的热词。必须进行URLencode。}}
 
params={{api_args|q|true|string|搜索的热词。必须进行URLencode。}}
{{api_args|starttime|true|string|开始时间,格式为XXXX-XX-XX。}}
+
{{api_args|starttime|true|string|开始时间,格式为XXXX-XX-XX。 }}
 
{{api_args|endtime|true|string|结束时间,格式为XXXX-XX-XX。}}|
 
{{api_args|endtime|true|string|结束时间,格式为XXXX-XX-XX。}}|
 
result=
 
result=
 
<pre>
 
<pre>
 
{
 
{
     "hotword": "汽车",
+
     "hotword": "car",
 
     "result": [
 
     "result": [
 
         {
 
         {
第24行: 第24行:
 
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;

请求参数

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

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

字段说明

其他



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


文档更新时间: 2017-12-29
api评价