# WHOIS RDAP Domain Lookup

> WHOIS RDAP Domain Lookup is a paid API for AI agents from api.stablecoingateways.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-30).

Looks up a domain's registrar, registration/expiry dates, status codes, nameservers, DNS records, and email-auth posture (SPF/DMARC/DKIM) via RDAP and DNS.

## Facts

- Endpoint: GET https://api.stablecoingateways.com/v1/whois?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whois-rdap-domain-lookup-bb7dba90
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X10lxQDJCy52MmUVWB_uL

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

Example prompt: Can you look up the WHOIS and DNS details for stripe.com — I want to know the registrar, when it was registered, when it expires, and whether it has a proper DMARC policy set up?

## When to prefer this

Choose this endpoint when you need to quickly verify a domain's trustworthiness before a payment or business interaction, audit email-auth configuration, or check registration age and expiry — all in a single call that combines RDAP, DNS, and email-security data with a verifiable signed receipt. Prefer it over generic WHOIS tools when you need machine-readable structured output with SPF/DMARC/DKIM included.

## Known failure modes

- Domain not found or unregistered — RDAP returns available:true with limited data
- Registry RDAP service unavailable — partial data returned with a note field explaining the gap
- Invalid domain format — request rejected if domain fails the regex pattern
- TLD not supported by any RDAP bootstrap — fallback or empty RDAP object returned
- DNS resolution failure — DNS sub-object may be empty or missing certain record types
- DKIM selector not configured — dkim_selectors_found returns empty array

## How this service works

WHOIS / RDAP domain lookup: give a domain, get registrar, registration (creation), expiry and last-updated dates, status codes and nameservers from the registry's RDAP service, plus DNS records and SPF/DMARC/DKIM email-auth posture. Use to check a domain's age, owner registrar or expiry before trusting a counterparty. No personal data. Signed receipt.

## Output

A JSON object containing: RDAP data (registrar name and IANA ID, registered/expiry/last-changed dates, status codes, nameservers, DNSSEC signing, availability flag), DNS records (A, AAAA, MX, NS, CAA, TXT count, DNSSEC validation), HTTPS reachability (status code, HSTS, redirect host), email-auth posture (SPF includes and qualifier, DMARC policy and subdomain policy, MTA-STS, DKIM selectors found), plus a signed payment receipt with timestamp, tx hash, and response hash.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "pattern": "^[A-Za-z0-9.-]{3,253}$",
       "description": "Registrable domain or full hostname"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "receipt"
     ],
     "properties": {
      "data": {
       "type": "object",
       "$schema": "https://json-schema.org/draft/2020-12/schema",
       "properties": {
        "dns": {
         "type": "object",
         "properties": {
          "a": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "mx": {
           "type": "array",
           "items": {
            "type": "object"
           }
          },
          "ns": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "caa": {
           "type": "array",
           "items": {}
          },
          "aaaa": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "txt_count": {
           "type": "integer"
          },
          "dnssec_validated_answer": {
           "type": "boolean"
          }
         }
        },
        "rdap": {
         "type": "object",
         "properties": {
          "note": {
           "type": "string"
          },
          "source": {
           "type": "string"
          },
          "status": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "expires": {
           "type": "string"
          },
          "available": {
           "type": "boolean"
          },
          "registra
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "dns": {
    "a": [
     "104.20.23.154"
    ],
    "mx": [
     {}
    ],
    "ns": [
     "hera.ns.cloudflare.com"
    ],
    "caa": [],
    "aaaa": [
     "2606:4700:10::ac42:93f3"
    ]
   },
   "rdap": {
    "source": "https://rdap.verisign.com/com/v1/",
    "available": true,
    "registrar": "RESERVED-Internet Assigned Numbers Authority",
    "registered_domain": "example.com",
    "registrar_iana_id": "376"
   },
   "https": {
    "hsts": null,
    "probed": true,
    "status": 200,
    "reachable": true,
    "redirect_host": null
   },
   "notes": "TLS certificate details are not inspected from Workers; https.reachable reflects a succ...",
   "domain": "example.com",
   "exists": true,
   "sources": [
    "DNS via Cloudflare DoH (cloudflare-dns.com)"
   ],
   "mail_auth": {
    "spf": {
     "present": true,
     "includes": [],
     "all_qualifier": "-all",
     "dns_lookup_terms": 0,
     "multiple_records": false
    },
    "dmarc": {
     "pct": 100,
     "adkim": "s",
     "policy": "reject",
     "present": true,
     "subdomain_policy": "reject"
    },
    "mta_sts": false,
    "dkim_selectors_found": [
     {}
    ],
    "dkim_selectors_checked": [
     "default"
    ]
   },
   "checked_at": "2026-10-22T09:01:19.207Z"
  },
  "receipt": {
   "v": 1,
   "ts": "2026-10-22T09:00:00Z",
   "sig": "hex",
   "price": {
    "asset": "USDC",
    "amount": "3000",
    "network": "eip155:84532"
   },
   "log_seq": 1,
   "tx_hash": "0x..",
   "endpoint_id": "whois-v1",
   "request_hash": "hex",
   "response_hash": "hex"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whois-rdap-domain-lookup-bb7dba90/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.stablecoingateways.com](https://www.zero.xyz/host/api.stablecoingateways.com/llms.txt)
