Bbili-open-mcpMCP
★

获取单视频数据

GET#36api ARC_DATA
https://member.bilibili.com/arcopen/fn/data/arc/stat

开放能力 / 数据开放服务 / 视频数据

调用该接口可获取单个稿件维度数据,包括转赞评、收藏、分享等数据 授权用户包括该稿件的作者、联合投稿人

url 参数

名称类型必填说明
resource_idstring是稿件唯一ID

响应字段

名称类型必填说明
titlestring是标题
ptimeint是发布时间
viewint是播放数
danmakuint是弹幕数
replyint是评论数
favoriteint是收藏数
coinint是投币数
shareint是分享数
likeint是点赞数

调用方式

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

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

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

官方请求示例

bash
curl --location --request GET 'https://member.bilibili.com/arcopen/fn/data/arc/stat?resource_id=BV1MW421X7gM' \
--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'

原始文档:036_获取单视频数据.md(2432 字节)。用 bili_docs_get { "ref": "36" } 读全文,或用 bili_api_spec { "ref": "36" } 取结构化规格。