GET
社交平台
抽好友字符
某企鹅抽好友字符,需要ti.qq.com的cookie
累计调用 10
今日调用 0
更新于 2026-10-16
调用地址
GET
https://itapi.top/api/QQDrawCharacter
请求参数
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| uin | number | 必填 | 提供cookie的账号 | ... |
| number | 必填 | 好友账号 | ... | |
| skey | string | 必填 | qq的skey | ... |
| p_skey | string | 必填 | ti.qq.com的p_skey | ... |
| type | string | 可选 | 返回格式 | json |
返回字段
| 字段名 | 类型 | 说明 |
|---|---|---|
| code | number | 状态码 |
| message | string | 返回提示 |
| data | object | 返回数据 |
| data.id | number | 字符id |
| data.str | string | 字符 |
| data.desc | string | 字符解释 |
| data.image | string | 字符图片 |
响应示例
200 OK
无
在线测试
代码示例
cURL · GET
curl "https://itapi.top/api/QQDrawCharacter?uin=...&qq=...&skey=...&p_skey=...&type=json"
PHP
<?php
$res = file_get_contents("https://itapi.top/api/QQDrawCharacter?uin=...&qq=...&skey=...&p_skey=...&type=json");
$json = json_decode($res, true);
print_r($json);
JavaScript
const res = await fetch("https://itapi.top/api/QQDrawCharacter?uin=...&qq=...&skey=...&p_skey=...&type=json");
const json = await res.json();
console.log(json);
Python
import requests
r = requests.get("https://itapi.top/api/QQDrawCharacter?uin=...&qq=...&skey=...&p_skey=...&type=json", timeout=10)
print(r.json())