C/2/videos/demographics/biz-en
videos/demographics/biz
get the demographics (including interest tag, age, gender, horoscope and district) of the audience of an authorized video.
URL
https://c.api.weibo.com/2/videos/demographics/biz.json
Supported Formats
JSON
HTTP Request Method
GET
Login Requirement
true
See Login and Authorization for details.
Authorized Access Limitation
Request for all the business API:
- 50000 times per hour per IP;
- 50000 times per hour per IP;
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth, and is required when using other authorization methods. The value of this parameter is AppKey. |
access_token | false | string | This parameter is required when using OAuth, and is not needed when using other authorization methods. You will get the access_token after obtaining OAuth. |
oid | true | string | object id that needs to be searched |
property | true | string | search condition. tag:interest;astro:horoscope ;age:age and gender; district:district. |
Notes
- Only calculate the data of a video since it is published within 7 days.
Response
JSON Example
//interest,return the first ten tags. { oid: "2017607:0ba63227ed8b1009eade05f9e0b86956", result: { 媒体: "104748|40.48", ///number of audience of a specific tag/ ratio of a specific tag 搞笑: "113734|43.95", 影视: "115356|44.58", 游戏: "47393|18.31", 美食: "48722|18.83", 美女: "65906|25.47", 互联网: "80234|31.01", 购物: "81804|31.61", 体育: "119834|46.31", 音乐: "92864|35.89" } } //horoscope { oid: "2017607:0ba63227ed8b1009eade05f9e0b86956", total: "61678", astro: { 天蝎座: "3697", 射手座: "3300", 金牛座: "2890", 天秤座: "3895", 白羊座: "2818", 处女座: "3431", 未知: "21130", 摩羯座: "4526", 狮子座: "3461", 水瓶座: "3321", 双子座: "3114", 巨蟹座: "2983", 双鱼座: "3112" } } //age and gender { oid: "2017607:0ba63227ed8b1009eade05f9e0b86956", result: { total_count: "16", ages:{ 1: "5963|3709", //0-17 //number of male users|number of female users 2: "55201|31636", //18-24 3: "28689|23958", //25-29 4: "7286|5800", //30-34 5: "2240|1333", //35-39 6: "2685|1208", //40-49 7: "306|167", //50-59 8: "304|117", //60+ 9: "51190|36688" //unknown } } } //district { oid: "2017607:0ba63227ed8b1009eade05f9e0b86956", result: { total: "16", //total number of video audience district: { 11:"232", /district code: number of audience 12:"221", ... 400:"234" } } }
Please see Error Code Description for details of error information.
Field Description
None
Others
None