简介
歌词迷API提供了多种方式获取歌词文件:
根据歌曲名获取歌词
根据歌曲名和歌手名获取歌词
根据歌曲编号获取歌词URL
根据专辑编号获取专辑封面URL
此接口采集自这里 。
接口类型
HTTP(GET) / GBK,UTF-8
接口返回值类型
json
根据歌曲名获取歌词
请求地址:
http://geci.me/api/lyric/SongName
Demo
http://geci.me/api/lyric/海阔天空
请求参数详解
SongName
歌曲名称
返回值
{
"count":
15,
"code":
0,
"result":
[
{"aid":
1563419,
"lrc":
"http://s.geci.me/lrc/166/16685/1668536.lrc",
"artist":
"Beyond",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
1668536},
{"aid":
1571906,
"lrc":
"http://s.geci.me/lrc/167/16796/1679605.lrc",
"artist":
"Beyond",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
1679605},
{"aid":
1573814,
"lrc":
"http://s.geci.me/lrc/168/16819/1681961.lrc",
"artist":
"Beyond",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
1681961},
{"aid":
1618733,
"lrc":
"http://s.geci.me/lrc/174/17407/1740790.lrc",
"artist":
"\u5468\u534e\u5065",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
1740790},
{"aid":
1656038,
"lrc":
"http://s.geci.me/lrc/179/17907/1790768.lrc",
"artist":
"Beyond",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
1790768},
{"aid":
1718741,
"lrc":
"http://s.geci.me/lrc/187/18757/1875769.lrc",
"artist":
"Beyond",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
1875769},
{"aid":
1889264,
"lrc":
"http://s.geci.me/lrc/210/21070/2107014.lrc",
"artist":
"\u8d39\u7fd4",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
2107014},
{"aid":
2003267,
"lrc":
"http://s.geci.me/lrc/226/22642/2264296.lrc",
"artist":
"Beyond",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
2264296},
{"aid":
2020610,
"lrc":
"http://s.geci.me/lrc/228/22889/2288967.lrc",
"artist":
"Beyond",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
2288967},
{"aid":
2051678,
"lrc":
"http://s.geci.me/lrc/233/23323/2332322.lrc",
"artist":
"Beyond",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
2332322},
{"aid":
2075717,
"lrc":
"http://s.geci.me/lrc/236/23651/2365157.lrc",
"artist":
"\u8d39\u7fd4",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
2365157},
{"aid":
2253359,
"lrc":
"http://s.geci.me/lrc/261/26128/2612812.lrc",
"artist":
"\u9ec4\u79cb\u751f",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
2612812},
{"aid":
2319680,
"lrc":
"http://s.geci.me/lrc/270/27055/2705565.lrc",
"artist":
"\u4efb\u8d24\u9f50",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
2705565},
{"aid":
2346662,
"lrc":
"http://s.geci.me/lrc/274/27442/2744281.lrc",
"artist":
"\u6797\u5b50\u7965",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
2744281},
{"aid":
2412272,
"lrc":
"http://s.geci.me/lrc/283/28370/2837015.lrc",
"artist":
"DJ
Tommy",
"song":
"\u6d77\u9614\u5929\u7a7a",
"sid":
2837015}
]
}
返回参数详解
count
查询到的歌词数量。
code
不详,猜测可能是查询状态码,正常为0。
result
查询到的歌词条目列表。
aid
专辑编号。
lrc
歌词下载链接。
artist
艺术家姓名。
song
歌曲名称。
sid
歌曲编号。
根据歌曲名和歌手名获取歌词
请求地址:
http://geci.me/api/lyric/SongName/Artist
Demo
http://geci.me/api/lyric/海阔天空/Beyond
请求参数详解
SongName
歌曲名称
Artist
艺术家姓名
返回值,同上。
根据歌曲编号获取歌词URL
请求地址:
http://geci.me/api/lrc/SongId
Demo
http://geci.me/api/lrc/3861244
请求参数详解
SongId
歌曲编号
返回值,同上。
根据专辑编号获取专辑封面URL
请求地址:
http://geci.me/api/cover/AlbumId
Demo
http://geci.me/api/cover/1573814
请求参数详解
AlbumId
专辑编号
返回值
{
"count":
1,
"code":
0,
"result":
{
"cover":
"http://s.geci.me/album-cover/157/1573814.jpg",
"thumb":
"http://s.geci.me/album-cover/157/1573814-thumb.jpg"
}
}
返回参数详解
cover
标准封面图链接。
thumb
缩略封面图链接。