# RDAP Domain Age

> RDAP Domain Age is a paid API for AI agents from rdap.hsharmanov02.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

Returns domain registration age, registration date, expiry date, and registrar name for any domain via RDAP lookup

## Facts

- Endpoint: GET https://rdap.hsharmanov02.workers.dev/age?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rdap-domain-age-0bc67848
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KoDbq6tclfO64WodycU6q

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-age-0bc67848
```

Example prompt: Can you check how old the domain openai.com is — when was it registered, when does it expire, and who's the registrar?

## When to prefer this

Use this endpoint when you need structured, machine-readable domain age and registrar data without requiring an API key. It is ideal for agents that need to enrich domain metadata, perform fraud checks, or research domain histories programmatically. Prefer this over WHOIS-based tools when you need consistent JSON output and RDAP compliance.

## Known failure modes

- Domain not found in RDAP — returns error or empty response
- Domain registry does not support RDAP — lookup may fail
- HTTP 402 returned if payment is not included or payment signature is invalid
- Malformed domain input causes query failure
- RDAP registry temporarily unavailable causing timeout

## How this service works

Domain registration age + registrar via RDAP: registration date, age in days/years, expiry date, registrar name for any domain. Paid per call: $0.002 USDC on Base, Monad, Arbitrum, Optimism, Polygon, Avalanche or Solana (eip155:8453) via x402 v2 (exact scheme, EIP-3009). Unpaid requests return HTTP 402 with machine-readable payment instructions; the buyer signs the EIP-3009 authorization off-chain and retries with the PAYMENT-SIGNATURE header. The facilitator pays the gas, so the buyer needs no ETH. No API key.

## Output

A JSON object containing the domain name, registration date (ISO 8601), expiry date (ISO 8601), age in days, age in years, registrar name, RDAP service identifier, and the timestamp of when the check was performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "json"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": true
  }
 },
 "additionalProperties": true
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "domain": "example.com",
  "expires": "2027-08-13T04:00:00Z",
  "service": "rdap",
  "age_days": 11352,
  "age_years": 31.1,
  "registrar": "Example Registrar, Inc.",
  "checked_at": 1759099200,
  "registered": "1995-08-14T04:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rdap-domain-age-0bc67848/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rdap.hsharmanov02.workers.dev](https://www.zero.xyz/host/rdap.hsharmanov02.workers.dev/llms.txt)
