Audit custom domain onboarding API
Compare a custom domain, tenant, ownership TXT records, DNS targets, and platform assignment status. A dangling name is a potential condition only when the supplied assignment is unassigned or deleted. The audit does not query DNS or claim the domain.
The Audit custom domain onboarding operation is part of the Domain Infrastructure Consistency Audit API on BRAINIAC.software. Compare a custom domain, tenant, ownership TXT records, DNS targets, and platform assignment status. A dangling name is a potential condition only when the supplied assignment is unassigned or deleted. The audit does not query DNS or claim the domain. It is exposed as POST /api/v1/domain-security/custom-domain-onboarding-audit and priced at $0.05 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, Grade domain snapshot health, Score custom domain readiness. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/domain-security/custom-domain-onboarding-auditExample request
curl -i -X POST "https://www.brainiac.software/api/v1/domain-security/custom-domain-onboarding-audit" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"domain": "shop.example.com",
"tenant": "tenant-a",
"token": "platform-verify-token-shop",
"status": "removed",
"checkedAt": "2026-11-05T00:00:00.000Z",
"verification": [
{
"type": "TXT",
"name": "_verify.shop.example.com",
"value": "platform-verify-token-shop"
}
],
"records": [
{
"type": "TXT",
"name": "shop.example.com",
"value": "platform-verify-token-shop"
},
{
"type": "CNAME",
"name": "shop.example.com",
"value": "sites.platform.test"
}
],
"targets": [
{
"kind": "CNAME",
"value": "sites.platform.test"
}
],
"assignments": [
{
"hostname": "sites.platform.test",
"tenant": "tenant-a",
"status": "deleted"
}
],
"previous": {
"tenant": "tenant-b",
"domain": "shop.example.com",
"status": "active"
},
"certificates": [
{
"sans": [
"other.example.com"
],
"issuer": "Example CA",
"notBefore": "2026-01-01T00:00:00.000Z",
"notAfter": "2026-02-01T00:00:00.000Z",
"fingerprint": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
]
}
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
- Grade domain snapshot health — $0.04 USDC
- Score custom domain readiness — $0.04 USDC
Related APIs
Domain Infrastructure Consistency Audit APIFull docsHow it works