x/web-interface/card(photo=true 写死在 URL 里)。data.card 是名片本体(昵称、头像、签名、等级、认证),边上另带 follower / archive_count / article_count / like_num 统计。无签名;要粉丝勋章、铭牌、VIP、live_room 这类更细的资料用 userSpaceInfo(那条走 wbi)。curl --location 'http://localhost:4567/api/bilibili/fetch_user_profile?host_mid=undefined'success 判别{
"success": true,
"data": {
"code": 0,
"data": {
"archive_count": 0,
"article_count": 0,
"card": {
"DisplayRank": "string",
"Official": {
"desc": "string",
"role": 0,
"title": "string",
"type": 0
},
"approve": true,
"article": 0,
"attention": 0,
"attentions": [
null
],
"birthday": "string",
"description": "string",
"face": "string",
"face_nft": 0,
"face_nft_type": 0,
"fans": 0,
"friend": 0,
"is_senior_member": 0,
"level_info": {
"current_exp": 0,
"current_level": 0,
"current_min": 0,
"next_exp": 0
},
"mid": "string",
"name": "string",
"name_render": null,
"nameplate": {
"condition": "string",
"image": "string",
"image_small": "string",
"level": "string",
"name": "string",
"nid": 0
},
"official_verify": {
"desc": "string",
"type": 0
},
"pendant": {
"expire": 0,
"image": "string",
"image_enhance": "string",
"image_enhance_frame": "string",
"n_pid": 0,
"name": "string",
"pid": 0
},
"place": "string",
"rank": "string",
"regtime": 0,
"sex": "string",
"sign": "string",
"spacesta": 0,
"vip": {
"avatar_icon": {
"icon_resource": {
"type": 0,
"url": "string"
},
"icon_type": 0
},
"avatar_subscript": 0,
"avatar_subscript_url": "string",
"due_date": 0,
"label": {
"bg_color": "string",
"bg_style": 0,
"border_color": "string",
"img_label_uri_hans": "string",
"img_label_uri_hans_static": "string",
"img_label_uri_hant": "string",
"img_label_uri_hant_static": "string",
"img_label_uri_i18n": "string",
"img_label_uri_i18n_static": "string",
"label_goto": {
"mobile": "string",
"pc_web": "string"
},
"label_id": 0,
"label_theme": "string",
"label_type": 0,
"path": "string",
"text": "string",
"text_color": "string",
"use_img_label": true
},
"nickname_color": "string",
"ott_info": {
"overdue_time": 0,
"pay_channel_id": "string",
"pay_type": 0,
"status": 0,
"vip_type": 0
},
"role": 0,
"status": 0,
"super_vip": {
"is_super_vip": true
},
"theme_type": 0,
"tv_due_date": 0,
"tv_vip_pay_type": 0,
"tv_vip_status": 0,
"type": 0,
"vipStatus": 0,
"vipType": 0,
"vip_pay_type": 0
}
},
"follower": 0,
"following": true,
"like_num": 0,
"space": {
"l_img": "string",
"s_img": "string"
}
},
"message": "string",
"ttl": 0
},
"message": "获取成功",
"meta": {
"requestId": "string",
"clientId": "string",
"platform": "douyin",
"endpoint": "string",
"durationMs": 0,
"attempts": 0,
"trace": [
{
"url": "string",
"method": "string",
"status": 0,
"durationMs": 0,
"reason": "initial",
"retryOf": "string"
}
]
},
"requestPath": "/api/bilibili/fetch_one_video?bvid=BV1xx"
}