网站API


2019.12.05 更新

域名备案及绿标查询

调用地址:http(s)://lab.helingqi.com/urlsec/{domain}

请求方式:GET
返回类型:JSON
请求示例:http://lab.helingqi.com/urlsec/qqdie.com

请求参数:

名称类型必填说明
domainstring要查询的域名地址

正常返回示例

{
"url": "qqdie.com",
"type": 1,
"score": "unknown",
"msg": "",
"icp": {
    "state": 1,
    "unit": "张XX",
    "serial": "辽ICP备16019187号-1"
    },
    "updateTime": "1970-01-01 00:00:00"
}

参数说明:
type 为1表示未知或腾讯云认证,2为不安全,3为绿标

行为验证

调用地址:http(s)://https://lab.helingqi.com/verify
请求方式:GET
返回类型:JSON
请求示例:见调用示例

请求参数:

名称类型必填说明
randstrstring随机字符
ticketstringticket

调用示例


<input type="text" readonly class="layui-input" id="TencentCaptcha" data-appid="2082681283" data-cbfn="callback" placeholder="点击此处进行验证">

<script src="https://ssl.captcha.qq.com/TCaptcha.js"></script>
<script>
window.callback = function(res){
 if(res.ret === 0){
     $('[name="randstr"]').val(res.randstr);
     $('[name="ticket"]').val(res.ticket);
     $('.verify').attr('disabled',false);
 }
}
</script>

正常返回示例

{
    "Response": {
        "CaptchaCode": 1,
        "CaptchaMsg": "OK",
        "EvilLevel": 0,
        "RequestId": "d5eb657d-3417-48a7-a443-de43d08fcf9b"
    },
    "retcode": 0,
    "retmsg": "ok"
}

微博图片反查作者

调用地址:http(s)://lab.helingqi.com/imgauthor
请求方式:GET
返回类型:JSON
请求示例:http://lab.helingqi.com/imgauthor/?url=wx2.sinaimg.cn/mw690/92ba4e25ly1g4rm1o50y7j20t01fkkjo.jpg

请求参数:

名称类型必填说明
urlstring要查询的图片地址

正常返回示例

{
    "code": 1,
    "result": "https://weibo.com/u/2461683237"
}

whois查询接口

调用地址:http(s)://lab.helingqi.com/whois

请求方式:GET
返回类型:JSON
请求示例:http://lab.helingqi.com/whois/helingqi.com

请求参数:

名称类型必填说明
domainstring要查询的域名地址

正常返回示例

{
    "status": 0,
    "msg": "ok",
    "result": {
        "domain": "baidu.com",
        "registered": "yes",
        "registrarinfo": "eNameTechnologyCo.,Ltd.",
        "registrar": "eNameTechnologyCo.,Ltd.",
        "whois": "whois.ename.com",
        "referrer": null,
        "nserver": "f1g1ns2.dnspod.net",
        "status": "",
        "statuscn": null,
        "changed": "2018-08-14T03",
        "created": "2015-08-18T01",
        "expires": "2019-08-18T01",
        "email": null,
        "registrant": null,
        "sponsor": "eNameTechnologyCo.,Ltd.",
        "mobile": null,
        "rawdata": {
            "域名": "JISUAPI.COM",
            "注册商": "eNameTechnologyCo.,Ltd.",
            "注册时间": "2015-08-18T01",
            "到期时间": "2019-08-18T01",
            "域名状态": "clientTransferProhibitedhttps",
            ……………………
        }
    }
}

网站信息接口

调用地址:http(s)://lab.helingqi.com/webinfo/{domain}

请求方式:GET
返回类型:JSON
请求示例:http://lab.helingqi.com/webinfo/www.baidu.com

请求参数:

名称类型必填说明
domainstring要查询的域名地址

正常返回示例

{
    "err_code": 0,
    "msg": "success",
    "status": 200,
    "data": {
        "web_info": {
            "fingerprint": "jQuery",
            "language": "",
            "service": "",
            "os": "embedded",
            "web_frame": ""
        },
        "ip_info": {
            "idc": "",
            "ip": "39.156.69.79",
            "domain": "baidu.com",
            "port": 443,
            "protocol": "https"
        },
        "domain_info": {
            "company": "北京百度网讯科技有限公司",
            "beian_number": "京ICP证030173号-1",
            "verify_time": "2019-02-03 00:00:00"
        },
        "subdomain_info": [{
            "domain": "tracker.dcdn.baidu.com",
            "title": ""
        }]
    }
}

IP查询接口

调用地址:http(s)://lab.helingqi.com/ip

请求方式:GET
返回类型:JSON
请求示例:http://lab.helingqi.com/ip/8.8.8.8

请求参数:

名称类型必填说明
ipstring要查询的域名地址,为0是表示当前

正常返回示例

{
    "status": 0,
    "msg": "ok",
    "result": {
        "ip": "8.8.8.8",
        "area": "美国",
        "areaid": 3444,
        "type": "",
        "country": "美国",
        "province": null,
        "city": null,
        "town": null
    }
}

表情包接口

调用地址:http(s)://lab.helingqi.com/face

请求方式:POST
返回类型:JSON
请求示例:http://lab.helingqi.com/face/?token=申请的token&wd=皮皮虾我们走&page=2&size=30

请求参数:

名称类型必填说明
tokenstringtoken 联系站长获取
wdstring表情包关键字,如皮皮虾
pageint页码,默认为1
sizeint每页条数

正常返回示例

{
    "code": 1,
    "msg": "查询成功",
    "res": [
    {
        "title": "皮皮虾所不能承受之重",
        "url": "https://ae01.alicdn.com/kf/HTB14V3KXQT2gK0jSZFkq6AIQFXat.jpg"
    },
    {
        "title": "闪光皮皮虾我们走",
        "url": "https://ae01.alicdn.com/kf/HTB1TtQmXFY7gK0jSZKzq6yikpXao.jpg"
    },
    {
        "title": "皮皮虾我们走",
        "url": "https://ae01.alicdn.com/kf/HTB13_.bXLb2gK0jSZK95jaEgFXak.gif"
    },
    {
        "title": "皮皮虾你自己走吧",
        "url": "https://ae01.alicdn.com/kf/HTB1wkUaXND1gK0jSZFsq6zldVXa2.jpg"
    },
    {
        "title": "皮皮虾我们走",
        "url": "https://ae01.alicdn.com/kf/HTB19DsXXHj1gK0jSZFu5jcrHpXat.gif"
    }
    ]
}