# Pocket Network DNS + WHOIS/RDAP Lookup

> Pocket Network DNS + WHOIS/RDAP Lookup is a paid API for AI agents from agent.pocket.network, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Retrieves DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA) and RDAP domain registration data for any domain in a single JSON response.

## Facts

- Endpoint: POST https://agent.pocket.network/v1/dns-whois-rdap?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pocket-network-dns-whois-rdap-lookup-56b3b29e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DqiEGqiXrSjJoAdujl1PL

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 pocket-network-dns-whois-rdap-lookup-56b3b29e -d '<json body>'
```

Example prompt: Can you pull up all the DNS records and registration details for stripe.com — I want to see the A, MX, TXT, and NS records along with who registered it and when?

## When to prefer this

Choose this endpoint when you need both DNS records and RDAP/WHOIS registration data combined in one API call with no API key setup, paying per request in USDC. Ideal for agents that need deterministic, on-demand domain intelligence without managing credentials or subscriptions.

## Known failure modes

- Domain not found or does not exist — returns empty or error response
- Invalid domain format supplied — validation error
- RDAP data unavailable for certain TLDs — partial response with DNS records only
- Network timeout reaching authoritative DNS servers
- Rate limiting or payment failure for USDC transaction

## How this service works

Domain intelligence: DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA) plus RDAP registration data. POST /v1/dns with a {domain} and get the records and registration as one JSON object. Deterministic per lookup instant. Pay per request in USDC; no account, no API key.

## Output

A single JSON object containing all available DNS record types (A, AAAA, MX, TXT, NS, CNAME, SOA) for the queried domain alongside RDAP registration data including registrar, registration date, expiry date, and registrant information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "description": "Domain name, e.g. example.com."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "portal": {
   "serviceId": "dns-whois-rdap",
   "provenance": "third-party-supplier",
   "schemaCheck": "passed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pocket-network-dns-whois-rdap-lookup-56b3b29e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.pocket.network](https://www.zero.xyz/host/agent.pocket.network/llms.txt)
