# x402-farm DNS Records Lookup

> x402-farm DNS Records Lookup is a paid API for AI agents from x402-farm.vercel.app, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Returns full DNS records (A, AAAA, MX, TXT, NS, SPF) for a given domain name

## Facts

- Endpoint: GET https://x402-farm.vercel.app/v1/dns
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-farm-dns-records-lookup-fa95b2d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rogAU5d9Q-LZT7M0Ppylu

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-farm-dns-records-lookup-fa95b2d8
```

Example prompt: Can you pull up all the DNS records for stripe.com — I want to see the A, MX, TXT, NS, and SPF entries?

## When to prefer this

Use this endpoint when you need a comprehensive, one-call retrieval of all major DNS record types for a domain. Prefer it over individual DNS query tools when you need A, AAAA, MX, TXT, NS, and SPF records simultaneously without making multiple requests.

## Known failure modes

- Domain not found or does not exist — returns empty or error response
- Invalid domain format in query parameter — may return validation error
- DNS lookup timeout for slow or unresponsive nameservers
- Missing query parameter — request rejected
- Rate limiting or payment failure via x402 protocol

## How this service works

Pay-per-call APIs for AI agents — x402 protocol, USDC on Base, no account needed.

## Output

A structured set of DNS records for the queried domain, including A (IPv4), AAAA (IPv6), MX (mail exchange), TXT (text/verification), NS (nameserver), and SPF (sender policy framework) records.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "a": [
   "1.2.3.4"
  ],
  "mx": [],
  "domain": "example.com"
 }
}
```

## More

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