比莉Music
接口信息
GET / POST
api.vsaa.cn/api/music/bili/index.php
Method
GET / POST
分类
迅捷如风
Calls
0
KEY
KEY 必填
计费
1 积分 / 次
QPM
120/MIN
鉴权方式
Query 参数、Header(X-API-Key)、Bearer Token
作者
请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| key | string | 是 | 接口调用密钥 | |
| action | string | 是 | 操作类型:search / musicInfo / musicSource / mvSource / lyric / albumInfo / artistWorks / importSheet / importItem / sheetInfo / topLists / topListDetail / comments / recommendTags / recommendSheets / detailPage / play / down | |
| id | string | 否 | 视频标识:BV号 / av号 / 数字ID(musicInfo、musicSource、mvSource、lyric、albumInfo、artistWorks、sheetInfo、comments 等用) | |
| keyword | string | 否 | 搜索关键词(action=search 时必填) | |
| page | integer | 否 | 页码,默认 1 | |
| type | string | 否 | 搜索类型:music / artist / sheet,默认 music | |
| quality | string | 否 | 音质:128k / 192k / 320k / flac / hires / dolby,默认 320k | |
| video_quality | string | 否 | 视频画质:360p / 480p / 720p / 1080p / 4k 等,默认 1080p(action=mvSource 用) | |
| url | string | 否 | 导入链接或播放地址(action=importSheet / importItem / play / down 用) | |
| cookie | string | 否 | Bilibili Cookie(SESSDATA 或完整 Cookie),登录后探测会员音质,可选 |
[
{
"name": "key",
"type": "string",
"required": true,
"description": "接口调用密钥",
"example": ""
},
{
"name": "action",
"type": "string",
"required": true,
"description": "操作类型:search / musicInfo / musicSource / mvSource / lyric / albumInfo / artistWorks / importSheet / importItem / sheetInfo / topLists / topListDetail / comments / recommendTags / recommendSheets / detailPage / play / down",
"example": ""
},
{
"name": "id",
"type": "string",
"required": false,
"description": "视频标识:BV号 / av号 / 数字ID(musicInfo、musicSource、mvSource、lyric、albumInfo、artistWorks、sheetInfo、comments 等用)",
"example": ""
},
{
"name": "keyword",
"type": "string",
"required": false,
"description": "搜索关键词(action=search 时必填)",
"example": ""
},
{
"name": "page",
"type": "integer",
"required": false,
"description": "页码,默认 1",
"example": ""
},
{
"name": "type",
"type": "string",
"required": false,
"description": "搜索类型:music / artist / sheet,默认 music",
"example": ""
},
{
"name": "quality",
"type": "string",
"required": false,
"description": "音质:128k / 192k / 320k / flac / hires / dolby,默认 320k",
"example": ""
},
{
"name": "video_quality",
"type": "string",
"required": false,
"description": "视频画质:360p / 480p / 720p / 1080p / 4k 等,默认 1080p(action=mvSource 用)",
"example": ""
},
{
"name": "url",
"type": "string",
"required": false,
"description": "导入链接或播放地址(action=importSheet / importItem / play / down 用)",
"example": ""
},
{
"name": "cookie",
"type": "string",
"required": false,
"description": "Bilibili Cookie(SESSDATA 或完整 Cookie),登录后探测会员音质,可选",
"example": ""
}
]
详细文档
暂无详细文档
快速上手
暂无代码示例。管理员可在后台用 AI 生成或手动编写。
在线测试
请求地址
api.vsaa.cn/api/music/bili/index.php
Method
参数
Response
等待中
// 结果将在此处显示