# 解析酷狗API请求方式 #
Method: GET
# 请求地址 #
http://api.4dn.net/kugou/index.php
# 参数 #
hash=E07BD2F1F1F6E5F589B9ACE1A4FCF46C&album_id=52779593 要查询音乐hash(必填)
type=down 直连下载(自由)
# 返回数据 #
{"code":200,"url":"https:\/\/webfs.ali.kugou.com\/202203281434\/f83e564ff4857d520104f1435a8ba35a\/KGTX\/CLTX001\/e07bd2f1f1f6e5f589b9ace1a4fcf46c.mp3"}
# 示例1 #
http://api.4dn.net/kugou/index.php?hash=E07BD2F1F1F6E5F589B9ACE1A4FCF46C&album_id=52779593 返回数据 http://api.4dn.net/kugou/index.php?hash=E07BD2F1F1F6E5F589B9ACE1A4FCF46C&album_id=52779593&type=down 直接下载 http://api.4dn.net/kugou/index.php?hash=E07BD2F1F1F6E5F589B9ACE1A4FCF46C&album_id=52779593&type=lrc 歌词
# 示例2 #
http://api.4dn.net/kugou/index.php?id=https://www.kugou.com/mixsong/669o5red.html 返回数据 http://api.4dn.net/kugou/index.php?id=https://www.kugou.com/mixsong/669o5red.html&type=down 直接下载 http://api.4dn.net/kugou/index.php?id=https://www.kugou.com/mixsong/669o5red.html&type=lrc 歌词
本文地址:https://31jz.com/jzjc/1603.html