名称 | 必填 | 类型 | 说明 |
---|---|---|---|
type | txt | 必填 | 歌曲来源,可为qq、kg、kw、wy、qqmv、kgmv |
msg | txt | 必填 | 歌曲名称/歌手 |
n | txt | 选择时填 | 歌曲序号[一般建议选1] |
{ "code": 200, "msg": "请求成功", "data": { "pic": "https://y.qq.com/music/photo_new/T002R300x300M000002Neh8l0uciQZ_1.jpg", "song": "稻香", "singer": "周杰伦", "url": "http://isure.stream.qqmusic.qq.com/C4000020wJDo3cx0j3.m4a?guid=2518061647&vkey=5CF79785F6526A77DF1223FC1ABEBABD7A78D395407B4F06BD97779852E02FA4CB5F8F63AB6C507D50F0B2DCBD783C746B990BDE49300573&uin=1828222534&fromtag=123032", "info": { "request": { "state": "c657c221b67cece09b8ef061e61c48e0", "request_id": "64b4ba750f165", "method": "GET", "api_id": "1", "api_action": "UserInfo", "api_title": "音乐聚合", "api_name": "聚合当下热门音乐平台,拥有QQ、酷狗、网易、酷我音乐,QQ、酷狗MV,其中QQ音乐VIP歌曲可免费听。", "query": { "type": "qq", "msg": "稻香", "n": "1" }, "cdn_node": "当前请求由阿里云CDN加速" }, "developer": { "author": "笒鬼鬼", "home": "https://www.cenguigui.cn", "mail": "cengugiui@qq.com", "notice": "交流Q群 695288151", "time": "2023-07-17 11:50:13" } } } }
title: msg、n、type,msg为必填值,即歌曲名或mv名;n为数字,无n参数时返回列表,有n时返回n所代表的内容;type为数据来源,type为必填值,可为qq、kg、kw、wy、qqmv、kgmv,qq音乐可免费听付费歌曲 示例: https://api.cenguigui.cn/api/juhe/api.php?type=qq&msg=稻香&n=1 提示: qq的mv视乎很多都解析不了,建议用kg的mv 示例mv: https://api.cenguigui.cn/api/juhe/api.php?type=kgmv&msg=稻香&n=1
赞助一下