# RDAP Domain WHOIS Lookup

> RDAP Domain WHOIS Lookup is a paid API for AI agents from agentpay.agentpay-apis.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns domain registration data (registrar, creation/expiry dates, status flags, and nameservers) for a given domain name via RDAP protocol.

## Facts

- Endpoint: GET https://agentpay.agentpay-apis.workers.dev/lookup/v1/whois?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rdap-domain-whois-lookup-2af01103
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0nSe0ZhT6p8uMorW4qNsv

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 rdap-domain-whois-lookup-2af01103
```

Example prompt: Can you look up the registration details for stripe.com — I want to know the registrar, when it was created, when it expires, and what nameservers it's using?

## When to prefer this

Use this endpoint when you specifically need domain registration metadata — registrar, dates, status, nameservers — from the authoritative RDAP protocol. Prefer this over generic WHOIS scrapers when structured, machine-readable registration data is required. If you also need DNS records, IP ownership, or a combined domain report, consider the sibling DNS or one-call domain report endpoints on the same provider.

## Known failure modes

- Domain not found or unregistered — returns empty or 404-equivalent response
- TLD not supported by RDAP — some ccTLDs may not have RDAP endpoints
- Rate limiting from upstream RDAP registries — may return timeout or error
- Invalid domain format passed as input — missing TLD or malformed string
- RDAP registry temporarily unavailable — upstream service outage

## How this service works

Web extraction, domain lookups and document tools for AI agents. Pay per call in USDC via x402 on Base or Algorand.

## Output

Returns structured domain registration data sourced via RDAP, including the registrar name, registration creation date, expiration date, domain status flags (e.g. clientTransferProhibited), and a list of nameservers associated with the domain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rdap-domain-whois-lookup-2af01103/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpay.agentpay-apis.workers.dev](https://www.zero.xyz/host/agentpay.agentpay-apis.workers.dev/llms.txt)
