开放 API
请求
地址:https://frp.wo25.net:27500/q.php
方法:GET
参数 |
值 |
说明 |
type |
port/domain/pxn |
查询类型 |
value |
<端口>/<域名>/<代理名> |
查询值 |
请求示例
查询端口(tcp/udp):
curl "https://frp.wo25.net:27500/q.php?type=port&value=20443"
查询域名(https):
curl "https://frp.wo25.net:27500/q.php?type=domain&value=test.com"
查询代理名(stcp/sudp/xtcp):
curl "https://frp.wo25.net:27500/q.php?type=pxn&value=test"
响应(json)
字段 |
值类型 |
值 |
说明 |
status |
布尔 |
true/false |
是否成功 |
sTime |
整数 |
unix时间戳 |
现在时间 |
cTime |
整数 |
unix时间戳 |
创建时间 |
eTime |
整数 |
unix时间戳 |
到期时间 |
msg |
字符串 |
|
成功时为空值;失败时为相应的错误消息 |
响应示例
{
"status": true,
"sTime": 1639306786,
"cTime": 1621447751,
"eTime": 33179047751,
"msg": ""
}