Music搜索解析接口文档

目前支持:kw/kg/wy/qq/mg

说明:搜索,歌单,歌曲

请求地址:https://api.nxbox.top/?wy&name=邓紫棋&page=1&limlt=1

请求方法:GET/POST

请求参数:

参数名称 参数类型 是否必填 默认值 参数描述
搜索参数
name string 短剧名
page string 下一页,默认1
limlt string 返回数量,默认20
wy调用示例:https://api.nxbox.top/?wy&name=邓紫棋&page=1&limlt=1
qq调用示例:https://api.nxbox.top/?qq&name=邓紫棋&page=1&limlt=1
kg调用示例:https://api.nxbox.top/?kg&name=邓紫棋&page=1&limlt=1
kw调用示例:https://api.nxbox.top/?kw&name=邓紫棋&page=1&limlt=1
mg调用示例:https://api.nxbox.top/?mg&name=邓紫棋&page=1&limlt=1
推荐歌单参数
name string 精选/最热
page string 页数
limit int 30 列表显示歌曲的数量
调用示例:https://api.nxbox.top/rcmlist.php?name=最热&page=1&limit=100
歌单参数
id string 歌单id
page string 页数
limit int 非必填 30 列表显示歌曲的数量
wy调用示例:https://api.nxbox.top/wylist.php?id=13073225087&limit=30
qq调用示例(只能返回全部歌曲):https://api.nxbox.top/qqlist.php?id=7789509669&limit=30
kw调用示例:https://api.nxbox.top/kwlist.php?id=3528940505&page=1&limit=30
mg调用示例:https://api.nxbox.top/mglist.php?id=225068708&page=1&limit=30
kg得酷狗码调用示例:https://api.nxbox.top/kglist.php?id=3528940505&page=1&limit=30
kg得歌单id调用示例:https://api.nxbox.top/kglist.php?id=collection_3_1059050263_2_0&page=1&limit=30
kg得概念版分享链接调用示例:https://api.nxbox.top/kglist.php?id=https://t1.kugou.com/cvD73c2CRV2&page=1&limit=30
歌曲参数
id int 获取歌曲
type json/mp3 直接返回链接 获取歌曲
wy示例
json示例:https://api.nxbox.top/wy.php?id=1397345903&type=json
直接跳转mp3示例:https://api.nxbox.top/wy.php?id=139734590&type=mp3
直接跳转封面图片示例:https://api.nxbox.top/wy.php?id=139734590&type=pic


kw示例

同理调用小黄
json示例:https://api.nxbox.top/kw.php?id=79531914&type=json
直接跳转mp3示例:https://api.nxbox.top/kw.php?id=79531914&type=mp3
直接跳转封面图片示例:https://api.nxbox.top/kw.php?id=79531914&type=pic


qq示例

同理调用小绿
json示例:https://api.nxbox.top/qqandkw.php?id=0001oIjs0YFIf7&type=json
直接跳转mp3示例:https://api.nxbox.top/qqandkw.php?id=0001oIjs0YFIf7&type=mp3
直接跳转封面图片示例:https://api.nxbox.top/qqandkw.php?id=0001oIjs0YFIf7&type=pic


mg示例

同理调用小粉
json示例:https://api.nxbox.top/mg.php?id=1140192289&type=json
直接跳转mp3示例:https://api.nxbox.top/mg.php?id=1140192289&type=mp3
直接跳转封面图片示例:https://api.nxbox.top/mg.php?id=1140192289&type=pic


kg示例

同理调用小蓝
json示例:https://api.nxbox.top/kgandkw.php?id=666484E904A54B1E62C9FBFDBE6E2563&type=json
直接跳转mp3示例:https://api.nxbox.top/kgandkw.php?id666484E904A54B1E62C9FBFDBE6E2563&type=mp3
直接跳转封面图片示例:https://api.nxbox.top/kgandkw.php?id666484E904A54B1E62C9FBFDBE6E2563&type=pic
#响应:

响应数据类型:JSON

响应结果名称 响应结果类型 响应结果描述
code int 解析状态码
title string 提示信息
type string 解析类型
data json 具体解析数据,详细字段请看响应示例