{"uid":"cap_BzBFTQjpqwm98y23azupM","slug":"dns-over-https-lookup-e3402780","name":"DNS-over-HTTPS Lookup","description":"DNS-over-HTTPS lookup for a name and record type","url":"https://pyfile-agent.taile3ff35.ts.net/data/dns","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","properties":{"name":{"type":"string"},"type":{"type":"string"}}}}},"output":{"type":"object"}}},"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_XjUiRNhyKDyXjqZY4u5Y_","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 a DNS-over-HTTPS (DoH) query for a given hostname and record type, returning DNS resolution results.","exampleAgentPrompt":"What are the MX records for example.com? Can you do a DNS lookup for me?","exampleUseCases":[{"title":"Email server discovery for a domain","prompt":"Look up the MX records for acme-corp.com so I can see which mail servers handle their email."},{"title":"Verify domain TXT ownership record","prompt":"Can you fetch the TXT DNS records for mydomain.io? I need to confirm my domain verification record is published correctly."},{"title":"Resolve hostname to IP address","prompt":"What IP address does api.stripe.com resolve to? Do an A record lookup for me."}],"resultDescription":"Returns DNS query results for the specified hostname and record type, including record values (e.g. IP addresses, mail server hostnames, text strings), TTLs, and standard DNS response fields.","failureModes":["Non-existent domain returns NXDOMAIN or empty answer section","Unsupported record type may return empty results","Network timeout if upstream DNS resolver is unavailable","Missing required query parameters returns an error","Temporary DNS resolution failures for valid domains"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically resolve DNS records without relying on the local system resolver, especially in sandboxed or cloud environments. Prefer this over system-level DNS when you need DoH (DNS-over-HTTPS) privacy/security guarantees, or when querying specific record types like MX, TXT, CNAME, or AAAA for domain validation, email routing, or infrastructure checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:00:16.830Z","isFirstParty":false}