QQ扫码获取CookieAPI
本接口总调用:102次·今日调用:0次

接口地址: http://api.98cat.cn/api/qqrcode.php

返回格式: 请看返回示例

请求方式: GET

请求示例: http://api.98cat.cn/api/qqrcode.php

请求参数说明:

名称类型必填说明
typeInt不填就是群的可选,1为qun.qq.com,2为vip.qq.com,3为qzone.qq.com,4为huifu.qq.com,5为id.qq.com,6为docs.qq.com,7为connect.qq.com
qrsigStringqrsig值,不填则为获取二维码

系统级错误:

名称说明
400请求错误!
403请求被服务器拒绝!
405客户端请求的方法被禁止!
408请求时间过长!
500服务器内部出现错误!
501服务器不支持请求的功能,无法完成请求!
503系统维护中!

返回参数说明:

名称类型说明
codeInt状态码
textString返回提示
qrsigStringqrsig
base64Stringbase64编码后的图片
dataArrayCookie信息
QQString登录的账号
p_skeyStringpskey
skeyStringskey
superkeyStringsuperkey
supertokenIntsupertoken
pt4_tokenStringpt4_token

返回示例:


Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /www/wwwroot/api.98cat.cn/tianyi/qqrcode.php on line 98

Warning: file_get_contents(): Failed to enable crypto in /www/wwwroot/api.98cat.cn/tianyi/qqrcode.php on line 98

Warning: file_get_contents(http://api.98cat.cn/api/qqrcode.php): failed to open stream: operation failed in /www/wwwroot/api.98cat.cn/tianyi/qqrcode.php on line 98

错误码格式说明:

名称说明
1获取成功
-1获取二维码失败
-2qrsig错误
-3未知错误
-4参数错误