{"uid":"cap_Mu68SW4NmDrPO1VsFTHm4","slug":"sitecheck-dns-lookup-d40afc0c","name":"SiteCheck DNS Lookup","description":"Mail and DNS hygiene of a domain over DNS over HTTPS: A, AAAA, MX, NS, TXT and CAA records; SPF parsed (mechanisms, the all qualifier, a lookup estimate, a warning above 10 lookups); the DMARC policy; DKIM keys under common selectors; MTA-STS, TLS-RPT and BIMI; an issues list and a mail grade from A to F.","url":"https://api.sitecheck-api.workers.dev/api/dns?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":{"domain":{"type":"string","description":"Domain 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":["93.184.216.34"],"mx":[],"ns":["a.iana-servers.net","b.iana-servers.net"],"caa":[{"tag":"issue","flags":0,"value":"letsencrypt.org"}],"spf":{"all":"-","record":"v=spf1 -all","lookups":0,"mechanisms":["-all"]},"txt":["v=spf1 -all"],"aaaa":["2606:2800:220:1:248:1893:25c8:1946"],"bimi":null,"dkim":{"found":[],"selectorsChecked":["default","google","selector1","selector2","k1","s1","s2","mail","dkim"]},"dmarc":{"pct":100,"rua":null,"policy":"reject","record":"v=DMARC1; p=reject","subdomainPolicy":null},"domain":"example.com","exists":true,"issues":["no DKIM key under the common selectors (a key with another selector is not visible)","no MTA-STS policy"],"mtaSts":null,"nullMx":false,"source":"DNS over HTTPS (Cloudflare, Google)","tlsRpt":null,"checkedAt":"2026-10-13T09:00:00.000Z","mailGrade":"B","mailScore":7}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tuyLHnUIAxR4HC0bO_faM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 for a domain, returning A, MX, NS, TXT, SPF, DMARC, DKIM, BIMI, MTA-STS, and other DNS records along with a mail security grade","exampleAgentPrompt":"Can you pull the full DNS records for stripe.com, including SPF, DMARC, and DKIM, and tell me what mail security grade it gets?","exampleUseCases":[{"title":"Email deliverability audit for a domain","prompt":"Check the mail DNS setup for acme-corp.com — I want to see if SPF, DMARC, and DKIM are all properly configured and what issues might be hurting email deliverability."},{"title":"Nameserver and A record verification","prompt":"What are the nameservers and A records for shopify.com right now? I need to confirm DNS propagation went through correctly."},{"title":"Competitor mail security benchmarking","prompt":"Pull the DNS records for hubspot.com and give me the mail security grade — I'm benchmarking how well they've locked down their email infrastructure."}],"resultDescription":"Returns a JSON object with A, AAAA, MX, NS, TXT, CAA records; parsed SPF, DMARC, and DKIM details; BIMI, MTA-STS, TLS-RPT, and null-MX status; a mail security grade (letter) and score (0-10); a list of detected issues; the DNS data source; and a checkedAt timestamp.","failureModes":["Domain does not exist — exists field returns false","Invalid or malformed domain input — request may fail or return empty records","DKIM selectors not found under common names — returns empty found array with checked selectors listed","Some record types absent (e.g. no MX, no SPF) — fields returned as null or empty array","Temporary DNS resolution failure from upstream Cloudflare or Google resolvers"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, single-call DNS audit covering both raw records and mail security analysis (SPF/DMARC/DKIM/MTA-STS) with a summarized mail grade. It is better than a bare dig or nslookup when you want structured, parsed DNS output plus actionable issue detection in one response, and when you want to pay per call with no API key signup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:50:41.351Z","isFirstParty":false,"canonicalSlug":"sitecheck-dns-lookup-d40afc0c"}