{"uid":"cap_-1j6arRGDgHiFlhg2eyka","slug":"1gateway-domain-lookup-ce6cee28","name":"1gateway Domain Lookup","description":"Use when an agent must check a domain: does it resolve, who hosts its DNS and mail, is email authenticated, how old is it, when does it expire. Input: domain (e.g. example.com; URLs accepted). Output: JSON DNS records (A, AAAA, CNAME, MX, NS, TXT, CAA, SOA), mail provider, parsed SPF and DMARC, DNS provider, and RDAP registration (registrar, created, expires, age in days, status, DNSSEC). No contact data. Example: ?domain=google.com","url":"https://1gateway.dev/v1/domain/lookup?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","examples":["google.com"],"maxLength":2048,"description":"Public domain or hostname (punycode for IDNs, e.g. xn--...); a URL is reduced to its hostname. Internal/reserved names → 400 (not charged)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["domain","resolves","dnsStatus","dns","mx","mail","dnsProvider","verificationTokens","registration","cache","sources","notes"],"properties":{"mx":{"type":"array","items":{"type":"object","properties":{"host":{"type":"string"},"priority":{"type":"integer"}}}},"dns":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"mail":{"type":"object","properties":{"spf":{"type":"object","properties":{"all":{"type":"string"},"policy":{"type":"string"},"record":{"type":"string"},"present":{"type":"boolean"},"includes":{"type":"array","items":{"type":"string"}},"multipleRecords":{"type":"boolean"},"lookupMechanisms":{"type":"integer"}}},"dmarc":{"type":"object","properties":{"pct":{"type":"integer"},"policy":{"type":"string"},"present":{"type":"boolean"},"alignmentSpf":{"type":"string"},"alignmentDkim":{"type":"string"},"subdomainPolicy":{"type":"null"},"forensicReportTargets":{"type":"integer"},"aggregateReportTargets":{"type":"integer"}}},"provider":{"type":"string"},"acceptsMail":{"type":"boolean"}}},"cache":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}},"domain":{"type":"string"},"sources":{"type":"array","items":{"type":"string"}},"resolves":{"type":"boolean"},"dnsStatus":{"type":"string"},"dnsProvider":{"type":"string"},"registration":{"type":"object","properties":{"dnssec":{"type":"boolean"},"domain":{"type":"string"},"source":{"type":"string"},"status":{"type":"array","items":{"type":"string"}},"ageDays":{"type":"integer"},"created":{"type":"string"},"expires":{"type":"string"},"updated":{"type":"string"},"available":{"type":"boolean"},"registrar":{"type":"object","properties":{"name":{"type":"string"},"ianaId":{"type":"string"}}},"nameservers":{"type":"array","items":{"type":"string"}},"daysUntilExpiry":{"type":"integer"},"registeredDomain":{"type":"string"}}},"verificationTokens":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0045","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.0045/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DmT4VbiBBWhp8dsBWw6ht","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","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, mail configuration, email authentication, and RDAP registration data for any public domain in one call.","exampleAgentPrompt":"Can you do a full domain check on stripe.com — I want to see if it resolves, who hosts its DNS, what mail provider they use, whether SPF and DMARC are set up, and when the domain was registered and expires?","exampleUseCases":[{"title":"Email deliverability pre-flight check","prompt":"Before I send a campaign to leads at acme.com, can you check whether that domain has valid MX records, a proper SPF record, and DMARC configured — I need to know if mail will actually reach them?"},{"title":"Lead vetting for sales research","prompt":"I'm researching a prospect at newstartup.io — can you check how old that domain is, who registered it, when it expires, and whether it looks like a real business based on its DNS setup?"},{"title":"Security triage for suspicious domain","prompt":"We got a phishing report mentioning payments-secure-verify.net — can you pull its DNS records, registration age, registrar, and check if SPF or DMARC are present so I can assess how sketchy it is?"}],"resultDescription":"Returns a JSON object containing: whether the domain resolves, all DNS record types (A, AAAA, CNAME, MX, NS, TXT, CAA, SOA), the identified mail provider, parsed SPF (policy, includes, mechanisms, multi-record flag) and DMARC (policy, alignment, reporting targets), DNS provider, and RDAP registration data (registrar, created/expires dates, age in days, status flags, DNSSEC). Also includes cache status, data sources, and any advisory notes. No WHOIS contact data is returned.","failureModes":["400 if domain is internal, reserved, or invalid — not charged","Domain resolves=false if the domain has no DNS records","Missing registration data if RDAP is unavailable for the TLD","SPF/DMARC fields may be null/absent=false if records are not configured","Truncated or partial DNS results if the authoritative server is unreachable or rate-limits"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, single-call snapshot of a domain's DNS health, mail configuration, and registration history — especially for lead vetting, email deliverability validation, phishing triage, or security research. It combines DNS resolution, mail provider identification, SPF/DMARC parsing, and RDAP registration in one request rather than requiring separate DNS, WHOIS, and email-auth queries. Prefer it over raw DNS resolvers when you also need registration age and parsed email authentication. Note: returns no personal contact data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:36:32.072Z","isFirstParty":false,"canonicalSlug":"1gateway-domain-lookup-ce6cee28"}