C/2/search/trends/statistic

跳转到: 导航, 搜索
(以“{{Api_desc_business_B| uri=search/trends/statistic| desc=话题基础信息查询。| httpMethod=GET| needAuth=是| rateLimit={{B_rate_limit}}| params= {{api_args|to...”为内容创建页面)
 
第1行: 第1行:
 
{{Api_desc_business_B|
 
{{Api_desc_business_B|
 
uri=search/trends/statistic|
 
uri=search/trends/statistic|
desc=话题基础信息查询。|
+
desc=话题近90天的趋势统计。|
 
httpMethod=GET|
 
httpMethod=GET|
 
needAuth=是|
 
needAuth=是|

2021年10月13日 (三) 15:22的版本

search/trends/statistic

话题近90天的趋势统计。

URL

https://c.api.weibo.com/2/search/trends/statistic.json

支持格式

JSON

HTTP请求方式

GET

是否需要登录


关于登录授权,参见 如何登录授权

访问授权限制


请求所有商业接口:

    • 50000次/小时/IP;

请求参数

  必选 类型及范围 说明
source false string 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。
access_token false string 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。
topicid true string 查询的话题的id。
startDate true string 起始日期。
endDate true string 结束日期。

注意事项

返回结果

JSON示例

{
"errno":1,
"msg":"\u6210\u529f",
"code":"B00001",
"topic_id":"1022:23152200028a9f1f68f2727697095a0ab52dfe",
	"result":[
	    {
		"day_key":"20210731",
		"read_cnt":"15276.0",
		"mention_cnt":"0.0",
		"original_num":"0",
		"topic_star":""4.15""},
		{
		"day_key":"20210801",
		"read_cnt":"-",
		"mention_cnt":"-",
		"original_num":"-",
		"topic_star":"-"},
		{
		"day_key":"20210802",
		"read_cnt":"-",
		"mention_cnt":"-",
		"original_num":"-",
		"topic_star":"-"},
		{
		"day_key":"20210803",
		"read_cnt":"-",
		"mention_cnt":"-",
		"original_num":"-",
		"topic_star":"-"}
		]}

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

字段说明

返回值字段 字段类型 字段说明
day_key string 当前日期。
read_cnt string 当天阅读次数。
mention_cnt string 当天讨论次数。
original_num string 当天原创人数。
topic_star int 当前话题评定的星级,0-10星。

其他



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


api评价