{"slug":"gateway-stride20k-com-network-dns-type-name-5e3026","title":"DNS lookup API","host":"gateway.stride20k.com","method":"GET","resource":"https://gateway.stride20k.com/network/dns/:type/:name","category":"code","description":"DNS lookup API: resolve any DNS record via Cloudflare's 1.1.1.1 DNS-over-HTTPS resolver with DNSSEC validation status. Types A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR; returns the full answer section (name, type code, TTL, data). NXDOMAIN returns an unpaid 404. Use for infrastructure checks, e","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":27,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","pathParams":{"name":"example.com","type":"A"},"queryParams":{},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"pathParams":{"properties":{"name":{"description":"Name to resolve (e.g. 'example.com', '_dmarc.example.com').","normalize":"hostname","pattern":"(_?[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+(?:[a-zA-Z]{2,}|xn--[a-zA-Z0-9-]{2,})","type":"string"},"type":{"description":"DNS record type.","enum":["A","AAAA","CNAME","MX","NS","TXT","SOA","CAA","SRV","PTR","DS","DNSKEY","HTTPS","SVCB","TLSA","NAPTR"],"hint":"DNS record types are letters (A, AAAA, CNAME, MX, TXT, ...), never numeric chain IDs — see the enum list in this error's message.","missTrack":true,"normalize":"upper","type":"string"}},"required":["type","name"],"type":"object"},"queryParams":{"properties":{},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"answers":{"description":"Answer records: { name, typeCode, ttl, data }.","type":"array"},"dnssecValidated":{"description":"True if the resolver validated the response (AD bit).","type":"boolean"},"name":{"description":"Queried name.","type":"string"},"type":{"description":"Queried record type.","type":"string"}},"required":["name","type","answers"],"type":"object"},"endpoint":{"description":"Always \"/network/dns/:type/:name\".","type":"string"},"meta":{"properties":{"attribution":{"description":"Licensing attribution when the source requires it.","type":["string","null"]},"cached":{"description":"Whether this response was served from cache.","type":"boolean"},"fetchedAt":{"description":"ISO 8601 time the data was actually retrieved from the upstream.","type":"string"},"source":{"description":"Upstream source: Cloudflare DoH.","type":"string"}},"required":["source","cached","fetchedAt"],"type":"object"},"ok":{"description":"true on success.","type":"boolean"}},"required":["ok","endpoint","data","meta"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":27,"error":null}],"description_full":"DNS lookup API: resolve any DNS record via Cloudflare's 1.1.1.1 DNS-over-HTTPS resolver with DNSSEC validation status. Types A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, PTR; returns the full answer section (name, type code, TTL, data). NXDOMAIN returns an unpaid 404. Use for infrastructure checks, email deliverability, domain verification, and security tooling by agents. Cached up to 5 minutes.","last_updated":"2026-08-30T12:06:26.396Z","schemes":["exact"]}