# WHOIS / RDAP Domain Lookup

> WHOIS / RDAP Domain Lookup is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Looks up WHOIS and RDAP records for a domain, returning registration date, age, expiration, registrar, contacts, nameservers, DNSSEC status, and optionally certificate-transparency data.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/whois-lookup
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-e1511f15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n7sPeCROb8NR78ISfwmU3

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-deployer-x402-deployer-workers-dev-e1511f15 -d '<json body>'
```

Example prompt: Can you pull the WHOIS record for openai.com — I want to know the registrar, when it was registered, when it expires, who the nameservers are, and whether DNSSEC is enabled? Also include the certificate-transparency summary.

## When to prefer this

Use this endpoint when you need authoritative domain registration metadata including registrar, expiry, nameservers, DNSSEC, and status flags. Prefer over generic DNS lookups when ownership, age, or expiration information is specifically needed. Ideal for domain vetting, security research, brand protection monitoring, and due-diligence workflows.

## Known failure modes

- Domain not found or unregistered — returns empty or 404-style response
- WHOIS rate limiting by upstream registry — may return error or partial data
- Invalid domain format — returns validation error
- Registry does not support RDAP — may fall back to WHOIS with reduced structured data
- Redacted WHOIS data (GDPR) — contacts may be empty or privacy-protected

## How this service works

WHOIS / RDAP domain lookup. Registration date, age, expiration, registrar, contacts, nameservers, DNSSEC, status flags, transfer history. Optional certificate-transparency summary.

## Output

Returns a structured record including registration date, domain age, expiration date, registrar name, registrant/admin/tech contact details, nameservers, DNSSEC status, domain status flags, transfer history, and optionally a certificate-transparency summary.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Apex domain to look up (e.g. 'example.com'). Subdomains are stripped to the registrable domain before query."
      },
      "include_certificates": {
       "type": "boolean",
       "description": "If true, fetch a crt.sh certificate-transparency summary (issuer counts, first/last seen, total certs). Default false."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "flags": {
       "type": "array"
      },
      "found": {
       "type": "boolean"
      },
      "domain": {
       "type": "string"
      },
      "age_days": {
       "type": "integer"
      },
      "contacts": {
       "type": "object",
       "properties": {}
      },
      "statuses": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "registrar": {
       "type": "object",
       "properties": {
        "name": {
         "type": "string"
        },
        "iana_id": {
         "type": "string"
        }
       }
      },
      "nameservers": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "rdap_server": {
       "type": "string"
      },
      "cert_summary": {
       "type": "null"
      },
      "last_changed": {
       "type": "string"
      },
      "dnssec_signed": {
       "type": "boolean"
      },
      "transfer_date": {
       "type": "null"
      },
      "expiration_date": {
       "type": "string"
      },
      "registered_date": {
       "type": "string"
      },
      "days_until_expiry": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-e1511f15/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
