{"uid":"cap_yDS_NuH6rN6I61Gzgw31A","slug":"dns-lookup-via-dns-over-https-api-aventtech-com-382157e4","name":"DNS Lookup via DNS-over-HTTPS (api.aventtech.com)","description":"Look up DNS records for any hostname: query A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV and PTR records with TTLs over DNS-over-HTTPS. Check mail configuration (MX), SPF/DKIM/DMARC TXT records, nameservers and IP addresses. Fast, reliable DNS resolver and record lookup for domain and infrastructure verification.","url":"https://api.aventtech.com/lookup/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"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Hostname to resolve"},"type":{"type":"string","description":"Record type (default A): A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV, PTR"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"example.com","type":"MX","status":"NOERROR","answers":[{"ttl":300,"data":"0 mail.example.com.","name":"example.com"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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":{"p10Cents":"2.0000","medianCents":"2.0000","p90Cents":"2.0000","minCents":"2.0000","maxCents":"2.0000","p95Cents":"2.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9XIq_YvcNEDGS0FMm-nHE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves DNS records (A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV, PTR) for a given hostname using DNS-over-HTTPS, returning records and TTLs.","exampleAgentPrompt":"Can you look up the MX records for example.com so I can verify its mail server configuration?","exampleUseCases":null,"resultDescription":"Returns a list of DNS records matching the requested type for the given hostname, including record values and TTL (time-to-live) in seconds. For example, an MX lookup returns priority and mail server hostnames; a TXT lookup returns raw text strings useful for SPF/DKIM/DMARC verification.","failureModes":["Hostname not found — NXDOMAIN response when the domain does not exist","Invalid record type specified — returns error if the type parameter is not one of the supported values","Network or resolver timeout — DNS-over-HTTPS upstream may be temporarily unavailable","No records of requested type — domain exists but has no records of that type (empty answer)","Malformed hostname input — error if the name parameter is not a valid DNS name"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically resolve or verify DNS records for any hostname — especially for email deliverability checks (MX, SPF/TXT, DKIM), infrastructure validation (A/AAAA/CNAME/NS), certificate authority authorization (CAA), or reverse DNS (PTR). Prefer over general HTTP-based web scraping when the goal is authoritative DNS data with TTLs. Complements the sibling email deliverability and domain RDAP endpoints on the same platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:38:44.070Z","isFirstParty":false,"canonicalSlug":"dns-lookup-via-dns-over-https-api-aventtech-com-382157e4"}