新增ip反查域名 | 实时在线 --人

端口扫描

返回格式
JSON / TEXT / MD
请求方式
GET
域名/IP端口开放检测
请求地址
https://api.tangdouz.com/a/portscan.php?host=tangdouz.com
请求地址
https://api.tangdouz.com/a/portscan.php?host=8.8.8.8&ports=80,443,3306
请求地址
https://api.tangdouz.com/a/portscan.php?host=github.com
请求地址
https://api.tangdouz.com/a/portscan.php?host=baidu.com&ports=80,443,8080
参数名 说明 是否必填
host tangdouz.com 是
ports 80,443,3306 是
参数名 说明
input 输入内容
host 主机
ip 解析到的IP
is_ip 是否为IP
open_count 开放端口数量
total 扫描的端口总数
open 开放端口列表(port/status/time)
closed 关闭/过滤端口列表
scanned_ports 扫描端口清单
JSON格式
{
    "code": 200,
    "msg": "ok",
    "data": {
        "input": "github.com",
        "host": "github.com",
        "ip": "20.205.243.166",
        "is_ip": false,
        "open_count": 2,
        "total": 16,
        "open": [
            {
                "port": 22,
                "status": "open",
                "time": "112ms"
            },
            {
                "port": 80,
                "status": "open",
                "time": "95ms"
            }
        ],
        "closed": [
            {
                "port": 21,
                "status": "filtered(timeout)",
                "time": "1002ms"
            }
        ],
        "scanned_ports": [
            {
                "port": 21
            },
            {
                "port": 22
            },
            {
                "port": 25
            }
        ]
    }
}
示例 1 示例 2

点击上方链接将在新窗口打开接口测试页面