# DNS Lookup API by klymax402

> DNS Lookup API by klymax402 is a paid API for AI agents from dns-lookup.api.klymax402.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Looks up DNS records of a specified type (A, AAAA, MX, TXT, CNAME, NS, SOA, SRV) for a given domain name

## Facts

- Endpoint: GET https://dns-lookup.api.klymax402.com/api/lookup
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-lookup-api-klymax402-com-d1345cc3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Af6sFgyvPLBw0MKiww7ND

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-lookup-api-klymax402-com-d1345cc3
```

Example prompt: Can you look up the MX records for gmail.com so I can see which mail servers handle their email?

## When to prefer this

Use this endpoint when an agent needs to programmatically resolve DNS records for any domain, particularly useful for verifying email server configuration (MX), checking IPv4/IPv6 addresses (A/AAAA), inspecting TXT records for SPF/DKIM, or auditing nameserver setup. At $0.002 per call it's cost-effective for occasional lookups within agentic workflows.

## Known failure modes

- Invalid domain name returns an error or empty result
- Unsupported record type causes a validation error
- Domain does not exist (NXDOMAIN) returns empty or error response
- Network timeout if upstream DNS resolver is slow
- Malformed domain string (e.g. spaces or invalid characters) may return 400 error

## How this service works

Lookup DNS records for a domain

## Output

Returns DNS record data for the specified domain and record type, including record values such as IP addresses, hostnames, priorities, or text strings depending on the requested record type (A, AAAA, MX, TXT, CNAME, NS, SOA, or SRV).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "type": "string",
   "description": "DNS record type: A, AAAA, MX, TXT, CNAME, NS, SOA, SRV (default: A)"
  },
  "domain": {
   "type": "string",
   "description": "Domain name to lookup (e.g. example.com)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-lookup-api-klymax402-com-d1345cc3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dns-lookup.api.klymax402.com](https://www.zero.xyz/host/dns-lookup.api.klymax402.com/llms.txt)
