网易云音乐无损解析
网易云音乐无损解析,支持搜索、获取歌曲信息、播放链接、歌词音质等级: standard(标准), exhigh(极高), lossless(无损), hires(Hi-Res), jyeffect(高清环绕声), sky(沉浸环绕声), jymaster(超清母带)
/api/gateway.php?api_path=wy_music
∞
每日限额
5/s
QPS限制
请求地址
GET /api/gateway.php?api_path=wy_music
鉴权方式
使用你的 AppKey 进行鉴权,任选以下一种方式:
| 方式 | 说明 | 示例 |
|---|---|---|
| Header | 请求头 X-App-Key |
-H "X-App-Key: ak_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
| URL参数 | URL参数 app_key |
?api_path=xxx&app_key=ak_xxx |
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
action |
string | 必填 | 操作类型: song(单曲所有信息), search(搜索), album(专辑), playlist(歌单) |
id |
int | 可选 | 歌曲ID/专辑ID/歌单ID,action为song/album/playlist时必填 |
keyword |
string | 可选 | 搜索关键词,action为search时必填 |
level |
string | 可选 | 音质级别: standard, exhigh, lossless, hires, jyeffect, sky, jymaster,默认lossless |
limit |
int | 可选 | 搜索返回数量,默认20,仅search有效 |
offset |
int | 可选 | 搜索偏移量,默认0,仅search有效 |
cURL 调用示例
curl "https://your-domain.com/api/gateway.php?api_path=wy_music" \ -H "X-App-Key: ak_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"