{"uid":"cap_rghrakErY-rMSBMRQn5j_","slug":"domfacts-dns-lookup-f6357d96","name":"DomFacts DNS Lookup","description":"Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.","url":"https://api.firstmention.uk/s/domfacts/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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["domain"],"properties":{"domain":{"type":"string","description":"Domain name, e.g. example.com"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"A":{"type":"array","items":{"type":"string"}},"MX":{"type":"array","items":{"type":"object","properties":{"exchange":{"type":"string"},"priority":{"type":"number"}}}},"NS":{"type":"array","items":{"type":"string"}},"TXT":{"type":"array","items":{"type":"string"}},"domain":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"A":["93.184.216.34"],"MX":[{"exchange":"mail.example.com","priority":10}],"NS":["a.iana-servers.net","b.iana-servers.net"],"TXT":["v=spf1 -all"],"domain":"example.com"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3XA4HPupTWOp3yhWNkRe_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 (A, MX, NS, TXT) for a given domain name","exampleAgentPrompt":"What are the DNS records for github.com — specifically the A, MX, NS, and TXT records?","exampleUseCases":[{"title":"Email deliverability SPF check","prompt":"Can you pull up the TXT records for sendgrid.com so I can see if they have an SPF record configured?"},{"title":"Domain infrastructure reconnaissance","prompt":"Look up all the DNS records for stripe.com — I want to see the A records, nameservers, and any mail servers they're using."},{"title":"Verify domain ownership token","prompt":"Fetch the TXT records for mycompany.com so I can confirm the Google site verification token is showing up correctly."}],"resultDescription":"A JSON object containing the domain name queried along with arrays of A records (IPv4 addresses), MX records (mail servers with exchange hostname and priority), NS records (nameservers), and TXT records (text strings such as SPF, DKIM, verification tokens).","failureModes":["Domain does not exist — empty record arrays or DNS NXDOMAIN","Invalid domain format — malformed query returns error","Network/DNS timeout — transient failure requiring retry","Payment failure via x402 — 402 response if USDC payment not provided"],"whenToPreferThis":"Use this endpoint when you need programmatic DNS record retrieval for a domain — especially A, MX, NS, and TXT records in a single call — and are operating in an x402/USDC micropayment context. Prefer over manual dig/nslookup when you need structured JSON output suitable for downstream processing by an AI agent.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T18:57:09.145Z","isFirstParty":false,"canonicalSlug":"domfacts-dns-lookup-f6357d96"}