WHOIS Lookup
whois_lookupRetrieve domain registration details (registrar, expiry dates, name servers, status) via raw WHOIS. Automatically resolves the authoritative WHOIS server and follows referrals without an API key.
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 |
|---|---|---|---|
| raw | Yes | ||
| domain | Yes | ||
| status | Yes | ||
| created | No | ||
| expires | No | ||
| updated | No | ||
| registrar | No | ||
| name_servers | Yes | ||
| whois_server | No | ||
| registrant_org | No |