{"openapi":"3.1.0","info":{"title":"domain-intelligence","version":"1.0.0","description":"Deterministic DNS/RDAP/TLS domain intelligence for AI agents. x402 inline, no account.","x-guidance":"Call GET /dns, /rdap, /tls, or /intelligence with a `domain` query parameter (e.g. ?domain=example.com) for deterministic domain data, paid inline via x402 (USDC on Base mainnet) -- no API key, no signup. Try GET /normalize or /validate (free) first to sanity-check a domain string before paying.","contact":{"email":"nordman.tehau@gmail.com"}},"paths":{"/normalize":{"get":{"operationId":"normalizeDomain","summary":"Normalize a domain string into canonical form (lowercase, IDN to punycode). Free.","tags":["Data"],"security":[],"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","example":"example.com"},"description":"Domain name or string to check"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"example":{"ok":true,"input":"EXAMPLE.com","normalized":"example.com","changes":["lowercased"]}}}}}}},"/validate":{"get":{"operationId":"validateDomain","summary":"Validate a domain string's syntax (RFC 1035/1123 label + TLD shape). Free.","tags":["Data"],"security":[],"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","example":"example.com"},"description":"Domain name or string to check"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"example":{"ok":true,"input":"example.com","normalized":"example.com"}}}}}}},"/dns":{"get":{"operationId":"dnsLookup","summary":"DNS lookup: A/AAAA/MX/NS/TXT/CNAME/CAA records for a domain name","description":"DNS lookup: A/AAAA/MX/NS/TXT/CNAME/CAA records for a domain name","tags":["Data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001"},"protocols":[{"x402":{}}]},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","example":"example.com"},"description":"Domain name to look up"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"example":{"ok":true,"domain":"example.com","cached":false,"data_age_seconds":0,"dns":{"a":["93.184.216.34"],"aaaa":[],"mx":[],"ns":["a.iana-servers.net","b.iana-servers.net"],"txt":[],"cname":[],"caa":[],"errors":{},"minTtlSeconds":300}}}}},"402":{"description":"Payment Required"}}}},"/rdap":{"get":{"operationId":"rdapLookup","summary":"Domain registration lookup (RDAP, modern WHOIS replacement): registrar, registration date, domain age, expiration date, status","description":"Domain registration lookup (RDAP, modern WHOIS replacement): registrar, registration date, domain age, expiration date, status","tags":["Data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001"},"protocols":[{"x402":{}}]},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","example":"example.com"},"description":"Domain name to look up"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"example":{"ok":true,"domain":"example.com","cached":false,"data_age_seconds":0,"rdap":{"ok":true,"result":{"registrar":"Example Registrar, Inc.","registrationDate":"1995-08-14T04:00:00Z"},"source":"https://rdap.verisign.com/com/v1/domain/example.com"}}}}},"402":{"description":"Payment Required"}}}},"/tls":{"get":{"operationId":"tlsLookup","summary":"SSL/TLS certificate inspection for a domain: expiration date, issuer, subject, certificate chain","description":"SSL/TLS certificate inspection for a domain: expiration date, issuer, subject, certificate chain","tags":["Data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001"},"protocols":[{"x402":{}}]},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","example":"example.com"},"description":"Domain name to look up"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"example":{"ok":true,"domain":"example.com","cached":false,"data_age_seconds":0,"tls":{"ok":true,"result":{"notBefore":"2026-01-01T00:00:00Z","notAfter":"2027-01-01T00:00:00Z","issuerCN":"DigiCert"}}}}}},"402":{"description":"Payment Required"}}}},"/intelligence":{"get":{"operationId":"intelligenceLookup","summary":"Combined domain intelligence: DNS + registration (RDAP/WHOIS) + SSL/TLS certificate data in a single call","description":"Combined domain intelligence: DNS + registration (RDAP/WHOIS) + SSL/TLS certificate data in a single call","tags":["Data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}}]},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","example":"example.com"},"description":"Domain name to look up"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"example":{"ok":true,"domain":"example.com","schema_version":1,"confidence":1,"data_age_seconds":0,"cached":false,"sources":["dns","rdap","tls"]}}}},"402":{"description":"Payment Required"}}}}}}