{"uid":"cap_vYyHBbyiNtNkGQMRv8Suu","slug":"domain-dns-whois-email-check-a07c2a02","name":"Domain DNS WHOIS Email Check","description":"Domain lookup (DNS, WHOIS/RDAP, email security): give a domain or hostname, get DNS records (A, AAAA, MX, NS, TXT, CAA), SPF, DMARC, DKIM and MTA-STS email-auth posture, HTTPS/HSTS status, and registrar, creation and expiry dates from registry RDAP. Use when checking a domain's setup, deliverability or age. No personal data. Signed receipt.","url":"https://api.stablecoingateways.com/v1/domain-facts?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","pattern":"^[A-Za-z0-9.-]{3,253}$","description":"Registrable domain or full hostname"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","receipt"],"properties":{"data":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"dns":{"type":"object","properties":{"a":{"type":"array","items":{"type":"string"}},"mx":{"type":"array","items":{"type":"object"}},"ns":{"type":"array","items":{"type":"string"}},"caa":{"type":"array","items":{}},"aaaa":{"type":"array","items":{"type":"string"}},"txt_count":{"type":"integer"},"dnssec_validated_answer":{"type":"boolean"}}},"rdap":{"type":"object","properties":{"note":{"type":"string"},"source":{"type":"string"},"status":{"type":"array","items":{"type":"string"}},"expires":{"type":"string"},"available":{"type":"boolean"},"registrar":{"type":"string"},"registered":{"type":"string"},"nameservers":{"type":"array","items":{"type":"string"}},"last_changed":{"type":"string"},"dnssec_signed":{"type":"boolean"},"registered_domain":{"type":"string"},"registrar_iana_id":{"type":"string"}}},"https":{"type":"object","properties":{"hsts":{},"probed":{"type":"boolean"},"status":{"type":"integer"},"reachable":{"type":"boolean"},"redirect_host":{}}},"notes":{"type":"string"},"domain":{"type":"string"},"exists":{"type":"boolean"},"sources":{"type":"array","items":{"type":"string"}},"mail_auth":{"type":"object","properties":{"spf":{"type":"object"},"dmarc":{"type":"object"},"mta_sts":{"type":"boolean"},"tls_rpt":{"type":"boolean"},"dkim_selectors_found":{"type":"array","items":{"type":"object"}},"dkim_selectors_checked":{"type":"array","items":{"type":"string"}}}},"checked_at":{"type":"string"},"provenance":{"type":"object","description":"Additive evidence block (sg-provenance/1): per-fact source, retrieval time, limits; no score or verdict. Full schema in OpenAPI."}},"description":"DNS records, email-auth posture (SPF, DMARC, DKIM, MTA-STS), HTTPS/HSTS and registry RDAP dates and registrar for one domain"},"receipt":{"type":"object","required":["v","endpoint_id","ts","price","tx_hash","request_hash","response_hash","log_seq","sig"],"properties":{"evidence":{"type":"object","description":"Signed evidence (see llms.txt)"}},"description":"Ed25519-signed receipt; verify free at POST /v1/verify-receipt. New receipts also carry a signed `evidence` object."}}}}}}},"responseSchema":{"type":"json","example":{"data":{"dns":{"a":["104.20.23.154"],"mx":[{}],"ns":["hera.ns.cloudflare.com"],"caa":[],"aaaa":["2606:4700:10::ac42:93f3"]},"rdap":{"source":"https://rdap.verisign.com/com/v1/","available":true,"registrar":"RESERVED-Internet Assigned Numbers Authority","registered_domain":"example.com","registrar_iana_id":"376"},"https":{"hsts":null,"probed":true,"status":200,"reachable":true,"redirect_host":null},"notes":"TLS certificate details are not inspected from Workers; https.reachable reflects a succ...","domain":"example.com","exists":true,"sources":["DNS via Cloudflare DoH (cloudflare-dns.com)"],"mail_auth":{"spf":{"present":true,"includes":[],"all_qualifier":"-all","dns_lookup_terms":0,"multiple_records":false},"dmarc":{"pct":100,"adkim":"s","policy":"reject","present":true,"subdomain_policy":"reject"},"mta_sts":false,"dkim_selectors_found":[{}],"dkim_selectors_checked":["default"]},"checked_at":"2026-10-22T09:01:19.207Z"},"receipt":{"v":1,"ts":"2026-10-22T09:00:00Z","sig":"hex","price":{"asset":"USDC","amount":"3000","network":"eip155:84532"},"log_seq":1,"tx_hash":"0x..","endpoint_id":"domain-facts-v1","request_hash":"hex","response_hash":"hex"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_h95zuVILTBkpM3IDGsIFv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up a domain's DNS records, WHOIS/RDAP registration details, and email authentication posture (SPF, DMARC, DKIM, MTA-STS) plus HTTPS/HSTS status in a single call.","exampleAgentPrompt":"Can you check the DNS setup and email authentication posture for sendgrid.com — I want to know if it has SPF, DMARC, DKIM, and MTA-STS configured, plus who registered it and when it expires?","exampleUseCases":[{"title":"Email deliverability audit before sending campaign","prompt":"Before I send out our marketing campaign from mycompany.com, can you check whether we have SPF, DMARC, and DKIM properly set up, and whether MTA-STS is enabled?"},{"title":"Vendor domain age and registrar check","prompt":"We just got a payment request from a vendor using the domain quickpay-solutions.net — can you look up when it was registered, who the registrar is, and whether it has any DNS records set up? I want to make sure it's not a newly created phishing domain."},{"title":"Domain infrastructure review for IT team","prompt":"Can you pull the full DNS picture for our domain acmecorp.com — A, AAAA, MX, NS, CAA records, DNSSEC status, and whether the HTTPS endpoint is reachable with HSTS?"}],"resultDescription":"Returns a JSON object with: DNS records (A, AAAA, MX, NS, TXT count, CAA), RDAP registration data (registrar, registered/expiry dates, nameservers, DNSSEC signed, domain availability), HTTPS probe result (reachable, HTTP status, HSTS, redirect host), email authentication posture (SPF record details, DMARC policy, DKIM selectors found, MTA-STS), whether the domain exists, data sources used, and a signed payment receipt including tx hash and response hash.","failureModes":["Domain does not exist or has no DNS records — returns exists: false with minimal data","RDAP registry unavailable for TLD — rdap.note field explains fallback or missing registration data","DKIM selectors not found for common defaults — dkim_selectors_found may be empty","Domain pattern validation fails (too short, invalid chars) — 400 error","Payment not received or insufficient — 402 Payment Required before data is returned","HTTPS probe times out — https.reachable set to false, status may be absent"],"whenToPreferThis":"Use this endpoint when you need a comprehensive, single-call snapshot of a domain's DNS infrastructure, email authentication configuration, and registration metadata. It is ideal for email deliverability audits, phishing/suspicious domain triage, vendor due diligence, and domain age checks. Prefer it over manual DNS lookups or separate WHOIS tools when you need SPF+DMARC+DKIM+MTA-STS all in one response with a signed receipt for audit trails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T06:32:25.733Z","isFirstParty":false,"canonicalSlug":"domain-dns-whois-email-check-a07c2a02"}