Site Health Report API
GET /api/uptime/report $0.01 per call
USDC on Base · x402
Deep uptime & health report from one socket-level HEAD probe: DNS/TCP/TLS/TTFB timing waterfall, TLS certificate (issuer, expiry countdown, trust status), HTTP/2 support via ALPN, server IP + hosting location, CDN detection, redirect chain, caching + security response headers, compression, server clock skew. On failure, says exactly which phase died. Everything a monitor needs in one deterministic call — no page download.
Parameters
| Name | In | Description | |
|---|---|---|---|
url | query | required | Public http(s) URL to probe, e.g. https://example.com |
Example request
curl "https://api.webbersites.com/api/uptime/report?url=https%3A%2F%2Fexample.com"
# first call returns 402 + payment requirements; an x402 client pays and retries automaticallyExample response
{
"url": "https://example.com",
"up": true,
"status": 200,
"timing_ms": {
"dns": 12,
"tcp": 21,
"tls": 38,
"ttfb": 74,
"total": 146
},
"network": {
"ip": "93.184.216.34",
"h2_supported": true,
"tls_protocol": "TLSv1.3"
},
"certificate": {
"issuer": "DigiCert",
"days_remaining": 211,
"trusted": true
},
"cdn": "cloudflare"
}MCP tool: get_uptime_report — via npx -y webbersites-x402-mcp (local, key stays on your machine) or the remote endpoint https://api.webbersites.com/mcp.
How payment works
There is no signup and no API key. Call the endpoint; it replies 402 Payment Required with machine-readable payment requirements. Your client signs a USDC transfer authorization (EIP-3009, gasless) and retries with the X-PAYMENT header — @x402/fetch does this automatically. See the overview for a working snippet.