tcping

GET

免费API提供专业的TCPing测试服务,可发起TCP协议的延迟测试,即使目标端口禁Ping也能轻松检测。快速获取精准的延迟数据,适用于网络诊断和性能优化。

https://api.brtl.cn/api/tcping
https://api.brtl.cn/api/tcping?address=www.xxhzm.cn&port=80

请求参数

请求示例

Shell
JavaScript
Python
PHP
Java
Go
C#
Ruby
curl -X GET 'https://api.brtl.cn/api/tcping?address=${ip | domain }&port=${1-65535}'

返回示例

{
  "code": 200,
  "msg": "数据请求成功",
  "data": {
    "address": "www.xxhzm.cn",
    "ping": "43ms",
    "port": "80"
  }
}