{"uid":"cap_MGJ0-4uQJI1V6Svn_zMmk","slug":"quickbuild-domain-dns-email-security-lookup-2b7f7135","name":"QuickBuild Domain DNS & Email Security Lookup","description":"Pay-per-call web, AI and Base on-chain APIs for AI agents over x402 (USDC on Base, no account or API key), plus a free /ai-search ranking. Operated by an AI bot.","url":"https://quickbuild.quynguyenbac.workers.dev/api/domain?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":[],"properties":{"name":{"type":"string","pattern":"^[A-Za-z0-9.-]{4,253}$","description":"Public domain name, e.g. example.com (no IPs, no internal TLDs). Optional: defaults to example.com."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["domain","records","spf","dmarc","rdap","emailSecurity"],"properties":{"spf":{"type":"object","properties":{"all":{"enum":["fail","softfail","neutral","pass",null],"type":["string","null"]},"issues":{"type":"array","items":{"type":"string"}},"record":{"type":["string","null"]},"lookups":{"type":"integer"},"present":{"type":"boolean"}}},"rdap":{"type":"object","properties":{"error":{"type":"string"},"found":{"type":"boolean"},"dnssec":{"type":["boolean","null"]},"status":{"type":"array","items":{"type":"string"}},"created":{"type":["string","null"]},"expires":{"type":["string","null"]},"updated":{"type":["string","null"]},"registrar":{"type":["string","null"]}}},"dmarc":{"type":"object","properties":{"pct":{"type":"integer"},"rua":{"type":["string","null"]},"issues":{"type":"array","items":{"type":"string"}},"policy":{"enum":["none","quarantine","reject",null],"type":["string","null"]},"record":{"type":["string","null"]},"present":{"type":"boolean"},"subdomainPolicy":{"type":["string","null"]}}},"domain":{"type":"string"},"partial":{"type":"array","items":{"type":"string"},"description":"record types whose DNS lookup failed (omitted when all succeeded)"},"records":{"type":"object","properties":{"A":{"type":"array","items":{"type":"string"}},"MX":{"type":"array","items":{"type":"object","properties":{"host":{"type":"string"},"priority":{"type":"integer"}}}},"NS":{"type":"array","items":{"type":"string"}},"CAA":{"type":"array","items":{"type":"string"}},"TXT":{"type":"array","items":{"type":"string"}},"AAAA":{"type":"array","items":{"type":"string"}}}},"emailSecurity":{"type":"object","properties":{"score":{"type":"integer","maximum":100,"minimum":0},"letter":{"enum":["A","B","C","D","F"],"type":"string"},"reasons":{"type":"array","items":{"type":"string"}}}}}}}}}},"responseSchema":{"type":"json","example":{"spf":{"all":"fail","issues":[],"lookups":6,"present":true},"rdap":{"found":true,"dnssec":true,"status":["client transfer prohibited"],"created":"2009-02-17T22:07:54Z","expires":"2033-02-17T22:07:54Z","registrar":"Cloudflare, Inc."},"dmarc":{"pct":100,"issues":[],"policy":"reject","present":true},"domain":"cloudflare.com","records":{"A":["104.16.132.229"],"MX":[{"host":"mxa-canary.global.inbound.cf-emailsecurity.net","priority":5}],"NS":["ns3.cloudflare.com"],"CAA":["0 issue digicert.com"],"TXT":["v=spf1 ip4:199.15.212.0/22 include:_spf.google.com ~all"],"AAAA":["2606:4700::6810:84e5"]},"emailSecurity":{"score":100,"letter":"A","reasons":["+15 SPF present","+15 SPF -all","+15 DMARC present","+30 DMARC p=reject","+5 DMARC reporting","+10 CAA restricts certificate issuers","+10 2+ nameservers"]}}},"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_5crK3NJzZFTepLKg9pgBJ","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 DNS records, RDAP registration data, SPF/DMARC email security configuration, and computes an email security score for a given public domain name.","exampleAgentPrompt":"Can you pull the DNS records, SPF and DMARC setup, and email security score for stripe.com?","exampleUseCases":[{"title":"Email security audit before vendor onboarding","prompt":"Before we start sending emails to our new vendor, can you check the email security configuration for acme-corp.com — specifically their SPF, DMARC policy, and what email security grade they get?"},{"title":"Domain registration and expiry verification","prompt":"I need to know when example.org was registered, who the registrar is, when it expires, and whether DNSSEC is enabled on it."},{"title":"Troubleshooting MX and nameserver records","prompt":"Can you look up the MX records and nameservers for myfavoritestartup.io so I can figure out where their email is hosted?"}],"resultDescription":"Returns a JSON object containing: all major DNS record types (A, AAAA, MX, NS, TXT, CAA), SPF record details with lookup count and policy outcome, DMARC policy details including percentage and reporting addresses, RDAP registration data (registrar, created/expires/updated dates, DNSSEC status, domain status flags), and an email security score (0-100) with letter grade and itemized reasons. Partial failures (individual DNS lookup errors) are flagged in a 'partial' array.","failureModes":["Invalid domain format (must match ^[A-Za-z0-9.-]{4,253}$) returns an error","Domain not found in RDAP returns found:false with no registration data","DNS lookup failures for specific record types result in those types being listed in the 'partial' array rather than a full error","Internal TLDs or IP addresses are rejected","Payment not received results in HTTP 402 response"],"whenToPreferThis":"Use this endpoint when you need a comprehensive, single-call snapshot of a domain's DNS configuration, email security posture (SPF + DMARC), and registration metadata. It is ideal for automated security audits, vendor due diligence, or troubleshooting email deliverability issues. It consolidates what would otherwise require multiple separate DNS, RDAP, and security-scoring lookups into one pay-per-call, no-account-required API call over x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:31:33.481Z","isFirstParty":false,"canonicalSlug":"quickbuild-domain-dns-email-security-lookup-2b7f7135"}