查询直播间刷礼物用户
# 查询直播间刷礼物用户
**简要描述**:
**请求URL**
- {APIURL}/dy/live/get_room_ranklist
**请求方式**
- POST
**请求头Headers**
- Content-Type:multipart/form-data
- Access-Token:login接口返回
**参数**
|参数名|必选|类型|说明
|-|-|-|-|
|wcid|是|string|会话ID
|sec_anchor_id|否|string|可选 最好加上
|room_id|是|string|直播间id
**请求参数示例**
```
{
"room_id": "7107858435835808546",
"sec_anchor_id": "MS4wLjABAAAAd7M5_hVqarquigSl3t-Kuw-e8_ehsovZvmKmfXvyg8KyjWTPZZFQo-K5BtkA8_zZ",
"wcid": "xzzz"
}
```
**成功返回示例**
```
{
"code": 0,
"data": {
"data": {
"currency": "",
"has_more": false,
"has_once_live": true,
"invisible_total": 0,
"music_wave": "",
"ranks": [
{
"delta": 0,
"exactly_score": "",
"first_gift": false,
"gap_description": "",
"is_hidden": false,
"rank": 1,
"score": 1,
"score_description": "",
"user": {
"adversary_authorization_info": 0,
"adversary_user_status": 0,
"age_range": 0,
"allow_be_located": false,
"allow_find_by_contacts": false,
"allow_others_download_video": false,
"allow_others_download_when_sharing_video": false,
"allow_share_show_profile": false,
"allow_show_in_gossip": false,
"allow_show_my_action": false,
"allow_strange_comment": false,
"allow_unfollower_comment": false,
"allow_use_linkmic": false,
"authorization_info": 3,
"avatar_thumb": {
"avg_color": "",
"flex_setting_list": [],
"height": 0,
"image_type": 0,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_ed50969752737a93287300798ddc78ad",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_ed50969752737a93287300798ddc78ad.jpeg?from=4010531038",
"https://p6.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_ed50969752737a93287300798ddc78ad.jpeg?from=4010531038",
"https://p9.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_ed50969752737a93287300798ddc78ad.jpeg?from=4010531038"
],
"width": 0
},
"badge_image_list": [],
"badge_image_list_v2": [
{
"avg_color": "",
"flex_setting_list": [],
"height": 16,
"image_type": 3,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast_admin_badge.png",
"url_list": [
"http://p9-webcast.douyinpic.com/img/webcast/webcast_admin_badge.png~tplv-obj.image",
"http://p3-webcast.douyinpic.com/img/webcast/webcast_admin_badge.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/webcast_admin_badge.png~tplv-obj.image"
],
"width": 16
},
{
"avg_color": "",
"flex_setting_list": [],
"height": 16,
"image_type": 1,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/user_grade_level_v5_60.png",
"url_list": [
"http://p9-webcast.douyinpic.com/img/webcast/user_grade_level_v5_60.png~tplv-obj.image",
"http://p3-webcast.douyinpic.com/img/webcast/user_grade_level_v5_60.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/user_grade_level_v5_60.png~tplv-obj.image"
],
"width": 32
},
{
"avg_color": "",
"content": {
"alternative_text": "",
"font_color": "#FFFFFF",
"level": 19,
"name": "金刚爱"
},
"flex_setting_list": [],
"height": 0,
"image_type": 7,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/ranklist_fansclub_super_badge_19.png",
"url_list": [
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.png~tplv-obj.image",
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.png~tplv-obj.image"
],
"width": 0
},
{
"avg_color": "",
"content": {
"alternative_text": "",
"font_color": "#FFFFFF",
"level": 19,
"name": "金刚爱"
},
"flex_setting_list": [],
"height": 0,
"image_type": 50,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/ranklist_subscribe_super_badge_19.png",
"url_list": [
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.png~tplv-obj.image",
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.png~tplv-obj.image"
],
"width": 0
},
{
"avg_color": "",
"content": {
"alternative_text": "",
"font_color": "#FFFFFF",
"level": 19,
"name": "金刚爱"
},
"flex_setting_list": [
{
"setting_list": [
0,
0,
62,
18
]
}
],
"height": 0,
"image_type": 51,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [
{
"setting_list": [
0,
0,
62,
18
]
}
],
"uri": "webcast/ranklist_fansclub_super_badge_19.9.png",
"url_list": [
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.9.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.9.png~tplv-obj.image",
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.9.png~tplv-obj.image"
],
"width": 0
},
{
"avg_color": "",
"content": {
"alternative_text": "",
"font_color": "#FFFFFF",
"level": 19,
"name": "金刚爱"
},
"flex_setting_list": [],
"height": 0,
"image_type": 52,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/ranklist_subscribe_super_badge_19.9.png",
"url_list": [
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.9.png~tplv-obj.image",
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.9.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.9.png~tplv-obj.image"
],
"width": 0
}
],
"bg_img_url": "",
"birthday": 0,
"birthday_description": "",
"birthday_valid": false,
"block_status": 0,
"city": "",
"comment_restrict": 0,
"commerce_webcast_config_ids": [],
"constellation": "",
"create_time": 0,
"desensitized_nickname": "",
"disable_ichat": 0,
"display_id": "jingangweiyihao",
"enable_ichat_img": 0,
"exp": 0,
"experience": 0,
"fan_ticket_count": 0,
"fans_club": {
"data": {
"anchor_id": 4416096245649518,
"available_gift_ids": [],
"badge": {
"icons": {
"2": {
"avg_color": "",
"flex_setting_list": [],
"height": 0,
"image_type": 0,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/ranklist_fansclub_super_badge_19.png",
"url_list": [
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.png~tplv-obj.image",
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.png~tplv-obj.image"
],
"width": 0
},
"3": {
"avg_color": "",
"flex_setting_list": [],
"height": 0,
"image_type": 0,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/ranklist_subscribe_super_badge_19.png",
"url_list": [
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.png~tplv-obj.image",
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.png~tplv-obj.image"
],
"width": 0
},
"4": {
"avg_color": "",
"flex_setting_list": [
{
"setting_list": [
0,
0,
62,
18
]
}
],
"height": 0,
"image_type": 0,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [
{
"setting_list": [
0,
0,
62,
18
]
}
],
"uri": "webcast/ranklist_fansclub_super_badge_19.9.png",
"url_list": [
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.9.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.9.png~tplv-obj.image",
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_19.9.png~tplv-obj.image"
],
"width": 0
},
"5": {
"avg_color": "",
"flex_setting_list": [
{
"setting_list": [
0,
0,
48,
30
]
}
],
"height": 0,
"image_type": 0,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [
{
"setting_list": [
0,
0,
48,
30
]
}
],
"uri": "webcast/ranklist_subscribe_super_badge_19.9.png",
"url_list": [
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.9.png~tplv-obj.image",
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.9.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_19.9.png~tplv-obj.image"
],
"width": 0
}
},
"title": "金刚爱"
},
"badge_type": 0,
"club_name": "金刚爱",
"level": 19,
"user_fans_club_status": 1
},
"prefer_data": {}
},
"fold_stranger_chat": false,
"follow_info": {
"follow_status": 0,
"follower_count": 0,
"following_count": 0,
"push_status": 0,
"remark_name": ""
},
"follow_status": 0,
"gender": 0,
"hotsoon_verified": false,
"hotsoon_verified_reason": "",
"ichat_restrict_type": 0,
"id": 3060694528041645,
"id_str": "3060694528041645",
"income_share_percent": 0,
"is_anonymous": false,
"is_follower": false,
"is_following": false,
"j_accredit_info": {
"JAccreditAdvance": 0,
"JAccreditBasic": 0,
"JAccreditContent": 0,
"JAccreditLive": 0
},
"level": 0,
"link_mic_stats": 0,
"location_city": "",
"media_badge_image_list": [],
"modify_time": 0,
"mystery_man": 1,
"need_profile_guide": false,
"new_real_time_icons": [],
"nickname": "金刚",
"pay_grade": {
"grade_banner": "",
"grade_describe": "",
"grade_icon_list": [],
"level": 60,
"name": "",
"new_im_icon_with_level": {
"avg_color": "",
"flex_setting_list": [],
"height": 16,
"image_type": 1,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/user_grade_level_v5_60.png",
"url_list": [
"http://p9-webcast.douyinpic.com/img/webcast/user_grade_level_v5_60.png~tplv-obj.image",
"http://p3-webcast.douyinpic.com/img/webcast/user_grade_level_v5_60.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/user_grade_level_v5_60.png~tplv-obj.image"
],
"width": 32
},
"new_live_icon": {
"avg_color": "",
"flex_setting_list": [],
"height": 12,
"image_type": 1,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/aweme_pay_grade_2x_45_49.png",
"url_list": [
"http://p3-webcast.douyinpic.com/img/webcast/aweme_pay_grade_2x_45_49.png~tplv-obj.image",
"http://p9-webcast.douyinpic.com/img/webcast/aweme_pay_grade_2x_45_49.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/aweme_pay_grade_2x_45_49.png~tplv-obj.image"
],
"width": 12
},
"next_diamond": 0,
"next_name": "",
"next_privileges": "",
"now_diamond": 0,
"pay_diamond_bak": 0,
"score": 0,
"screen_chat_type": 0,
"this_grade_max_diamond": 0,
"this_grade_min_diamond": 200000000,
"total_diamond_count": 0,
"upgrade_need_consume": 0
},
"pay_score": 0,
"pay_scores": 0,
"push_comment_status": false,
"push_digg": false,
"push_follow": false,
"push_friend_action": false,
"push_ichat": false,
"push_status": false,
"push_video_post": false,
"push_video_recommend": false,
"real_time_icons": [],
"remark_name": "",
"sec_uid": "MS4wLjABAAAAlPRMzALszegKwy8ERdKM29_zeJjSs5JerhMf8kdEO7ubIU3P-1_kXZPRLZ7Tfjhc",
"secret": 0,
"share_qrcode_uri": "",
"short_id": 4019207318,
"signature": "",
"special_id": "",
"status": 0,
"telephone": "",
"ticket_count": 0,
"top_fans": [],
"top_vip_no": 0,
"total_recharge_diamond_count": 0,
"user_role": 0,
"verified": false,
"verified_content": "",
"verified_mobile": false,
"verified_reason": "",
"watch_duration_month": 0,
"web_rid": "",
"with_car_management_permission": false,
"with_commerce_permission": false,
"with_fusion_shop_entry": false
}
},
{
"delta": 348752,
"exactly_score": "",
"first_gift": false,
"gap_description": "",
"is_hidden": false,
"rank": 2,
"score": 1,
"score_description": "",
"user": {
"adversary_authorization_info": 0,
"adversary_user_status": 0,
"age_range": 0,
"allow_be_located": false,
"allow_find_by_contacts": false,
"allow_others_download_video": false,
"allow_others_download_when_sharing_video": false,
"allow_share_show_profile": false,
"allow_show_in_gossip": false,
"allow_show_my_action": false,
"allow_strange_comment": false,
"allow_unfollower_comment": false,
"allow_use_linkmic": false,
"authorization_info": 3,
"avatar_thumb": {
"avg_color": "",
"flex_setting_list": [],
"height": 0,
"image_type": 0,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_242bb9ae75ee31dd9d6385d33828f1aa",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_242bb9ae75ee31dd9d6385d33828f1aa.jpeg?from=4010531038",
"https://p6.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_242bb9ae75ee31dd9d6385d33828f1aa.jpeg?from=4010531038",
"https://p9.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_242bb9ae75ee31dd9d6385d33828f1aa.jpeg?from=4010531038"
],
"width": 0
},
"badge_image_list": [],
"badge_image_list_v2": [
{
"avg_color": "",
"flex_setting_list": [],
"height": 16,
"image_type": 1,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/user_grade_level_v5_50.png",
"url_list": [
"http://p3-webcast.douyinpic.com/img/webcast/user_grade_level_v5_50.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/user_grade_level_v5_50.png~tplv-obj.image",
"http://p9-webcast.douyinpic.com/img/webcast/user_grade_level_v5_50.png~tplv-obj.image"
],
"width": 32
},
{
"avg_color": "",
"content": {
"alternative_text": "",
"font_color": "#FFFFFF",
"level": 16,
"name": "金刚爱"
},
"flex_setting_list": [],
"height": 0,
"image_type": 7,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/ranklist_fansclub_super_badge_16.png",
"url_list": [
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_16.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_16.png~tplv-obj.image",
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_16.png~tplv-obj.image"
],
"width": 0
},
{
"avg_color": "",
"content": {
"alternative_text": "",
"font_color": "#FFFFFF",
"level": 16,
"name": "金刚爱"
},
"flex_setting_list": [],
"height": 0,
"image_type": 50,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [],
"uri": "webcast/ranklist_subscribe_super_badge_16.png",
"url_list": [
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_16.png~tplv-obj.image",
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_16.png~tplv-obj.image",
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_subscribe_super_badge_16.png~tplv-obj.image"
],
"width": 0
},
{
"avg_color": "",
"content": {
"alternative_text": "",
"font_color": "#FFFFFF",
"level": 16,
"name": "金刚爱"
},
"flex_setting_list": [
{
"setting_list": [
0,
0,
62,
18
]
}
],
"height": 0,
"image_type": 51,
"is_animated": false,
"open_web_url": "",
"text_setting_list": [
{
"setting_list": [
0,
0,
62,
18
]
}
],
"uri": "webcast/ranklist_fansclub_super_badge_16.9.png",
"url_list": [
"http://p6-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_16.9.png~tplv-obj.image",
"http://p3-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_16.9.png~tplv-obj.image",
"http://p9-webcast.douyinpic.com/img/webcast/ranklist_fansclub_super_badge_16.9.png~tplv-obj.image"
],
"width": 0
},
{
```
**错误返回示例**
```
{
"msg": "失败",
"code": -1,
"data": null
}
```
**返回数据**:
|参数名|类型|说明|
|-|-|-|
|code|string|0成功,-1失败|
|msg|string|反馈信息|
|data|