lookup_domain
Look up domain registration over RDAP (the ICANN successor to WHOIS) -- the tool to reach for when someone asks when a domain expires, who its registrar is, or whether it is registered at all. Returns the registrar, creation and expiry dates, days until expiry, EPP status codes (e.g. clientTransferProhibited) and nameservers, with isExpired / isExpiringSoon flags, a 0-100 score and a one-line summary. Up to 10 domains per call; URLs and www. are stripped. A TLD with no RDAP service is reported as a failed lookup with the reason, never guessed. Paid: $0.01 per call in USDC on Base via x402 -- call once without x_payment to receive the payment challenge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domains | Yes | Domains to look up (max 10) | |
| x_payment | No | Optional X-PAYMENT header value from a completed x402 payment. Omit on first call to receive the payment challenge; complete the payment with your x402 wallet tooling, then retry with this set. | |
| expiryWarningDays | No | Flag domains expiring within this many days (default 30) |