{"uid":"cap_4DubfhgVQpc8bS-8a_uYG","slug":"dns-domain-health-check-api-f4554b2d","name":"DNS & Domain Health Check API","description":"Generate an AI_POLICY.md and a pull request template with an AI-disclosure section for your open-source repo. Free, runs in your browser.","url":"https://ai-policy-kit.moneymaker-ai.workers.dev/api/domain-check?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"},"queryParams":{"type":"object","required":["domain"],"properties":{"https":{"enum":["1","0"],"type":"string","description":"optional; 0 skips the HTTPS GET"},"domain":{"type":"string","description":"hostname or URL, e.g. example.com"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"a":["172.66.147.243","104.20.23.154"],"mx":[{"host":"","priority":0}],"ns":["hera.ns.cloudflare.com","elliott.ns.cloudflare.com"],"caa":[],"soa":"elliott.ns.cloudflare.com. dns.cloudflare.com. 2416374680 10000 2400 604800 1800","spf":{"record":"v=spf1 -all","present":true,"verdict":"strict (-all)","includes":[],"all_qualifier":"-","lookups_estimate":0,"multiple_records":false},"txt":["v=spf1 -all","_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"],"aaaa":["2606:4700:10::ac42:93f3","2606:4700:10::6814:179a"],"dmarc":{"pct":100,"rua":null,"policy":"reject","record":"v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s","present":true,"multiple_records":false,"subdomain_policy":"reject"},"https":{"hsts":null,"server":"cloudflare","status":200,"final_url":"https://example.com/","reachable":true},"domain":"example.com","exists":true,"issues":["no CAA record (any CA may issue certificates)","no HSTS header on the HTTPS answer"],"mta_sts":false,"null_mx":true,"resolver":"cloudflare-dns.com","dns_status":"NOERROR","verifications":[],"dnssec_validated":true}},"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_ErplNGCL7VM5DVAfunvDg","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":"Performs a comprehensive DNS lookup and domain health check for a given hostname, returning DNS records, email security configurations, HTTPS status, and common issues.","exampleAgentPrompt":"Can you do a full DNS and domain health check on example.com — I want to see the A records, MX records, SPF, DMARC, HTTPS reachability, and any issues flagged?","exampleUseCases":[{"title":"Email deliverability audit","prompt":"Check the email security configuration for acmecorp.com — I want to see the SPF record, DMARC policy, and MX records, and whether there are any issues with how it's set up."},{"title":"Pre-launch domain verification","prompt":"Before we go live, can you run a full DNS health check on mynewstartup.io and tell me if HTTPS is reachable, DNSSEC is validated, and if there are any missing records or configuration problems?"},{"title":"Investigating a suspicious domain","prompt":"Can you look up all the DNS records for suspicious-domain.net and tell me if it actually exists, what nameservers it uses, and whether it has any DMARC or SPF protections in place?"}],"resultDescription":"A JSON object containing A, AAAA, MX, NS, TXT, CAA records; SOA string; SPF record with verdict and analysis; DMARC policy details; HTTPS reachability and server info; DNSSEC validation status; MTA-STS support; a list of detected issues; and the resolver used.","failureModes":["Domain does not exist — dns_status returns NXDOMAIN and exists is false","Invalid domain input — malformed hostname may cause a bad request or empty response","HTTPS check timeout — reachable may be false if the server is slow or blocking","Resolver unavailable — upstream DNS failure may yield partial or empty results","Rate limiting — repeated calls without payment may be throttled"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, multi-record DNS snapshot of a domain in a single call, especially when you also want email security analysis (SPF/DMARC verdict) and HTTPS reachability in one response. Prefer this over raw DNS resolvers when you want pre-interpreted issue flags and human-readable verdicts rather than raw wire-format records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:39:48.942Z","isFirstParty":false,"canonicalSlug":"dns-domain-health-check-api-f4554b2d"}