C/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;
- 50000次/小时/IP;
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | false | string | 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。 |
access_token | false | string | 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。 |
注意事项
- 接口返回示例中的八个年龄段的粉丝数;
- 针对前一天的粉丝数据进行的分析;
- 此接口返回的粉丝总数与实际的粉丝总数如果有不一致属于正常现象,是因为相差的粉丝的年龄不在此八个范围内;
- 分析数据已排除对年龄设置不可见的粉丝;
返回结果
JSON示例
{ "uid": "10438", "result": { "total_count": "16", "ages": [ { "age": "0-17", "male_count": "2", "female_count": "2" }, { "age": "18-24", "male_count": "2", "female_count": "2" }, { "age": "25-29", "male_count": "2", "female_count": "2" }, { "age": "30-34", "male_count": "2", "female_count": "2" }, { "age": "35-39", "male_count": "2", "female_count": "2" }, { "age": "40-49", "male_count": "2", "female_count": "2" }, { "age": "50-59", "male_count": "2", "female_count": "2" }, { "age": "60-", "male_count": "2", "female_count": "2" } ] } }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
无
其他
无