{
  "service": "cloudflare-worker-network-info",
  "version": "1.2.0",
  "message": "网络信息查询 API，数据全部来自 Cloudflare 边缘内部接口（request.cf / CF-* 请求头）",
  "endpoints": {
    "ip": {
      "path": "/ip?v=4",
      "method": "GET",
      "desc": "访客 IP 及基础信息（地理位置 / ASN / TLS；?v=4|6 或 ?=ipv4 按协议家族筛选）"
    },
    "cf": {
      "path": "/cf",
      "method": "GET",
      "desc": "Cloudflare 边缘信息（colo / country / asn / httpProtocol / tlsVersion）"
    },
    "headers": {
      "path": "/headers",
      "method": "GET",
      "desc": "回显全部请求头（调试用）"
    },
    "dns": {
      "path": "/dns?name=example.com&type=A",
      "method": "GET",
      "desc": "DNS 查询（Cloudflare 公共 DoH，无需 Key）"
    },
    "trace": {
      "path": "/trace",
      "method": "GET",
      "desc": "综合链路信息（调试用）"
    }
  },
  "example": "https://ip-api.182030.xyz/ip"
}
