网易云随机歌曲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": "The Way I Still Love You",
    "picurl": "http://p1.music.126.net/JyPsd_g00M-4mqXLLtHncw==/5984641790343690.jpg",
    "artistsname": "Reynard Silva",
    "avatarurl": "http://p2.music.126.net/SUeqMM8HOIpHv9Nhl9qt9w==/109951165647004069.jpg",
    "nickname": "账号已注销",
    "content": "我之前也有抑郁症。但看到治疗的药物高达两万。瞬间好了",
    "timeStr": "2020-06-06",
    "likedCount": 33161,
    "id": 28718313,
    "mp3url": "https://music.163.com/song/media/outer/url?id=28718313.mp3",
    "duration": "03:48",
    "lyric": "[00:00.000] 作词 : Roderick Kerr/Reynard Silva\n[00:01.000] 作曲 : Roderick Kerr/Reynard Silva\n[00:22.430]Not a single day goes by\n[00:25.050]show me what is through my mind\n[00:27.580]I know it's over but I can‘t deny\n[00:30.020]I'm still missing you (I'm still missing you)\n[00:33.000]And I'm torn cause I'm hella frustrated\n[00:35.950]I know we have something special baby\n[00:38.370]But now the fact is you’re gone for good\n[00:40.920]And I don't know what to do\n[00:43.600]I try to stay occupied\n[00:46.210]I try to put it all aside\n[00:48.950]I try and try and try and try\n[00:52.040]Still it's no use\n[00:54.540]Don't know what's going on with me\n[00:57.150]But all I know it's haunting me\n[00:59.770]I need your love to set me free\n[01:02.719]Listen to me\n[01:06.180]Do you still think about me baby,baby\n[01:11.849]Cause you’re on my mind and it’s driving me crazy, crazy\n[01:17.220]Are you finally over me\n[01:19.650]You can tell me the truth\n[01:22.670]Or do you still love me\n[01:24.819]The way that I still love you\n[01:28.730]Just the other day I've seen you\n[01:31.349]We caught up for a little while\n[01:33.750]You told me you were doing just fine\n[01:35.739]Well it was good to see you smile\n[01:39.550]Memories running through my head\n[01:42.140]Feelings coming back, oh yeah\n[01:45.450]Yeah it hurts again\n[01:47.349]You're happy with someone else\n[01:50.050]I try to stay  occupied\n[01:52.450]I try to put it all aside\n[01:55.220]I try and try and try and try\n[01:58.310]Still it's no use\n[02:00.750]Don't know what's going on with me\n[02:03.469]But all I know it's haunting me\n[02:06.239]I need your love to set me free\n[02:09.150]Listen to me oh baby\n[02:12.789]Do you still think about me baby,baby\n[02:17.849]Cause you’re on my mind and it’s driving me crazy, crazy\n[02:23.569]Are you finally over me\n[02:25.720]You can tell me the truth\n[02:28.830]Or do you still love me\n[02:30.939]The way that I still love you\n[02:34.330]Oh I know\n[02:36.680]That I let love slip away\n[02:42.000]And I'm going insane all because I want you back\n[02:47.560]I need you back\n[02:49.919]This is the biggest regret\n[02:52.449]I'll ever have to face oh yeah\n[02:56.410]Do you still think about me baby ,baby(do you still love me?)\n[03:02.460]Cause you’re on my mind and it’s driving me crazy, crazy\n[03:07.819]Are you finally over me\n[03:09.849]You can tell me the truth\n[03:13.030]Or do you still love me\n[03:15.509]The way that I still love you (the way that I still love you)?\n",
    "tips": "会员歌曲无法播放"
}

错误码格式说明:

名称说明
无

调用示例:

无