接口大厅/🐧QQ音乐musickey刷新
返回接口大厅
69 API Endpoint GET

🐧QQ音乐musickey刷新

正常

传入cookie刷新

Status
正常
Total Calls
297
Created
2026-04-05
Updated
2026-06-27
Response
JSON
01

Request Info

请求信息
Endpoint GET http://cyapi.top/API/musickey_refresh.php
Example http://cyapi.top/API/musickey_refresh.php
02

Parameters

3 params
Name Type Required Description
uin string 音乐账号
musickey string 账号对应的key
cookie string 可直接传入完整cookie,cookie要包含uin,musickey才可以
03

Status Codes

状态码
Code Meaning
200请求成功
403无权限或密钥无效
404接口不存在或参数错误
429请求过于频繁,已达限额
500服务器内部错误
04

Online Test

在线测试
请求参数
Response Format: JSON
响应结果
output
点击「立即测试」查看接口返回结果
05

Code Examples

调用示例
<?php
$url = 'http://cyapi.top/API/musickey_refresh.php?uin=' . urlencode($params['uin']) . '&musickey=' . urlencode($params['musickey']) . '&cookie=' . urlencode($params['cookie'])';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

echo $response;
?>
import requests

url = 'http://cyapi.top/API/musickey_refresh.php'
params = {
    'uin': 'YOUR_VALUE',
    'musickey': 'YOUR_VALUE',
    'cookie': 'YOUR_VALUE'
}

response = requests.get(url, params=params)
print(response.text)
const url = new URL('http://cyapi.top/API/musickey_refresh.php');
const params = new URLSearchParams();
params.append('uin', 'YOUR_VALUE');
params.append('musickey', 'YOUR_VALUE');
params.append('cookie', 'YOUR_VALUE');
url.search = params.toString();

fetch(url)
  .then(res => res.text())
  .then(data => console.log(data));