GET /v1/domain/reportOne-call domain audit: DNS (MX, SPF, DMARC), RDAP registration and age, TLS certificate validity and expiry, HTTP security headers, plus a summary of checks.
Price: $0.008 per call, paid in USDC on Base via x402. No API key or signup.
npx x402-fetch "https://tools.anokha.space/v1/domain/report?domain=example.com"
{
"domain": "example.com",
"checks": {
"has_mx": true,
"has_spf": true,
"has_dmarc": true,
"tls_valid": true,
"tls_days_left": 60,
"hsts": true,
"domain_age_days": 9000
}
}
The first request returns HTTP 402 with a PAYMENT-REQUIRED header. An x402 client signs a USDC authorization and retries with a PAYMENT-SIGNATURE header. You are charged only when the call succeeds.