{"uid":"cap_SdF0747T80rNma-AYxqa9","slug":"dns-lookup-doh-risk-report-8cc791df","name":"DNS Lookup – DoH Risk Report","description":"DNS-over-HTTPS lookup for common record types, normalized into a risk report for web and email agents.","url":"https://relay402.georgespring.workers.dev/api/web-dns-lookup","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","$schema":"https://json-schema.org/draft/2020-12/schema","required":["domain"],"properties":{"types":{"type":"string","maxLength":64},"domain":{"type":"string","pattern":"^[a-z0-9]([a-z0-9.-]{2,251})[a-z0-9]$"}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"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_TmtFAHWtdSkoWpzhtk9un","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 DNS-over-HTTPS lookups for common record types on a given domain and returns results normalized into a structured risk report for web and email agents.","exampleAgentPrompt":"Look up the DNS records for suspicious-site.com — I want to see A, MX, and TXT records and get a risk assessment of the domain's DNS infrastructure.","exampleUseCases":[{"title":"Pre-outreach email domain check","prompt":"Before I send a cold email campaign to leads at acmecorp.io, can you look up the DNS records for acmecorp.io and tell me if the domain looks legitimate based on its infrastructure?"},{"title":"Suspicious link domain investigation","prompt":"Someone sent me a link to payments-secure-login.net — can you pull the DNS records for that domain and give me a risk report so I know if it's sketchy?"},{"title":"Onboarding vendor domain verification","prompt":"We're onboarding a new vendor at vendor-co.com — look up their DNS records including TXT and MX so I can see if their domain infrastructure checks out before we integrate."}],"resultDescription":"A normalized risk report containing resolved DNS records for the requested types (e.g. A, AAAA, MX, TXT, CNAME, NS), along with structured risk signals derived from the DNS infrastructure, suitable for consumption by web or email agents making trust decisions.","failureModes":["Invalid domain format returns a validation error (domain must match pattern ^[a-z0-9]([a-z0-9.-]{2,251})[a-z0-9]$)","Domain does not exist (NXDOMAIN) returns empty or error result","Payment not included or invalid returns HTTP 402","DNS resolution timeout for slow or unresponsive authoritative servers","Requested record types not found returns empty record set for those types","Malformed 'types' query param may be ignored or cause error"],"whenToPreferThis":"Choose this endpoint when you need DNS records for a domain normalized into a structured risk report rather than raw resolver output — especially useful in agentic pipelines that need to make trust or routing decisions based on DNS infrastructure signals. Prefer this over generic DNS resolvers when you want pre-processed risk framing alongside the raw records, and when pay-per-call pricing via x402 fits your agent's payment model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:39:38.769Z","isFirstParty":false}