Music Data Service
私人使用,有防盗链.因为内置了自己的音乐VIP账户,确保账户安全。
如需引用,请发邮件 youngyet@126.com
| PARAM | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|---|---|---|---|---|
| server | string | no | tencent | 音乐平台: netease | tencent |
| type | string | no | playlist | 请求类型 (见下方支持矩阵) |
| id | string | no | 7326220405 | 资源ID (歌单/歌曲/歌手/搜索关键词) |
| TYPE | DESCRIPTION | NETEASE | TENCENT |
|---|---|---|---|
| song | 单曲信息 | [+] | [+] |
| playlist | 歌单 | [+] | [+] |
| artist | 歌手歌曲 | [+] | [-] |
| search | 搜索 | [+] | [-] |
| url | 播放链接 | [+] | [+] |
| lrc | 歌词 | [+] | [+] |
| pic | 封面图片 | [+] | [+] |
https://meting.sponsor.help/api?server=netease&type=playlist&id=6907557348
[
{
"name": "歌曲名称",
"artist": "歌手名",
"url": "https://example.com/api?server=netease&type=url&id=xxx",
"pic": "https://example.com/api?server=netease&type=pic&id=xxx",
"lrc": "https://example.com/api?server=netease&type=lrc&id=xxx",
"id": "473403185"
}
]
HTTP/1.1 302 Found Location: https://music.example.com/song.mp3
[00:00.00] 作词 : 某某 [00:01.00] 作曲 : 某某 [00:10.50]第一行歌词 [00:15.30]第二行歌词
HTTP/1.1 302 Found Location: https://img.example.com/cover.jpg
| CODE | DESCRIPTION | EXAMPLE |
|---|---|---|
| 400 | 参数不合法 (server 或 type 不在支持范围) | {"status":400,"message":"server 参数不合法","param":{"server":"xxx","type":"song","id":"123"}} |
| 403 | 无法获取播放链接 (Cookie 无效或资源不可用) | {"error":"no url"} |