Grade domain snapshot health API
Look through the supplied DNS records, certificate names, expiry date, and cipher names. A CNAME whose target has no A or AAAA in the snapshot, a certificate that omits the domain, an expiry before the supplied date, a weak cipher name, or a missing NS record raises the exposure. The grade follows that percentage. No DNS or TLS lookup is performed.
The Grade domain snapshot health operation is part of the Domain Infrastructure Consistency Audit API on BRAINIAC.software. Look through the supplied DNS records, certificate names, expiry date, and cipher names. A CNAME whose target has no A or AAAA in the snapshot, a certificate that omits the domain, an expiry before the supplied date, a weak cipher name, or a missing NS record raises the exposure. The grade follows that percentage. No DNS or TLS lookup is performed. It is exposed as POST /api/v1/domain-security/infrastructure-health and priced at $0.04 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Caller-supplied DNS, certificate, and routing snapshots processed locally Caller-supplied custom-domain onboarding records processed locally Limitations: The records in the request are compared with each other. DNS, TLS, WHOIS, and BGP are not queried. Missing evidence is incomplete. It is not a confirmed inconsistency. An address or ASN change is not by itself malicious. A CDN or proxy address is expected only when the request supplies its host, range, ASN, or provider. A platform hostname is unassigned only when the request says so. A dangling DNS name is not proof of a takeover. infrastructure-health grades the supplied records, certificate names, expiry, and cipher names. A CNAME is dangling only when its target has no A or AAAA in the same snapshot. onboarding-readiness compares the supplied token, CNAME target, and certificate flag. A mismatched CNAME raises the hijacking index and is not proof of a takeover. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Audit domain infrastructure consistency, Audit custom domain onboarding, Score custom domain readiness. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/domain-security/infrastructure-healthExample request
curl -i -X POST "https://www.brainiac.software/api/v1/domain-security/infrastructure-health" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"domain": "app.example.com",
"as_of": "2026-11-05",
"records": [
{
"type": "A",
"name": "app.example.com",
"value": "203.0.113.10"
},
{
"type": "CNAME",
"name": "www.app.example.com",
"value": "gone.example.net"
},
{
"type": "NS",
"name": "example.com",
"value": "ns1.expected.net"
}
],
"certificate": {
"names": [
"other.example.com"
],
"not_after": "2026-02-01",
"ciphers": [
"TLS_RSA_WITH_AES_128_CBC_SHA"
]
}
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Audit domain infrastructure consistency — $0.05 USDC
- Audit custom domain onboarding — $0.05 USDC
- Score custom domain readiness — $0.04 USDC
Related APIs
Domain Infrastructure Consistency Audit APIFull docsHow it works