网易云随机歌曲API
网易云随机歌曲API

接口地址: https://api.suyanw.cn/api/neran.php

返回格式: 请看返回示例

请求方式: GET

请求示例: https://api.suyanw.cn/api/neran.php?type=mp3

请求参数说明:

名称必填说明
type返回格式,默认text可选xml/mp3
hh换行符号(默认\n)

系统级错误:

名称说明
400请求错误!
403请求被服务器拒绝!
405客户端请求的方法被禁止!
408请求时间过长!
500服务器内部出现错误!
501服务器不支持请求的功能,无法完成请求!
503系统维护中!

返回示例:

{
    "name": "We Don't Talk Anymore (Mr. Collipark Remix)",
    "picurl": "http://p2.music.126.net/ZnSOe-J4MEfPj1J5ocEtwQ==/109951163983943030.jpg",
    "artistsname": "We Don't Talk Anymore (Mr. Collipark Remix)",
    "avatarurl": "http://p2.music.126.net/aBPpkxG4mF9S2TyOBacqvw==/109951173120264023.jpg",
    "nickname": "我们早就该滚出彼此的世界",
    "content": "这个赞好高级,居然是尼克狐尼克🌚",
    "timeStr": "01-02",
    "likedCount": 9508,
    "id": 420478436,
    "mp3url": "https://music.163.com/song/media/outer/url?id=420478436.mp3",
    "duration": "04:14",
    "lyric": "[00:00.00] 作词 : Jacob Kasher/Charlie Puth/Hindlin/Selena Gomez\n[00:01.00] 作曲 : Jacob Kasher/Charlie Puth/Hindlin/Selena Gomez\n[00:02.00] 编曲 : Mr. Collipark\n[00:03.00] 制作人 : Mr. Collipark\n[00:17.70]We don't talk anymore\n[00:20.00]We don't talk anymore\n[00:22.40]We don't talk anymore\n[00:24.29]Like we used to do\n[00:27.29]We don't love anymore\n[00:30.17]What was all of it for\n[00:31.80]Oh we don't talk anymore\n[00:34.16]Like we used to do\n[00:36.85]I just heard you found the one you've been lookin'\n[00:40.65]You've been lookin' for\n[00:43.22]I wish I would have known that wasn't me\n[00:46.81]Cuz even after all this time I still wonder\n[00:50.36]Why I can't move on\n[00:52.85]Just the way you did so easily\n[00:56.59]Don't wanna know\n[00:58.69]What kinda dress you're wearin' tonight\n[01:01.27]If he's holdin' onto you so tight\n[01:03.54]The way I did before\n[01:06.41]I overdosed\n[01:08.35]Should've known your love was a game\n[01:10.73]Now I can't get you out of my brain\n[01:12.89]Oh it's such a shame\n[01:15.57]We don't talk anymore\n[01:18.10]We don't talk anymore\n[01:20.33]We don't talk anymore\n[01:22.10]Like we used to do\n[01:25.26]We don't love anymore\n[01:27.70]What was all of it for\n[01:29.64]Oh we don't talk anymore\n[01:31.80]Like we used to do\n[01:43.20]Like we used to do\n[01:53.93]I just hope you're lyin' next to somebody\n[01:57.21]Who knows how to love you like me\n[01:59.94]There must be a good reason that you're gone\n[02:03.47]Every now and then I think you\n[02:06.98]Might want me to come show up at your door\n[02:09.88]But I'm just too afraid that I'll be wrong\n[02:13.97]Don't wanna know\n[02:15.61]If you're lookin' into her eyes\n[02:17.94]If she's holdin' onto you so tight the way I did before\n[02:23.00]I overdosed\n[02:25.00]Should've known your love was a game\n[02:27.42]Now I can't get you out of my brain\n[02:29.84]Oh it's such a shame\n[02:32.54]We don't talk anymore\n[02:34.77]We don't talk anymore\n[02:37.21]We don't talk anymore\n[02:38.86]Like we used to do\n[02:42.50]We don't love anymore\n[02:44.41]What was all of it for\n[02:46.52]Oh we don't talk anymore\n[02:48.44]Like we used to do\n[03:00.74]Like we used to do\n[03:11.48]Don't wanna know\n[03:13.50]What kinda dress you're wearin' tonight\n[03:15.26]If he's givin' it to you just right\n[03:17.72]The way I did before\n[03:20.54]I overdosed\n[03:22.73]Should've known your love was a game\n[03:25.70]Now I can't get you out of my brain\n[03:27.42]Oh it's such a shame\n[03:30.90]We don't talk anymore\n[03:32.42]We don't talk anymore\n[03:34.78]We don't talk anymore\n[03:36.45]Like we used to do\n[03:39.59]We don't love anymore\n[03:42.10]What was all of it for\n[03:44.13]Oh we don't talk anymore\n[03:46.17]Like we used to do\n[03:49.00]We don't talk anymore\n[03:51.66]What kinda dress you're wearin' tonight\n[03:53.50]Oh If he's holdin' onto you so tight\n[03:55.50]Oh The way I did before\n[03:58.86]We don't talk anymore(I overdosed)\n[04:01.30]Should've known your love was a game\n[04:03.00]Oh Now I can't get you out of my brain\n[04:05.00]Woah\n[04:05.70]Oh it's such a shame\n[04:08.50]We don't talk anymore\n",
    "tips": "会员歌曲无法播放"
}

错误码格式说明:

名称说明

调用示例: