Anokha Web Tools

GET /v1/tls

TLS certificate check for a host: issuer, subject, SANs, validity dates, days until expiry, TLS version.

Price: $0.002 per call, paid in USDC on Base via x402. No API key or signup.

Example call

npx x402-fetch "https://tools.anokha.space/v1/tls?domain=example.com"

Example response

{
  "domain": "example.com",
  "issuer": "...",
  "not_after": "...",
  "days_left": 60,
  "san": [
    "example.com"
  ]
}

How payment works

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.