API Professional Service
点击获取QQ
点击获取QQ,我们致力于为用户提供专业的免费 API 数据接口服务
返回接口列表
GET
点击获取QQ
v1.0最后更新:2026-10-20 02:23:06
免费
调用次数:0
正常运行
响应速度:--
无需API密钥
点击获取QQ
可用于官机绑定QQ,点击链接即可获取QQ号,无需授权
总调用:0
今日:0
格式:application/json
接口地址
https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd
请求地址
https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd
请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| action | string | 必填 | [get_qrcode]获取 QQ 登录链接(无需其他参数),[check_login]检查获取状态(需携带code参数) |
| code | string | 必填 | action=check_login必填,登录二维码的唯一标识 |
action *
string[get_qrcode]获取 QQ 登录链接(无需其他参数),[check_login]检查获取状态(需携带code参数)
code *
stringaction=check_login必填,登录二维码的唯一标识
在线测试
返回结果
点击「发送请求」按钮,查看接口返回结果
返回码说明
暂无返回码说明
多语言调用示例
cURL
curl -X GET "https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&key=你的授权密钥&action=your_action&code=your_code"
Python
import requests
url = "https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&key=你的授权密钥"
params = {
'action': 'your_action',
'code': 'your_code'
}
response = requests.get(url, params=params)
print(response.text)
PHP
<?php
$url = "https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&key=你的授权密钥";
$params = [
'action' => 'your_action',
'code' => 'your_code'
];
$demo_url = $url . (strpos($url, '?') === false ? '?' : '&') . http_build_query($params);
$result = file_get_contents($demo_url);
echo $result;
?>
JavaScript
// 使用 fetch 发送GET请求
const url = new URL('https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&key=你的授权密钥');
url.searchParams.append('action', 'your_action');
url.searchParams.append('code', 'your_code');
fetch(url)
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error('请求失败:', err));
Java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class ApiRequest {
public static void main(String[] args) throws Exception {
HttpClient client = HttpClient.newHttpClient();
String url = "https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&key=你的授权密钥";
// 拼接请求参数
url += "?" + "action=your_action&code=your_code";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create(url))
.GET()
.build();
client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
.thenApply(HttpResponse::body)
.thenAccept(System.out::println)
.join();
}
}
Go
package main
import (
"fmt"
"net/http"
"net/url"
"io/ioutil"
)
func main() {
baseUrl := "https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&key=你的授权密钥"
parsedUrl, _ := url.Parse(baseUrl)
q := parsedUrl.Query()
q.Set("action", "your_action");
q.Set("code", "your_code");
parsedUrl.RawQuery = q.Encode()
resp, err := http.Get(parsedUrl.String())
if err != nil {
fmt.Println("请求失败:", err)
return
}
defer resp.Body.Close()
body, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(body))
}
C#
using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using var client = new HttpClient();
var url = new Uri("https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&key=你的授权密钥");
var queryParams = new Dictionary<string, string>();
queryParams.Add("action", "your_action");
queryParams.Add("code", "your_code");
var uriBuilder = new UriBuilder(url);
uriBuilder.Query = new FormUrlEncodedContent(queryParams).ReadAsStringAsync().Result;
url = uriBuilder.Uri;
var response = await client.GetAsync(url);
var result = await response.Content.ReadAsStringAsync();
Console.WriteLine(result);
}
}
Shell
# 使用curl发送GET请求
curl -X GET "https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&key=你的授权密钥&action=your_action&code=your_code"
API Key 配置说明
=== API Key 使用说明 ===
1. 在本站注册账号并登录
2. 进入用户中心 → API密钥 → 申请API Key
3. 管理员审核通过后获得 apikey
4. 调用接口时在URL参数中添加 apikey 参数
示例:
https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&apikey=你的apikey
注意事项:
- 请勿将 apikey 泄露给他人
- 如发现 apikey 泄露,请及时在用户中心申请删除
- 每个 apikey 有调用频率限制,请合理使用
词库
# Secluded/QRspeed/ClousX6
A:$访问 https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&key=你的授权密钥&action=your_action&code=your_code$
Kotlin
import okhttp3.FormBody
import okhttp3.OkHttpClient
import okhttp3.Request
fun main() {
val client = OkHttpClient()
val url = "https://api.wm2213.com/API/czcn.php?_czcn=qqgjbd&key=你的授权密钥"
// GET 请求拼接参数
val requestBuilder = Request.Builder().url(url + "?" + "action=your_action&code=your_code")
val request = requestBuilder.get().build()
client.newCall(request).execute().use { response ->
if (!response.isSuccessful) throw RuntimeException("请求失败: ${response.code}")
println(response.body?.string())
}
}