API 文档
-
接口地址:
https://apicx.asia/api/kuwo_lyric
-
返回格式:
JOSN
-
请求方式:
GET
-
请求示例:
https://apicx.asia/api/kuwo_lyric?id=228908&token=你的token
请求参数说明:
| 名称 |
必填 |
类型 |
说明 |
|
token
|
是
|
string
|
登录获取token
|
| id | 是 | string | id :歌曲id(必填) |
返回参数说明:
| 名称 |
类型 |
说明 |
| code |
integer |
返回的状态码 |
| data |
object |
返回的数据/数据对象 |
| msg |
string |
返回的消息 |
| time |
string |
请求时间 |
{
"code": 200,
"msg": "success",
"data": {
"type": "kuwo_music_lyric",
"song_id": "228908",
"total_lines": 63,
"lyric_data": {
"raw": [
{
"lineLyric": "晴天 - 周杰伦 (Jay Chou)",
"time": "0.0"
},
{
"lineLyric": "词:周杰伦",
"time": "2.25"
},
{
"lineLyric": "曲:周杰伦",
"time": "4.5"
},
{
"lineLyric": "编曲:周杰伦",
"time": "6.75"
},
{
"lineLyric": "制作人:周杰伦",
"time": "9.0"
},
{
"lineLyric": "合声:周杰伦",
"time": "11.25"
},
{
"lineLyric": "合声编写:周杰伦",
"time": "13.5"
},
{
"lineLyric": "吉他:蔡科俊Again",
"time": "15.75"
},
{
"lineLyric": "贝斯:陈任佑",
"time": "18.0"
},
{
"lineLyric": "鼓:陈柏州",
"time": "20.25"
},
{
"lineLyric": "录音助理:刘勇志",
"time": "22.51"
},
{
"lineLyric": "录音工程:杨瑞代(Alfa Studio)",
"time": "24.76"
},
{
"lineLyric": "混音工程:杨大纬(杨大纬录音工作室)",
"time": "27.01"
},
{
"lineLyric": "故事的小黄花",
"time": "29.26"
},
{
"lineLyric": "从出生那年就飘着",
"time": "32.71"
},
{
"lineLyric": "童年的荡秋千",
"time": "36.24"
},
{
"lineLyric": "随记忆一直晃到现在",
"time": "39.75"
},
{
"lineLyric": "Re So So Si Do Si La ",
"time": "42.91"
},
{
"lineLyric": "So La Si Si Si Si La Si La So ",
"time": "45.93"
},
{
"lineLyric": "吹着前奏望着天空",
"time": "49.87"
},
{
"lineLyric": "我想起花瓣试着掉落",
"time": "53.2"
},
{
"lineLyric": "为你翘课的那一天",
"time": "56.72"
},
{
"lineLyric": "花落的那一天",
"time": "58.83"
},
{
"lineLyric": "教室的那一间",
"time": "60.6"
},
{
"lineLyric": "我怎么看不见",
"time": "62.32"
},
{
"lineLyric": "消失的下雨天",
"time": "64.12"
},
{
"lineLyric": "我好想再淋一遍",
"time": "65.81"
},
{
"lineLyric": "没想到失去的勇气我还留着",
"time": "69.99"
},
{
"lineLyric": "好想再问一遍",
"time": "76.12"
},
{
"lineLyric": "你会等待还是离开",
"time": "77.97"
},
{
"lineLyric": "刮风这天我试过握着你手",
"time": "84.91"
},
{
"lineLyric": "但偏偏雨渐渐大到我看你不见",
"time": "90.45"
},
{
"lineLyric": "还要多久我才能在你身边",
"time": "98.880005"
},
{
"lineLyric": "等到放晴的那天也许我会比较好一点",
"time": "105.44"
},
{
"lineLyric": "从前从前有个人爱你很久",
"time": "112.869995"
},
{
"lineLyric": "但偏偏风渐渐把距离吹得好远",
"time": "118.54"
},
{
"lineLyric": "好不容易又能再多爱一天",
"time": "126.94"
},
{
"lineLyric": "但故事的最后你好像还是说了拜拜",
"time": "133.5"
},
{
"lineLyric": "为你翘课的那一天",
"time": "154.9"
},
{
"lineLyric": "花落的那一天",
"time": "156.88"
},
{
"lineLyric": "教室的那一间",
"time": "158.66"
},
{
"lineLyric": "我怎么看不见",
"time": "160.39"
},
{
"lineLyric": "消失的下雨天",
"time": "162.15"
},
{
"lineLyric": "我好想再淋一遍",
"time": "163.87"
},
{
"lineLyric": "没想到失去的勇气我还留着",
"time": "168.0"
},
{
"lineLyric": "好想再问一遍",
"time": "174.15"
},
{
"lineLyric": "你会等待还是离开",
"time": "176.03"
},
{
"lineLyric": "刮风这天我试过握着你手",
"time": "182.92"
},
{
"lineLyric": "但偏偏雨渐渐大到我看你不见",
"time": "188.49"
},
{
"lineLyric": "还要多久我才能在你身边",
"time": "196.94"
},
{
"lineLyric": "等到放晴的那天也许我会比较好一点",
"time": "203.43"
},
{
"lineLyric": "从前从前有个人爱你很久",
"time": "210.87"
},
{
"lineLyric": "偏偏风渐渐把距离吹得好远",
"time": "217.14"
},
{
"lineLyric": "好不容易又能再多爱一天",
"time": "224.88"
},
{
"lineLyric": "但故事的最后你好像还是说了拜拜",
"time": "231.42"
},
{
"lineLyric": "刮风这天我试过握着你手",
"time": "238.49"
},
{
"lineLyric": "但偏偏雨渐渐大到我看你不见",
"time": "241.97"
},
{
"lineLyric": "还要多久我才能够在你身边",
"time": "245.65"
},
{
"lineLyric": "等到放晴那天也许我会比较好一点",
"time": "249.07"
},
{
"lineLyric": "从前从前有个人爱你很久",
"time": "252.92"
},
{
"lineLyric": "但偏偏雨渐渐把距离吹得好远",
"time": "255.91"
},
{
"lineLyric": "好不容易又能再多爱一天",
"time": "259.38"
},
{
"lineLyric": "但故事的最后你好像还是说了拜",
"time": "262.86"
}
],
"formatted": [
"[00:00.00]晴天 - 周杰伦 (Jay Chou)",
"[00:02.25]词:周杰伦",
"[00:04.50]曲:周杰伦",
"[00:06.75]编曲:周杰伦",
"[00:09.00]制作人:周杰伦",
"[00:11.25]合声:周杰伦",
"[00:13.50]合声编写:周杰伦",
"[00:15.75]吉他:蔡科俊Again",
"[00:18.00]贝斯:陈任佑",
"[00:20.25]鼓:陈柏州",
"[00:22.51]录音助理:刘勇志",
"[00:24.76]录音工程:杨瑞代(Alfa Studio)",
"[00:27.01]混音工程:杨大纬(杨大纬录音工作室)",
"[00:29.26]故事的小黄花",
"[00:32.71]从出生那年就飘着",
"[00:36.24]童年的荡秋千",
"[00:39.75]随记忆一直晃到现在",
"[00:42.90]Re So So Si Do Si La ",
"[00:45.92]So La Si Si Si Si La Si La So ",
"[00:49.86]吹着前奏望着天空",
"[00:53.20]我想起花瓣试着掉落",
"[00:56.71]为你翘课的那一天",
"[00:58.82]花落的那一天",
"[01:00.60]教室的那一间",
"[01:02.32]我怎么看不见",
"[01:04.12]消失的下雨天",
"[01:05.81]我好想再淋一遍",
"[01:09.98]没想到失去的勇气我还留着",
"[01:16.12]好想再问一遍",
"[01:17.96]你会等待还是离开",
"[01:24.90]刮风这天我试过握着你手",
"[01:30.45]但偏偏雨渐渐大到我看你不见",
"[01:38.88]还要多久我才能在你身边",
"[01:45.43]等到放晴的那天也许我会比较好一点",
"[01:52.86]从前从前有个人爱你很久",
"[01:58.54]但偏偏风渐渐把距离吹得好远",
"[02:06.93]好不容易又能再多爱一天",
"[02:13.50]但故事的最后你好像还是说了拜拜",
"[02:34.90]为你翘课的那一天",
"[02:36.87]花落的那一天",
"[02:38.65]教室的那一间",
"[02:40.38]我怎么看不见",
"[02:42.15]消失的下雨天",
"[02:43.87]我好想再淋一遍",
"[02:48.00]没想到失去的勇气我还留着",
"[02:54.15]好想再问一遍",
"[02:56.03]你会等待还是离开",
"[03:02.91]刮风这天我试过握着你手",
"[03:08.49]但偏偏雨渐渐大到我看你不见",
"[03:16.93]还要多久我才能在你身边",
"[03:23.43]等到放晴的那天也许我会比较好一点",
"[03:30.87]从前从前有个人爱你很久",
"[03:37.13]偏偏风渐渐把距离吹得好远",
"[03:44.87]好不容易又能再多爱一天",
"[03:51.41]但故事的最后你好像还是说了拜拜",
"[03:58.49]刮风这天我试过握着你手",
"[04:01.96]但偏偏雨渐渐大到我看你不见",
"[04:05.65]还要多久我才能够在你身边",
"[04:09.06]等到放晴那天也许我会比较好一点",
"[04:12.91]从前从前有个人爱你很久",
"[04:15.90]但偏偏雨渐渐把距离吹得好远",
"[04:19.37]好不容易又能再多爱一天",
"[04:22.86]但故事的最后你好像还是说了拜"
],
"structured": [
{
"time": "0.0",
"formatted_time": "[00:00.00]",
"content": "晴天 - 周杰伦 (Jay Chou)"
},
{
"time": "2.25",
"formatted_time": "[00:02.25]",
"content": "词:周杰伦"
},
{
"time": "4.5",
"formatted_time": "[00:04.50]",
"content": "曲:周杰伦"
},
{
"time": "6.75",
"formatted_time": "[00:06.75]",
"content": "编曲:周杰伦"
},
{
"time": "9.0",
"formatted_time": "[00:09.00]",
"content": "制作人:周杰伦"
},
{
"time": "11.25",
"formatted_time": "[00:11.25]",
"content": "合声:周杰伦"
},
{
"time": "13.5",
"formatted_time": "[00:13.50]",
"content": "合声编写:周杰伦"
},
{
"time": "15.75",
"formatted_time": "[00:15.75]",
"content": "吉他:蔡科俊Again"
},
{
"time": "18.0",
"formatted_time": "[00:18.00]",
"content": "贝斯:陈任佑"
},
{
"time": "20.25",
"formatted_time": "[00:20.25]",
"content": "鼓:陈柏州"
},
{
"time": "22.51",
"formatted_time": "[00:22.51]",
"content": "录音助理:刘勇志"
},
{
"time": "24.76",
"formatted_time": "[00:24.76]",
"content": "录音工程:杨瑞代(Alfa Studio)"
},
{
"time": "27.01",
"formatted_time": "[00:27.01]",
"content": "混音工程:杨大纬(杨大纬录音工作室)"
},
{
"time": "29.26",
"formatted_time": "[00:29.26]",
"content": "故事的小黄花"
},
{
"time": "32.71",
"formatted_time": "[00:32.71]",
"content": "从出生那年就飘着"
},
{
"time": "36.24",
"formatted_time": "[00:36.24]",
"content": "童年的荡秋千"
},
{
"time": "39.75",
"formatted_time": "[00:39.75]",
"content": "随记忆一直晃到现在"
},
{
"time": "42.91",
"formatted_time": "[00:42.90]",
"content": "Re So So Si Do Si La "
},
{
"time": "45.93",
"formatted_time": "[00:45.92]",
"content": "So La Si Si Si Si La Si La So "
},
{
"time": "49.87",
"formatted_time": "[00:49.86]",
"content": "吹着前奏望着天空"
},
{
"time": "53.2",
"formatted_time": "[00:53.20]",
"content": "我想起花瓣试着掉落"
},
{
"time": "56.72",
"formatted_time": "[00:56.71]",
"content": "为你翘课的那一天"
},
{
"time": "58.83",
"formatted_time": "[00:58.82]",
"content": "花落的那一天"
},
{
"time": "60.6",
"formatted_time": "[01:00.60]",
"content": "教室的那一间"
},
{
"time": "62.32",
"formatted_time": "[01:02.32]",
"content": "我怎么看不见"
},
{
"time": "64.12",
"formatted_time": "[01:04.12]",
"content": "消失的下雨天"
},
{
"time": "65.81",
"formatted_time": "[01:05.81]",
"content": "我好想再淋一遍"
},
{
"time": "69.99",
"formatted_time": "[01:09.98]",
"content": "没想到失去的勇气我还留着"
},
{
"time": "76.12",
"formatted_time": "[01:16.12]",
"content": "好想再问一遍"
},
{
"time": "77.97",
"formatted_time": "[01:17.96]",
"content": "你会等待还是离开"
},
{
"time": "84.91",
"formatted_time": "[01:24.90]",
"content": "刮风这天我试过握着你手"
},
{
"time": "90.45",
"formatted_time": "[01:30.45]",
"content": "但偏偏雨渐渐大到我看你不见"
},
{
"time": "98.880005",
"formatted_time": "[01:38.88]",
"content": "还要多久我才能在你身边"
},
{
"time": "105.44",
"formatted_time": "[01:45.43]",
"content": "等到放晴的那天也许我会比较好一点"
},
{
"time": "112.869995",
"formatted_time": "[01:52.86]",
"content": "从前从前有个人爱你很久"
},
{
"time": "118.54",
"formatted_time": "[01:58.54]",
"content": "但偏偏风渐渐把距离吹得好远"
},
{
"time": "126.94",
"formatted_time": "[02:06.93]",
"content": "好不容易又能再多爱一天"
},
{
"time": "133.5",
"formatted_time": "[02:13.50]",
"content": "但故事的最后你好像还是说了拜拜"
},
{
"time": "154.9",
"formatted_time": "[02:34.90]",
"content": "为你翘课的那一天"
},
{
"time": "156.88",
"formatted_time": "[02:36.87]",
"content": "花落的那一天"
},
{
"time": "158.66",
"formatted_time": "[02:38.65]",
"content": "教室的那一间"
},
{
"time": "160.39",
"formatted_time": "[02:40.38]",
"content": "我怎么看不见"
},
{
"time": "162.15",
"formatted_time": "[02:42.15]",
"content": "消失的下雨天"
},
{
"time": "163.87",
"formatted_time": "[02:43.87]",
"content": "我好想再淋一遍"
},
{
"time": "168.0",
"formatted_time": "[02:48.00]",
"content": "没想到失去的勇气我还留着"
},
{
"time": "174.15",
"formatted_time": "[02:54.15]",
"content": "好想再问一遍"
},
{
"time": "176.03",
"formatted_time": "[02:56.03]",
"content": "你会等待还是离开"
},
{
"time": "182.92",
"formatted_time": "[03:02.91]",
"content": "刮风这天我试过握着你手"
},
{
"time": "188.49",
"formatted_time": "[03:08.49]",
"content": "但偏偏雨渐渐大到我看你不见"
},
{
"time": "196.94",
"formatted_time": "[03:16.93]",
"content": "还要多久我才能在你身边"
},
{
"time": "203.43",
"formatted_time": "[03:23.43]",
"content": "等到放晴的那天也许我会比较好一点"
},
{
"time": "210.87",
"formatted_time": "[03:30.87]",
"content": "从前从前有个人爱你很久"
},
{
"time": "217.14",
"formatted_time": "[03:37.13]",
"content": "偏偏风渐渐把距离吹得好远"
},
{
"time": "224.88",
"formatted_time": "[03:44.87]",
"content": "好不容易又能再多爱一天"
},
{
"time": "231.42",
"formatted_time": "[03:51.41]",
"content": "但故事的最后你好像还是说了拜拜"
},
{
"time": "238.49",
"formatted_time": "[03:58.49]",
"content": "刮风这天我试过握着你手"
},
{
"time": "241.97",
"formatted_time": "[04:01.96]",
"content": "但偏偏雨渐渐大到我看你不见"
},
{
"time": "245.65",
"formatted_time": "[04:05.65]",
"content": "还要多久我才能够在你身边"
},
{
"time": "249.07",
"formatted_time": "[04:09.06]",
"content": "等到放晴那天也许我会比较好一点"
},
{
"time": "252.92",
"formatted_time": "[04:12.91]",
"content": "从前从前有个人爱你很久"
},
{
"time": "255.91",
"formatted_time": "[04:15.90]",
"content": "但偏偏雨渐渐把距离吹得好远"
},
{
"time": "259.38",
"formatted_time": "[04:19.37]",
"content": "好不容易又能再多爱一天"
},
{
"time": "262.86",
"formatted_time": "[04:22.86]",
"content": "但故事的最后你好像还是说了拜"
}
]
},
"has_lyric": true
},
"time": "2025-11-25 15:18:09",
"cached_time": "2025-11-25 15:18:10"
}
错误码格式说明:
| 名称 |
类型 |
说明 |
| 200 |
string |
返回状态码(成功) |
| 500 |
string |
返回的状态码(失败) |
代码示例:
-
-
-
-
-
-
-
<?php
// 初始化cURL会话
$ch = curl_init();
// 设置请求URL,用户中心获取token,自行替换其他参数
curl_setopt($ch, CURLOPT_URL, "https://apicx.asia/api/kuwo_lyric?id=228908&token=你的token");
// 设置请求头
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Authorization: YOUR_TOKEN'
));
// 返回响应而不是直接输出
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// 执行请求并获取响应
$response = curl_exec($ch);
// 关闭cURL会话
curl_close($ch);
// 将响应解析为JSON格式
$data = json_decode($response, true);
// 输出JSON数据
print_r($data);
?>
import requests
# 设置请求URL和头部,用户中心获取token,自行替换其他参数
url = "https://apicx.asia/api/kuwo_lyric?id=228908&token=你的token"
headers = {
'Authorization': 'YOUR_TOKEN'
}
# 发送GET请求
response = requests.get(url, headers=headers)
# 将响应解析为JSON格式
data = response.json()
# 输出JSON数据
print(data)
// 发送GET请求,用户中心获取token,自行替换其他参数
fetch("https://apicx.asia/api/kuwo_lyric?id=228908&token=你的token", {
method: "GET",
headers: {
"Authorization": "YOUR_TOKEN"
}
})
.then(response => response.json()) // 将响应解析为JSON格式
.then(data => console.log(data)) // 输出JSON数据
.catch(error => console.error('Error:', error));
import java.io.*;
import java.net.HttpURLConnection;
import java.net.URL;
public class Main {
public static void main(String[] args) throws Exception {
// 创建URL对象,用户中心获取token,自行替换其他参数
URL url = new URL("https://apicx.asia/api/kuwo_lyric?id=228908&token=你的token");
// 打开连接
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
// 设置请求方法
conn.setRequestMethod("GET");
// 设置请求头
conn.setRequestProperty("Authorization", "YOUR_TOKEN");
// 读取响应
BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String inputLine;
StringBuffer content = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
content.append(inputLine);
}
in.close();
// 输出JSON数据
System.out.println(content.toString());
}
}
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program {
static async Task Main() {
using (HttpClient client = new HttpClient()) {
// 设置请求头
client.DefaultRequestHeaders.Add("Authorization", "YOUR_TOKEN");
// 发送GET请求,用户中心获取token,自行替换其他参数
HttpResponseMessage response = await client.GetAsync("https://apicx.asia/api/kuwo_lyric?id=228908&token=你的token");
// 将响应解析为字符串
string responseBody = await response.Content.ReadAsStringAsync();
// 输出JSON数据
Console.WriteLine(responseBody);
}
}
}
require 'net/http'
require 'uri'
# 创建URI对象,用户中心获取token,自行替换其他参数
uri = URI.parse("https://apicx.asia/api/kuwo_lyric?id=228908&token=你的token")
# 创建GET请求
request = Net::HTTP::Get.new(uri)
# 设置请求头
request["Authorization"] = "YOUR_TOKEN"
# 发送请求并获取响应
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
# 输出JSON数据
puts response.body
package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
client := &http.Client{}
// 创建GET请求,用户中心获取token,自行替换其他参数
req, err := http.NewRequest("GET", "https://apicx.asia/api/kuwo_lyric?id=228908&token=你的token", nil)
if err != nil {
panic(err)
}
// 设置请求头
req.Header.Add("Authorization", "YOUR_TOKEN")
// 发送请求并获取响应
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
// 读取响应体
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
panic(err)
}
// 输出JSON数据
fmt.Println(string(body))
}