WHOIS Lookup
whois_lookupRetrieve domain registration details including registrar, creation/expiry dates, name servers, and status via raw WHOIS protocol. No API key required.
Instructions
Look up domain registration data over the raw WHOIS protocol (port 43): registrar, creation/update/expiry dates, name servers and domain status. Resolves the correct WHOIS server via IANA and follows registrar referrals. No API key.
Args:
domain (string): the domain to look up.
response_format ('markdown' | 'json'): output format (default 'markdown'). JSON includes the raw WHOIS text.
Returns: { domain, registrar, created, updated, expires, name_servers[], status[], whois_server }.
Example: "Who is the registrar for openai.com and when does it expire?" -> whois_lookup(domain="openai.com"). Errors: returns an error if no WHOIS server answers (some ccTLDs restrict or rate-limit WHOIS).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to look up, e.g. 'example.com'. | |
| response_format | No | Output format: 'markdown' for a human-readable summary (default) or 'json' for the full structured payload. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| whois_server | No | ||
| registrar | No | ||
| created | No | ||
| updated | No | ||
| expires | No | ||
| name_servers | Yes | ||
| status | Yes | ||
| registrant_org | No | ||
| raw | Yes |