接口大厅/QQ音乐HD登录
返回接口大厅
84 API Endpoint GET

QQ音乐HD登录

正常

支持 微信/QQ/QQ音乐 扫码登录 或 微信/QQ 授权链接登录

Status
正常
Total Calls
38
Created
2026-07-01
Updated
2026-07-13
Response
JSON
01

Request Info

请求信息
Endpoint GET https://cyapi.top/API/qqmusichd_login.php
Example https://cyapi.top/API/qqmusichd_login.php?code=auth-xxx
02

Parameters

1 params
Name Type Required Description
code string 不填code访问即请求登录,传入code则查询登录状态
03

Status Codes

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

Online Test

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

Code Examples

调用示例
<?php
$url = 'https://cyapi.top/API/qqmusichd_login.php?code=' . urlencode($params['code'])';

$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 = 'https://cyapi.top/API/qqmusichd_login.php'
params = {
    'code': 'auth-xxx'
}

response = requests.get(url, params=params)
print(response.text)
const url = new URL('https://cyapi.top/API/qqmusichd_login.php');
const params = new URLSearchParams();
params.append('code', 'auth-xxx');
url.search = params.toString();

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