# Domain Registration Lookup via RDAP

> Domain Registration Lookup via RDAP is a paid API for AI agents from domain-dns.x402tookit.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-26).

Returns RDAP-based registration facts for a domain: registrar, creation/expiry dates, status codes, nameservers, age in days, and expiry flags.

## Facts

- Endpoint: GET https://domain-dns.x402tookit.com/domain-registration?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-registration-lookup-via-rdap-1d7c79b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cnbR1_FrMbKjdDuJb6TOP

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 domain-registration-lookup-via-rdap-1d7c79b1
```

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, its current status codes, and nameservers?

## When to prefer this

Use this endpoint when you need authoritative registration metadata for a domain (registrar, age, expiry, status, nameservers) sourced from RDAP — the modern, structured replacement for WHOIS. Prefer this over generic WHOIS scrapers when you need machine-readable, standardized output. Ideal for fraud detection workflows (detecting newly registered domains), domain portfolio management, and pre-purchase due diligence. Choose sibling endpoints for DNS record lookups, DNSSEC validation, or email authentication grading.

## Known failure modes

- Domain not found in RDAP (unregistered or unsupported TLD) — returns null fields or empty response
- Invalid domain format — query fails or returns error
- RDAP registry unavailable for the TLD — degraded flag set, partial data returned
- Network timeout reaching upstream RDAP server — degraded or error response
- Punycode/IDN domains may need proper encoding before querying

## How this service works

Registration facts for a domain from RDAP: registrar, created, expires, status and nameservers, with age and expiry flags.

## Output

A JSON object containing: domain name, registrar, created/updated/expires timestamps, array of domain status codes, list of nameservers, age in days, days until expiry, DNSSEC signed flag, a human-readable verdict and summary, the RDAP source URL, and flags for degraded data or unchecked items.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Registrable domain, e.g. example.com"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "domain": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "status": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "ageDays": {
       "type": [
        "null",
        "number"
       ]
      },
      "created": {
       "type": [
        "null",
        "string"
       ]
      },
      "expires": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "updated": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "registrar": {
       "type": [
        "null",
        "string"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "nameservers": {
       "type": [
        "array",
        "null"
       ],
       "items": {
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-registration-lookup-via-rdap-1d7c79b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from domain-dns.x402tookit.com](https://www.zero.xyz/host/domain-dns.x402tookit.com/llms.txt)
