C/2/search/trends/statistic

跳转到: 导航, 搜索

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 结束日期。

注意事项

  • 话题星级由阅读次数,讨论次数以及原创人数3个单项组成,3项占比依次为30%,30%,40%;单项分值计算方法为区间计分,3个单项分值加权计算后生成话题星级,话题星级范围为0-10。

返回结果

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}}}|中文]]


文档更新时间: 2021-11-18
api评价