网易云随机歌曲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": "HEAVENLY JUMPSTYLE",
    "picurl": "http://p2.music.126.net/UG98FPIUefpxAML1bbiwdA==/109951172403250182.jpg",
    "artistsname": "HEAVENLY JUMPSTYLE",
    "avatarurl": "http://p1.music.126.net/_gRKgyXbXXNPoMJ3tLVC-A==/109951172518459315.jpg",
    "nickname": "小衰有点爱听歌",
    "content": "“洛基找到西蒙海耶用了8分35.51秒 而西蒙海耶只用了7.49秒就杀掉了洛基”",
    "timeStr": "2025-12-27",
    "likedCount": 1032,
    "id": 3315347594,
    "mp3url": "https://music.163.com/song/media/outer/url?id=3315347594.mp3",
    "duration": "01:54",
    "lyric": "[00:00.000] 作词 : John Kell\n[00:01.000] 作曲 : John Kell\n[00:15.123]Stay with me\n[00:16.987]Please don't leave\n[00:18.734]Say you need me,need me\n[00:20.467]Cause I can't breathe,can't breathe\n[00:22.526]Stay with me\n[00:24.276]Don't let go\n[00:26.010]If you leave me,leave me\n[00:28.269]I'll be alone,alone\n[00:29.954]Left with the light on,hoping you'd call\n[00:31.730]Talking to shadows on my wall\n[00:33.488]Told all my friends I'm doing fine\n[00:35.263]Truth is I'm broken all the time\n[00:37.339]Coffee goes cold,your name on my tongue\n[00:39.164]Evеry old love song sounds like us\n[00:40.913]Checkеd my phone,nothing from you\n[00:42.937]How did forever fade so soon?\n[00:45.881]If you don't love me—say it,say it\n[00:48.414]Stay with me…\n[00:54.315]Please don't leave\n[00:55.763]Say you need me,need me\n[00:57.606]Cause I can't breathe,can't breathe\n[00:59.384]Stay with me\n[01:01.227]Don't let go\n[01:02.943]If you leave me,leave me\n[01:05.136]I'll be alone,alone\n[01:06.867]Hangs by the door\n[01:08.091]Count the cracks across the floor\n[01:09.827]Every \"we'll talk\" turned into air\n[01:11.613]You were beside me—now you're not there\n[01:13.691]All of our plans in cardboard dreams\n[01:15.416]Packed in a box that no one sees\n[01:17.286]I play our nights back frame by frame\n[01:18.989]Searching for when you slipped away\n[01:21.581]Stay with me\n[01:23.353]Please don't leave\n[01:25.227]Say you need me,need me\n[01:26.987]Cause I can't breathe,can't breathe\n[01:28.827]Stay with me\n[01:30.588]Don't let go\n[01:32.695]If you leave me,leave me\n[01:34.662]I'll be alone,alone…\n",
    "tips": "会员歌曲无法播放"
}

错误码格式说明:

名称说明

调用示例: