全部 GET

网易云歌单解析

网易云歌单解析接口(详细(一定要传入密钥要不然获取不了音乐详细

平均延时 200ms SLA 99.9% 近 30 天调用 18,850

接口说明

网易云歌单解析接口(详细(一定要传入密钥要不然获取不了音乐详细

请求地址

GET http://localhost:9080/api/v1/playlist
  • 鉴权头:X-API-Key: sk_live_xxx(兼容 ?xukey= 查询参数)
  • 网关入口:http://localhost:9080/api,路径 = api/ + 接口路径
  • 请求格式:application/json;响应统一为 {"code":0,"data":{...}}

请求参数

参数名 类型 必填 说明 示例
xxx String 选填
返回音乐音质 可选 standard是标准音质 exhigh是极高音质 lossless是无损音质 hires是Hires音质 sky是沉浸环绕声 jyeffect是高清环绕声 jymaster超清母带 默认是无损 string 选填
歌单id string 选填
请您务必把本站的另一个网易云音乐解析添加到您的项目中再添加调用密钥 否则将获取不了音乐详细 string 选填
默认json 空的直接url返回音乐 string 选填

调用示例

鉴权头 X-API-Key
curl "http://localhost:9080/api/v1/playlist?input=%E4%BD%A0%E5%A5%BD%EF%BC%8C%E6%98%9F%E9%93%BE+API" \
  -H "X-API-Key: sk_live_xxx"
const res = await fetch("http://localhost:9080/api/v1/playlist?input=%E4%BD%A0%E5%A5%BD%EF%BC%8C%E6%98%9F%E9%93%BE+API", {
  headers: { "X-API-Key": "sk_live_xxx" },
});
const data = await res.json();
console.log(data);
import requests

resp = requests.get(
    "http://localhost:9080/api/v1/playlist?input=%E4%BD%A0%E5%A5%BD%EF%BC%8C%E6%98%9F%E9%93%BE+API",
    headers={"X-API-Key": "sk_live_xxx"},
    timeout=30,
)
print(resp.json())

响应示例

200 OK · 示例数据
{
    "act": "playlist",
    "le": "jymaster",
    "id": "13073821088",
    "key": "",
    "t": "json"
}