C/2/friendships/followers/age group count-en

跳转到: 导航, 搜索

friendships/followers/age_group_count

获取授权用户粉丝的年龄段细分数据 。

URL

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

Supported Formats

JSON

HTTP Request Method

GET

Requires Login

true
See the Login and Authorization Mechanism Statement for login and authorization details.

Requests Count Limitation


Request all APIs:

    • 50000/hour/IP;

Request Parameters

  Requires Type and Range Description
source false string This parameter is not needed when using OAuth.The value of this parameter is the AppKey.
access_token false string This parameter is required when using OAuth.You will get the access_token after oauth authorization.

Notes

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

Response

JSON Example

{
    "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"      
                }
                
            ]
        }
    
}

See the Error Code Description for the error information details.

Field Description

none

Others

none

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


文档更新时间: 2015-08-13