C/2/search/hotword/mention count-en

跳转到: 导航, 搜索
 
第1行: 第1行:
{{Api_desc_business|
+
{{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={{B_rate_limit}}|
+
rateLimit={{B_rate_limit_en}}|
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>
第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;

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

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


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