📘 API 开放平台

所有接口都需要携带 key 参数(在你的用户中心获取)。免费用户每天 100 次调用,超过请升级套餐。

1. 网站测速 API

GET/api_v1.php?key=YOUR_KEY&domain=baidu.com&type=speed
{
  "code": 200,
  "data": {
    "http_status": 200,
    "total_time": 0.276,
    "connect_time": 0.069
  }
}

2. 微信/QQ 拦截检测 API

GET/api_v1.php?key=YOUR_KEY&domain=example.com&type=block&platform=wechat
{
  "code": 200,
  "blocked": false,
  "http_status": 200
}

3. IP 查询 API

GET/api_v1.php?key=YOUR_KEY&type=ip&ip=8.8.8.8
{
  "code": 200,
  "ip": "8.8.8.8",
  "country": "美国",
  "region": "加利福尼亚",
  "isp": "Google LLC"
}

4. DNS 查询 API

GET/api_v1.php?key=YOUR_KEY&type=dns&domain=baidu.com
{
  "code": 200,
  "results": [
    { "type": "A", "records": ["110.242.68.66"] },
    { "type": "MX", "records": ["mx.baidu.com"] }
  ]
}

5. 端口检测 API

GET/api_v1.php?key=YOUR_KEY&type=port&domain=baidu.com
{
  "code": 200,
  "results": [
    { "port": 80, "open": true },
    { "port": 443, "open": true }
  ]
}

6. SSL 证书检测 API

GET/api_v1.php?key=YOUR_KEY&type=ssl&domain=baidu.com
{
  "code": 200,
  "subject": "baidu.com",
  "issuer": "DigiCert Inc",
  "days_left": 180
}

7. 获取 API Key

注册账号后,登录到 用户中心 即可查看你的专属 API Key。

💡 提示: 所有接口调用都会计入每日配额,请合理使用。如需更高配额,可通过首页「广告服务」联系客服。
← 返回首页