今天看到百度开源了一款HTML5音乐播放器插件,就用它做了一个播放器,用到了音乐网站的api接口。我这里分享一下,以备以后使用!
酷狗音乐接口
VIP接口:http://trackercdn.kugou.com/i/?cmd=4&hash={$Hash}&key={$md5($hash . "kgcloud")}&pid=1&forceDown=0&vip=1
安卓接口:http://trackercdn.kugou.com/i/v2/?appid=1005&pid=2&cmd=25&key={$md5($hash . "kgcloud")}&hash={$Hash}&version=7472&behavior=play&with_res_tag=1
酷狗视频接口
http://static.kgimg.com/common/swf/video/videoPlayer.swf?skinurl=http://static.kgimg.com/common/swf/video/skin.swf&aspect=true&url={Mp4或Flv类型的Url}&autoplay=true&fullscreen=true&initfun=flashinit
网易视频接口
http://s1.music.126.NET/style/swf/MVPlayer.swf?murl={Mp4或Flv类型的Url}&autoPlay=true
SongTaste接口
http://www.songtaste.com/api/Android/songurl.PHP?songid={$SongId}
http://songtaste.com/play.php?song_id={$SongId}
电信爱音乐接口
www.118100.cn/v5/action/secweborder/v3/songsdata.do?it=1&songId={$SongId} 取ququAddr处代码用Base64解码
联通音乐接口
http://www.10155.com/player/playContentId.do?songIds={$SongId}
http://www.10155.com/player/playSongInfos.do?contentIds={$contentIds}_{$SongId}_not_not_not_not_not
酷狗51Sing接口
http://mobileapi.5sing.kugou.com/song/transcoding?songid=$SongId}&songtype={$SongType}
http://5sing.kugou.com/m/detail/{$SongType}-{$SongId}-1.html
酷我音乐接口
http://antiserver.kuwo.cn/anti.s?format={$SongType}%7Cmp3&rid=MUSIC_{$SongId}&response=url&type=convert_url
http://player.kuwo.cn/webmusic/st/getNewMuiseByRid?rid=MUSIC_{$SongId}
网易云音乐接口
http://music.163.com/api/song/detail/?id={$SongId}&ids=%5B{$SongId}%5D&csrf_token=
百度音乐接口
①:http://music.baidu.com/data/music/fmlink?songIds={$SongId}&type={$SongType}
②:http://music.baidu.com/data/music/fmlink?songIds={$SongId}&type={$SongType}&rate={$Rate}
百度音乐接口
①:http://ting.baidu.com/data/music/links?songIds={$SongId}&type={$SongType}
②:http://ting.baidu.com/data/music/links?songIds={$SongId}&type={$SongType}&rate={$Rate}
咪咕音乐接口
http://music.migu.cn/webfront/player/findsong.do?itemid={$SongId}&type=song
搜狗音乐
http://mp3.sogou.com/tiny/song?query=getlyric&json=1&tid={$Tid}
Echo回声音乐
http://echosystem.kibey.com/sound/info?sound_id={$SongId}
QQ音乐接口
http://s.plcloud.music.qq.com/fcgi-bin/fcg_yqq_song_detail_info.fcg?songmid={$SongMid}
http://tsmusic24.tc.QQ.com/{$SongId}.mp3
http:/ /stream.QQmusic.tc.qq.com/{$SongId}.mp3
http://tsmusic128.tc.qq.com/{$SongId+30000000}.mp3 (请计算出结果)
http://tsmusic128.tc.qq.com/{$SongId+40000000}.ogg (请计算出结果)
http://tsmusic24.tc.qq.com/{$SongId}.m4a
http://thirdparty.gtimg.com/{$SongId}.m4a?fromtag=38
http://thirdparty.gtimg.com/C100{$SongId}.m4a?fromtag=38
: » 音乐网站接口大全
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/tech/aiops/252502.html