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_en|
+
{{Api_desc_business|
 
uri=search/hotword/mention_count|
 
uri=search/hotword/mention_count|
desc=Return daily variation trend of other users’ behaviors data.|
+
desc=Return the mention counts of a specific keyword.|
 
httpMethod=GET|
 
httpMethod=GET|
needAuth=true|
+
needAuth=|
rateLimit={{B_rate_limit_en}}|
+
rateLimit={{B_rate_limit}}|
params={{api_args|uid|true|int64|The ID of searched users.}}
+
params={{api_args|q|true|string|The keyword that needs to be searched.}}
{{api_args|starttime|true|string|Start time for searching. The format of the start time is xxxx-xx-xx.}}
+
{{api_args|starttime|true|string|format:XXXX-XX-XX. }}
{{api_args|endtime|true|string|End time for searching. The format of the end time is xxxx-xx-xx.}}|
+
{{api_args|endtime|true|string|format:XXXX-XX-XX.}}|
 
result=
 
result=
 
<pre>
 
<pre>
 
{
 
{
     "errno":1,"msg":"\u6210\u529f","code":"B00001",
+
     "hotword": "car",
 
     "result": [
 
     "result": [
 
         {
 
         {
             "day_key": "2011-12-12",
+
             "day":"2012-07-03",
             "followers_count": "63",  //number of followers
+
             "mention_count": "121"
            "v_followers_count": "18", //number of verified followers
+
            "daren_followers_count": "18", //number of master followers
+
            "friends_count": "58",    //number of followings
+
            "v_friends_count": "58",  //number of verified followings
+
            "receive_comments_count": "53150",  //number of received comments
+
            "statuses_count": "258",  //number of posts
+
            "bi_followers_count": "18",  //number of bi-followers
+
            "repost_count": "115", //number of reposts times
+
            "reposted_count": "111055"  //number of reposted times
+
            "comments_count": "178"  //number of comments       
+
 
         },
 
         },
 
         ...
 
         ...
 
     ]
 
     ]
 +
   
 
}
 
}
 
</pre>|
 
</pre>|
resultDes=none|
+
resultDes=|
useAge=*Support up to 90 days' data,
+
useAge=*Some keywords may not be counted.|
*Start date and end date could be the same day,
+
otherInfo=
*Only for blue V users, returns null for other types users,
+
*Returned numbers of posts, reposts, reposted, comments and commented are only for today, other numbers are historical accumulative till today.|
+
otherInfo=none
+
 
}}{{#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;

请求参数

  必选 类型及范围 说明
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评价