2/friendships/followers/age group count

跳转到: 导航, 搜索

friendships/followers/age_group_count

获取当前用户粉丝的年龄段细分数据 。

URL

https://c.api.weibo.com/2/friendships/followers/age_group_count.json

支持格式

JSON

HTTP请求方式

GET

是否需要登录


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

访问授权限制


请求所有商业接口:

    • 50000次/小时/IP;

请求参数

  必选 类型及范围 说明
source false string 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。
access_token false string 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。

注意事项

  • 仅限蓝V用户,否则返回数据为空;
  • 接口返回示例中的八个年龄段的粉丝数;
  • 针对前一天的粉丝数据进行的分析;
  • 此接口返回的粉丝总数与实际的粉丝总数如果有不一致属于正常现象,是因为相差的粉丝的年龄不在此八个范围内;

返回结果

JSON示例

{
    "uid": 10438,
    "result": 
        {
            "total_count": "16",
            "ages": [
                {
                    "age": "0-17",
                    "count": "2"      
                },
                {
                    "age": "18-24",
                    "count": "2"      
                },
                {
                    "age": "25-29",
                    "count": "2"      
                },
                {
                    "age": "30-34",
                    "count": "2"      
                },
                {
                    "age": "35-39",
                    "count": "2"      
                },
                {
                    "age": "40-49",
                    "count": "2"      
                },
                {
                    "age": "50-59",
                    "count": "2"      
                },
                {
                    "age": "60-",    //大于等于60岁
                    "count": "2"      
                }
                
            ]
        }
    
}

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

字段说明

其他



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


api评价