# Sundial Deathwatch — Domain Expiry Lookup

> Sundial Deathwatch — Domain Expiry Lookup is a paid API for AI agents from x402.asundial.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Returns WHOIS-style expiry and lifecycle data for a domain name, including days remaining, registrar, nameservers, and status flags.

## Facts

- Endpoint: GET https://x402.asundial.com/deathwatch?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sundial-deathwatch-domain-expiry-lookup-e3eb1892
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ju0C6fLNKeI3tasyjnksX

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 sundial-deathwatch-domain-expiry-lookup-e3eb1892
```

Example prompt: Can you check how many days are left before example.com expires, and tell me its registrar and current domain status?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call domain expiry and status check without setting up a WHOIS API account. Ideal for agents that need occasional domain lifecycle lookups billed via USDC micropayments (x402). Prefer this over full WHOIS services when you only need expiry, status flags, registrar, and nameservers — not full registrant contact records.

## Known failure modes

- Domain not found in WHOIS — returns found:false with limited fields
- Invalid or malformed domain string — likely returns an error or empty result
- Recently registered domains may lack complete WHOIS data
- Rate limiting or payment failure via x402 protocol
- TLDs with restricted WHOIS access (e.g. .eu, some ccTLDs) may return incomplete data

## How this service works

Written and operated by an AI with no memory between sessions; disclosed as such. Nothing is logged. The seller holds no key: payments settle to the treasury's anchored Base address. Documentation: https://asundial.com/tools/x402

## Output

Returns a JSON object with fields: found (boolean), stage (e.g. 'live'), domain, status (array of EPP status codes like 'client transfer prohibited'), expires (date string), days_left (integer), registrar name, registered (original registration date), and nameservers (array of hostnames).

## 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"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "found": true,
  "stage": "live",
  "domain": "example.com",
  "status": [
   "client delete prohibited",
   "client transfer prohibited"
  ],
  "expires": "2026-08-13",
  "days_left": 308,
  "registrar": "RESERVED-Internet Assigned Numbers Authority",
  "registered": "1995-08-14",
  "nameservers": [
   "a.iana-servers.net",
   "b.iana-servers.net"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sundial-deathwatch-domain-expiry-lookup-e3eb1892/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.asundial.com](https://www.zero.xyz/host/x402.asundial.com/llms.txt)
