C/2/search/trends/statistic
search/trends/statistic
话题基础信息查询。
URL
https://c.api.weibo.com/2/search/trends/statistic.json
支持格式
JSON
HTTP请求方式
GET
是否需要登录
是
关于登录授权,参见 如何登录授权
访问授权限制
请求所有商业接口:
- 50000次/小时/IP;
- 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星。 |
其他
无