网易云音乐榜单
获取网易云音乐实时榜单数据,支持多个榜单类型。

接口地址: https://api.qlwc.cn/api/netease_music

返回格式: JSON

请求方式: GET

请求示例: https://api.qlwc.cn/api/netease_music?msg=飙升榜 调用测试

请求参数说明:

参数名称 是否必填 参数类型 接口说明 接口测试
msg 飙升榜 支持以下值:
飙升榜、新歌榜、热歌榜、原创榜、抖音榜、说唱榜、电音榜、国风榜、欧美榜、韩语榜、日语榜、听歌识曲榜、全球电子舞曲榜
调用测试

返回参数说明:

参数名称 参数类型 接口说明

返回示例:

{
    "code": 200,
    "msg": "获取成功",
    "total_desc": "共100首歌",
    "data": {
        "ranking_name": "飙升榜",
        "total": 100,
        "songs": [
            {
                "index": 1,
                "id": "歌曲ID",
                "name": "歌曲名称",
                "url": "歌曲链接",
                "mp3url": "MP3链接",
                "artists": [
                    {
                        "id": "歌手ID",
                        "name": "歌手名称",
                        "url": "歌手链接"
                    }
                ],
                "album": {
                    "id": "专辑ID",
                    "name": "专辑名称",
                    "url": "专辑链接",
                    "picUrl": "专辑封面"
                },
                "duration": "时长(毫秒)",
                "duration_formatted": "时长(分:秒)",
                "popularity": "热度值",
                "popularity_desc": "热度描述",
                "details": {
                    "comment_count": "评论数",
                    "comment_count_formatted": "格式化评论数",
                    "play_count": "播放量",
                    "play_count_formatted": "格式化播放量",
                    "publish_time": "发布时间",
                    "copyright": "版权信息",
                    "fee": "收费类型",
                    "fee_desc": "收费描述"
                }
            }
        ]
    }
}

参数名称 参数值 操作


{
    "code": 200,
    "msg": "获取成功",
    "total_desc": "共100首歌",
    "data": {
        "ranking_name": "飙升榜",
        "total": 100,
        "songs": [
            {
                "index": 1,
                "id": "歌曲ID",
                "name": "歌曲名称",
                "url": "歌曲链接",
                "mp3url": "MP3链接",
                "artists": [
                    {
                        "id": "歌手ID",
                        "name": "歌手名称",
                        "url": "歌手链接"
                    }
                ],
                "album": {
                    "id": "专辑ID",
                    "name": "专辑名称",
                    "url": "专辑链接",
                    "picUrl": "专辑封面"
                },
                "duration": "时长(毫秒)",
                "duration_formatted": "时长(分:秒)",
                "popularity": "热度值",
                "popularity_desc": "热度描述",
                "details": {
                    "comment_count": "评论数",
                    "comment_count_formatted": "格式化评论数",
                    "play_count": "播放量",
                    "play_count_formatted": "格式化播放量",
                    "publish_time": "发布时间",
                    "copyright": "版权信息",
                    "fee": "收费类型",
                    "fee_desc": "收费描述"
                }
            }
        ]
    }
}

错误码格式说明:

名称 类型 说明
200 string 请求成功
400 string 参数错误,如榜单名称不正确
500 string 服务器错误,如API请求失败

代码示例:

https://api.qlwc.cn/api/netease_music?msg=飙升榜