# x402 Multi-Tool API — DNS Lookup

> x402 Multi-Tool API — DNS Lookup is a paid API for AI agents from x402deploy.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Resolves DNS records for a given domain name, returning IP addresses or other record data by type (A, AAAA, MX, TXT, NS, CNAME)

## Facts

- Endpoint: POST https://x402deploy.vercel.app/api/dns
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-multi-tool-api-dns-lookup-d04e50f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K0lZ3ZGq88eqnIW2SVGJ3

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 x402-multi-tool-api-dns-lookup-d04e50f7 -d '<json body>'
```

Example prompt: Can you look up the A record for stripe.com and tell me what IP address it resolves to?

## When to prefer this

Use this endpoint when you need a quick, no-auth DNS resolution for any standard record type without setting up your own DNS resolver. Ideal for AI agents that need to verify domain infrastructure, check mail routing, or resolve hostnames on-demand for $0.005 USDC per call with no API key required.

## Known failure modes

- Domain does not exist — empty records array or non-zero status code
- Invalid record type string returns an error
- Network or upstream DNS resolver timeout
- Malformed domain name input causes validation error
- Payment failure via x402 prevents request execution

## How this service works

Pay-per-request data toolkit for AI agents — 13 no-auth tools, $0.005 USDC each via x402. Web search, read URL, crypto price/markets/trending, Wikipedia, news headlines, weather, FX rates, IP geolocation, DNS lookup, stock quotes, and domain WHOIS.

## Output

Returns the queried domain name, record type, total number of records, a status code (0 = success), and an array of resolved record values (e.g. IP addresses for A records, hostnames for MX/NS/CNAME, strings for TXT).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "name"
 ],
 "properties": {
  "name": {
   "type": "string",
   "description": "Domain name to resolve, e.g. 'example.com'"
  },
  "type": {
   "type": "string",
   "description": "Record type: A, AAAA, MX, TXT, NS, CNAME"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "name": "example.com",
 "type": "A",
 "total": 1,
 "status": 0,
 "records": [
  "93.184.216.34"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-multi-tool-api-dns-lookup-d04e50f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402deploy.vercel.app](https://www.zero.xyz/host/x402deploy.vercel.app/llms.txt)
