x402 DNS Lookup / DNS-over-HTTPS Resolver is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.02/call, not verified (last probed 2026-10-11); live alternatives: Stable Domains Availability Checker ($0.05) and NetIntel Bulk Domain Availability Check ($0.1).
Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5. Live alternatives for the same use case: Stable Domains Availability Checker ($0.05) · NetIntel Bulk Domain Availability Check ($0.1).
Queries Cloudflare 1.1.1.1 DoH to retrieve any combination of DNS record types (A, AAAA, MX, TXT, NS, CNAME, SOA, PTR, SRV, CAA, DNSKEY, DS, TLSA, HTTPS, SVCB) for a given domain, returning grouped and flat result shapes with TTLs.
DNS lookup / DNS resolver / dig replacement / nslookup API / DoH proxy / authoritative-record fetch / MX checker / SPF + DMARC TXT inspector / CAA + DNSSEC inspector / nameserver finder / CDN-routing detector. Queries Cloudflare 1.1.1.1 DNS-over-HTTPS for any subset of A, AAAA, MX, TXT, NS, CNAME, SOA, PTR, SRV, CAA, DNSKEY, DS, TLSA, HTTPS, SVCB records and returns both grouped (per type, with TTL) and flat shapes for easy consumption.
Returns DNS records grouped by record type (each group includes the type, TTL, and list of record data values) as well as a flat list of all records — making it easy to inspect individual record types or iterate across all results at once.
POSThttps://x402.agentutility.ai/dns-lookup?utm_source=zero.xyzPrefer this endpoint when an agent needs programmatic DNS resolution without setting up a local resolver, when checking email infrastructure (MX, SPF/DMARC TXT), validating DNSSEC, inspecting CAA records for certificate issuance policy, or detecting CDN routing — especially when multiple record types are needed in a single call with both grouped and flat output shapes.
{
"input": {
"body": {
"types": [
"A",
"AAAA",
"MX",
"TXT",
"NS"
],
"domain": "example.com"
},
"type": "http",
"method": "POST",
"bodyType": "json"
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"flat": {
"a": [
"172.66.147.243",
"104.20.23.154"
],
"mx": [
{
"host": "",
"priority": 0
}
],
"ns": [
"hera.ns.cloudflare.com",
"elliott.ns.cloudflare.com"
],
"caa": [],
"txt": [
"v=spf1 -all",
"_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"
],
"aaaa": [
"2606:4700:10::ac42:93f3",
"2606:4700:10::6814:179a"
],
"cname": []
},
"domain": "example.com",
"source": "Cloudflare DNS-over-HTTPS (1.1.1.1)",
"records": {
"A": [
{
"ttl": 103,
"data": "172.66.147.243",
"name": "example.com"
},
{
"ttl": 103,
"data": "104.20.23.154",
"name": "example.com"
}
],
"MX": [
{
"ttl": 129,
"data": "0 .",
"name": "example.com"
}
],
"NS": [
{
"ttl": 65653,
"data": "hera.ns.cloudflare.com.",
"name": "example.com"
},
{
"ttl": 65653,
"data": "elliott.ns.cloudflare.com.",
"name": "example.com"
}
],
"TXT": [
{
"ttl": 288,
"data": "\"v=spf1 -all\"",
"name": "example.com"
},
{
"ttl": 288,
"data": "\"_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9\"",
"name": "example.com"
}
],
"AAAA": [
{
"ttl": 34,
"data": "2606:4700:10::ac42:93f3",
"name": "example.com"
},
{
"ttl": 34,
"data": "2606:4700:10::6814:179a",
"name": "example.com"
}
]
},
"total_records": 9,
"types_queried": [
"A",
"AAAA",
"MX",
"TXT",
"NS"
]
}{
"type": "json",
"example": {
"flat": {
"a": [
"93.184.216.34"
],
"mx": [
"0 ."
],
"txt": [
"v=spf1 -all"
]
},
"domain": "example.com",
"source": "Cloudflare DNS-over-HTTPS (1.1.1.1)",
"records": {
"A": [
{
"ttl": 3600,
"data": "93.184.216.34"
}
],
"MX": [
{
"ttl": 3600,
"data": "0 ."
}
],
"TXT": [
{
"ttl": 3600,
"data": "v=spf1 -all"
}
]
},
"total_records": 5
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"