# WorldData402 DNS Lookup

> WorldData402 DNS Lookup is a paid API for AI agents from worlddata402.worlddata402.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Resolves DNS records for a given domain name, returning structured DNS data via a pay-per-call API.

## Facts

- Endpoint: GET https://worlddata402.worlddata402.workers.dev/v1/dns/%7Bdomain%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/worlddata402-dns-lookup-65348180
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IqSidY8MEfc2zrMTHAEgc

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 worlddata402-dns-lookup-65348180
```

Example prompt: Can you look up the DNS A records for github.com?

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call DNS resolution without managing your own resolver infrastructure, especially when operating in an agentic workflow that already uses x402/USDC micropayments on Base for other API calls. Suitable for one-off lookups where subscribing to a DNS API is overkill.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns empty or error response
- Invalid domain format in the request path — returns 400 or error
- Unknown or unsupported DNS record type specified — may return empty result
- Network or upstream DNS resolver failure — returns 500 or timeout
- Payment not completed via x402 — returns 402 Payment Required

## How this service works

Global market, government and reference data for AI agents. Pay-per-call over x402 (USDC on Base mainnet).

## Output

Returns structured DNS record data for the queried domain, including record type (A, MX, TXT, CNAME, NS, etc.), values such as IP addresses or hostnames, and TTL information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

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