酷我音乐官方播放/解析Api接口分享 |
您所在的位置:网站首页 › 酷我音乐免费版本大全 › 酷我音乐官方播放/解析Api接口分享 |
接口:https://antiserver.kuwo.cn/anti.s?type=convert_url3&rid=填写音乐ID&format=mp3 示例:https://antiserver.kuwo.cn/anti.s?type=convert_url3&rid=215257&format=mp3 示例这个音乐ID是反方向的钟,返回值的URL就是在线播放地址。 2、获取音乐MV的接口(只有有MV的才可以)接口:https://antiserver.kuwo.cn/anti.s?type=convert_url3&rid=填写音乐ID&format=mp4 示例:https://antiserver.kuwo.cn/anti.s?type=convert_url3&rid=215257&format=mp4 示例这个音乐ID是反方向的钟,返回值的URL就是在线播放地址。 3、获取音乐下载的接口,也可以用刚刚的MP3接口右键下载,这个是直接调用下载(付费音乐也可以获取完整版)接口:https://antiserver.kuwo.cn/anti.s?type=convert_url3&rid=填写音乐ID&format=wma 示例:https://antiserver.kuwo.cn/anti.s?type=convert_url3&rid=215257&format=wma 示例这个音乐ID是反方向的钟,返回值的URL就是下载地址。 4,获取歌词的接口(有时候可以获取到,有时候获取不到)接口:https://www.kuwo.cn/newh5/singles/songinfoandlrc?musicId=填写音乐ID 示例:https://www.kuwo.cn/newh5/singles/songinfoandlrc?musicId=215257 5、音乐信息获取接口(付费音乐也可以获取完整版)接口:http://search.kuwo.cn/r.s?all=需要搜索的歌曲或歌手&ft=music& itemset=web_2013&client=kt&pn=cha询的页码数&rn=当前页的返回数量&rformat=json&encoding=utf8 示例:http://search.kuwo.cn/r.s?all=周杰伦&ft=music& itemset=web_2013&client=kt&pn=0&rn=5&rformat=json&encoding=utf8 这个搜索的是周杰伦,上面返回的json可以得到歌曲名,歌手,歌曲ID,专辑,歌曲图片。 6、歌曲下载 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |