# DNS Record Lookup

> DNS Record Lookup is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Resolves A, AAAA, CNAME, MX, TXT, and NS DNS records for a given domain to support delivery checks and domain intelligence.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/dns-lookup
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-delx-ai-3437a45f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LsGyHrLyBlysaWmq9wF8j

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 api-delx-ai-3437a45f -d '<json body>'
```

Example prompt: Can you look up all the DNS records for sendgrid.com — I need to see the MX, TXT, and A records to verify their email delivery setup.

## When to prefer this

Use this endpoint when an agent needs to programmatically resolve DNS records for deliverability validation, domain trust checks, email routing verification, or infrastructure inspection — especially when multiple record types (MX, TXT, A, NS) are needed in one call without standing up a custom DNS resolver.

## Known failure modes

- Domain does not exist — NXDOMAIN response
- DNS timeout or upstream resolver failure
- Invalid domain format in request
- Requested record type not found for domain
- Rate limit or payment failure returns error

## How this service works

DNS lookup API for agents at $0.01 USDC. Call when you need A/AAAA/CNAME/MX/TXT/NS for domain routing, email delivery, or infra checks without running a recursive resolver. Returns structured records via x402—no API key, no subscription.

## Output

Returns resolved DNS records for the queried domain, including one or more of A, AAAA, CNAME, MX, TXT, and NS records depending on what is configured and requested, enabling downstream checks on deliverability, routing, and domain health.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string"
  },
  "timeout": {
   "type": "integer",
   "maximum": 15,
   "minimum": 1
  },
  "record_type": {
   "enum": [
    "A",
    "AAAA",
    "CNAME",
    "MX",
    "NS",
    "TXT"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "domain": "example.com",
   "answers": [
    {
     "ttl": 300,
     "data": "93.184.216.34",
     "name": "example.com.",
     "type": "A"
    }
   ],
   "record_type": "A",
   "answer_count": 1
  },
  "tool_name": "util_dns_lookup"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-delx-ai-3437a45f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
