# DNS Intelligence API

> DNS Intelligence API is a paid API for AI agents from dns.payapi.market, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-17).

Retrieves comprehensive DNS records (A, AAAA, MX, NS, SOA, TXT, CNAME) for a given domain, along with WHOIS, SSL certificate, subdomain discovery, and reverse-IP data.

## Facts

- Endpoint: POST https://dns.payapi.market/dns/full?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-intelligence-api-72a1e344
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_daHTr7XAf7Fn4YEZGSeG2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dns-intelligence-api-72a1e344 -d '<json body>'
```

Example prompt: Can you pull all the DNS records for payapi.market — I want to see the A, MX, NS, TXT, and CNAME entries, plus any subdomain and WHOIS info you can find?

## When to prefer this

Choose this endpoint when you need a comprehensive, all-in-one DNS intelligence snapshot for a domain in a single call, especially when you want DNS records alongside WHOIS, SSL, subdomain, and reverse-IP data together. Ideal for security research, infrastructure auditing, email troubleshooting, and domain due diligence workflows where breadth of DNS context matters.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns empty or null record sets
- Invalid domain format — API may return a validation error
- Payment failure via x402 — request not processed if USDC payment is rejected
- DNS timeout or upstream resolver failure — partial or missing records
- Domains with strict privacy protection may return limited WHOIS data

## How this service works

DNS records, WHOIS, SSL certificate, subdomain discovery, and reverse-IP lookup with x402 payments.

## Output

A JSON object containing the queried domain and a 'records' object with arrays for each DNS record type (A, AAAA, MX, NS, SOA, TXT, CNAME), plus WHOIS registration data, SSL certificate details, discovered subdomains, and reverse-IP lookup results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "description": "Domain name to resolve, e.g. 'example.com'. Bare host, no scheme or path required."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "domain": "example.com",
  "records": {
   "A": [
    "96.7.128.198",
    "23.192.228.80"
   ],
   "MX": [
    {
     "exchange": "mail.example.com",
     "preference": 10
    }
   ],
   "NS": [
    "a.iana-servers.net",
    "b.iana-servers.net"
   ],
   "SOA": [
    {
     "mname": "ns.icann.org",
     "retry": 3600,
     "rname": "noc.dns.icann.org",
     "expire": 1209600,
     "serial": 2024010101,
     "minimum": 3600,
     "refresh": 7200
    }
   ],
   "TXT": [
    "v=spf1 -all"
   ],
   "AAAA": [
    "2600:1408:ec00:36::1736:7f24"
   ],
   "CNAME": []
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-intelligence-api-72a1e344/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dns.payapi.market](https://www.zero.xyz/host/dns.payapi.market/llms.txt)
