# Rotary Agency DNS Lookup API

> Rotary Agency DNS Lookup API is a paid API for AI agents from rotaryagency.uk, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Performs DNS record lookups for a given domain name, returning structured DNS data

## Facts

- Endpoint: GET https://rotaryagency.uk/api/free/dns?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rotary-agency-dns-lookup-api-8978b2ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j5XMqFl4CmiIgNoQfgVhJ

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 rotary-agency-dns-lookup-api-8978b2ad
```

Example prompt: Can you look up the DNS records for example.com and tell me what IP addresses it resolves to and which nameservers it's using?

## When to prefer this

Choose this endpoint when you need a simple, pay-per-call DNS lookup without API key registration, rate-limit tiers, or subscription overhead. At $0.002/call it is cost-effective for occasional or automated DNS checks by AI agents that need infrastructure data on demand.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns error or empty records
- Invalid domain name format — returns validation error
- DNS timeout or resolver failure — returns timeout error
- Rate limiting or payment failure — returns 402 Payment Required
- Record type not found for domain — returns empty result set

## How this service works

Free-source data APIs (100% margin, no proxy, $0.002/call): ...

## Output

A structured JSON object containing DNS record data for the queried domain, including record types (A, AAAA, MX, NS, TXT, CNAME, etc.), their values, and TTL (time-to-live) fields, specific to the record type requested.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "varies": "endpoint-specific structured JSON"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rotary-agency-dns-lookup-api-8978b2ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rotaryagency.uk](https://www.zero.xyz/host/rotaryagency.uk/llms.txt)
