Bbili-open-mcpMCP
★

获取直播间详细信息

POST#42api LIVE_ROOM_DATA
https://member.bilibili.com/arcopen/fn/live/room/detail

开放能力 / 直播能力

查询直播间详细

响应字段

名称类型必填说明
anchor_infoobject否主播信息对象
anchor_info.facestring否主播头像URL
anchor_info.namestring否主播名称
anchor_info.open_idstring否主播唯一标识
areaobject否直播间所属分区信息
area.area_id_namestring否分区名称(如:英雄联盟)
showobject否直播间展示信息
show.coverstring否直播间封面URL
show.descstring否直播间描述
show.key_framestring否直播间关键帧
show.live_start_timeint否直播开始时间
show.room_idint否直播间ID
show.titlestring否直播间标题
statusobject否直播间状态信息
status.live_screen_typeint否直播画面类型 1:横屏 2:竖屏
status.live_statusint否直播状态

调用方式

javascript
// 让 AI 直接调(需要开放平台凭据)
bili_api_call { "ref": "42", "query": {…}, "body": {…} }

// 只看将要发出的请求(不需要凭据)
bili_api_call { "ref": "42", "dryRun": true }

// 生成完整调用代码
bili_codegen { "ref": "42", "lang": "python" }

官方请求示例

bash
curl --location --request POST 'https://member.bilibili.com/arcopen/fn/live/room/detail' \
--header 'Accept: application/json' \
--header 'Access-Token: a24e56a0fc0093668bca0f3a15410ea2' \
--header 'Authorization: 950a03adb287904a93bcffd7e4abf57a4c2ef0608bf1f95f3bcb2c278ae532be' \
--header 'X-Bili-Accesskeyid: 93a0f774fae84e6c' \
--header 'X-Bili-Content-Md5: d41d8cd98f00b204e9800998ecf8427e' \
--header 'X-Bili-Signature-Method: HMAC-SHA256' \
--header 'X-Bili-Signature-Nonce: 1730185575446751000' \
--header 'X-Bili-Signature-Version: 2.0' \
--header 'X-Bili-Timestamp: 1730185575' \
--header 'Content-Type: application/json' \
--header 'Host: member.bilibili.com' \
--header 'Connection: keep-alive'

原始文档:042_获取直播间详细信息.md(3421 字节)。用 bili_docs_get { "ref": "42" } 读全文,或用 bili_api_spec { "ref": "42" } 取结构化规格。