稳定、快速的API服务

TCP端口检测,我们致力于为用户提供专业的免费API数据接口服务

TCP端口检测 v1.0

最后更新: 2026-09-08 17:50:01

TCP端口检测

免费 调用次数: 26394 正常运行 响应速度: <100ms 需要传入API密钥

接口信息

接口地址:
https://qhapi.com/api/tcping/api.php
请求方式: GET
返回格式: json

调用统计

0
今日调用
26394
总调用次数
请求示例 https://qhapi.com/api/tcping/api.php?apikey=你的API密钥(登录后获取)&host=主机/域名&port=port

点击右侧按钮复制完整请求地址,参数值请替换为实际有效值

请求参数

参数名 是否必填 参数类型 参数说明
apikey
是 string 你的API密钥(登录后获取)
点击登录获取秘钥
host
否 string 主机/域名
port
否 string port

返回参数

参数名 参数类型 参数说明
host
string 主机/域名
port
string port
status
string status
time
string time

返回示例

{
    "code": 200,
    "msg": "success",
    "data": {
        "host": "主机\/域名",
        "port": "示例值",
        "status": "示例值",
        "time": "示例值"
    }
}