{"uid":"cap_mFKYsiJWcGfk3deSz5mNk","slug":"dns-over-https-lookup-018362e1","name":"DNS-over-HTTPS Lookup","description":"DNS-over-HTTPS lookup for a name and record type","url":"https://pyfile-agent.taile3ff35.ts.net:10000/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_o-FsnOfjOoelmJajkX7wV","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) lookup for a given hostname and DNS record type, returning the resolved records.","exampleAgentPrompt":"Can you look up the A record for github.com using DNS-over-HTTPS?","exampleUseCases":[{"title":"Verify domain email configuration","prompt":"Can you check the MX records for example.com so I can verify its email routing is set up correctly?"},{"title":"Resolve hostname to IP address","prompt":"What IP address does api.openai.com resolve to? Look up its A record for me."},{"title":"Check SPF or TXT records for a domain","prompt":"Can you fetch the TXT records for mydomain.com so I can see if the SPF record is configured?"}],"resultDescription":"Returns the DNS response for the queried hostname and record type, including one or more record values (e.g. IP addresses, MX priorities, TXT strings) and typically TTL information, formatted as a JSON object matching standard DoH response structure.","failureModes":["Non-existent domain returns NXDOMAIN or empty answer section","Unsupported record type may return an error or empty result","Network timeout if the upstream DNS resolver is unreachable","Missing required 'name' or 'type' query parameters returns a 4xx error","Rate limiting may occur under heavy usage"],"whenToPreferThis":"Choose this endpoint when you need a quick, programmatic DNS lookup without relying on a local system resolver, especially in environments where UDP DNS is blocked or unreliable. It is well-suited for verifying domain configuration (MX, TXT, SPF, CNAME), checking DNS propagation, or enriching data pipelines with resolved IP addresses. Prefer this over system-level DNS when you need consistent DoH-based resolution as a paid, auditable API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:06:21.475Z","isFirstParty":false}