C/2/users/behavior trend/biz

跳转到: 导航, 搜索

users/behavior_trend/biz

获取他人用户行为数据每日变化趋势。

URL

https://c.api.weibo.com/2/users/behavior_trend/biz.json

支持格式

JSON

HTTP请求方式

GET

是否需要登录


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

访问授权限制


请求所有商业接口:

    • 50000次/小时/IP;

请求参数

  必选 类型及范围 说明
source false string 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。
access_token false string 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。
uid true int64 需要查询的用户ID。
starttime true string 开始时间,格式为XXXX-XX-XX。
endtime true string 结束时间,格式为XXXX-XX-XX。

注意事项

  • 起始日期与终止日期可以相同;
  • 返回的微博数、转发数、被转发数、评论数、被评论数是当天产生的数量,其他数值为到当天的历史积累的数量;

返回结果

JSON示例

{
    "errno":1,"msg":"\u6210\u529f","code":"B00001",
    "result": [
        {
            "day_key": "2011-12-12",
            "followers_count": "63",   //粉丝数
            "v_followers_count": "18", //V粉丝数
            "daren_followers_count": "18", //达人粉丝数
            "friends_count": "58",    //关注数
            "v_friends_count": "58",  //V关注数
            "receive_comments_count": "53150",  //被评论数
            "statuses_count": "258",   //微博数
            "bi_followers_count": "18",  //互粉数
            "repost_count": "115", //转发数
            "reposted_count": "111055"  //被转发数
            "comments_count": "178"  //评论数         
        },
        ...
    ]
}

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

字段说明

其他



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


文档更新时间: 2021-08-09
api评价