WHOIS and RDAP
API key v1Registrar, dates, status and nameservers for a domain.
Looks the domain up over RDAP, the structured successor to WHOIS, using the IANA bootstrap to find the right registry, and falls back to the classic port-43 WHOIS service for registries without RDAP. Returns the registrar, creation, update and expiry dates, EPP status codes, nameservers and DNSSEC flag.
https://api.zactonz.com/domain/whois/
Parameters
| Name | Type | Description |
|---|---|---|
domainrequired |
string |
Domain name. A host name or URL is reduced to its registrable domain. |
raw |
boolean |
Default
|
Send parameters in the query string.
Response
OK
| Field | Type | Description |
|---|---|---|
status |
integer |
|
data |
object | The result. |
data.domain |
string | Registrable domain. |
data.source |
string |
|
data.registry |
string | RDAP base URL or WHOIS server used. |
data.registrar |
string | Registrar name. |
data.abuse_contact |
string | Registrar abuse email when published. |
data.status |
array of string | EPP status codes. |
data.created |
string | Registration date. |
data.updated |
string | Last change. |
data.expires |
string | Expiry date. |
data.nameservers |
array of string | Delegated nameservers. |
data.dnssec |
boolean | Whether the delegation is signed. |
data.raw |
string | Raw WHOIS text, only with |
Status codes
The outcome is reported in the JSON status field. See Errors & status codes for the general rules.
400 |
Bad request |
|
404 |
Not found | The registry has no record for this domain. |
422 |
No service | No RDAP or WHOIS service is known for that top-level domain, or it did not answer. |
503 |
Registry busy | The registry is rate limiting; retry shortly. |
401 |
Unauthorized | The Authorization header is missing or the key is not recognised. |
403 |
Forbidden | The key is not licensed for this product. |
429 |
Too many requests | The per-minute rate or the plan quota is exhausted. Retry after the seconds given in |
Notes
Subdomains are reduced to the registrable domain. Answers are cached for an hour. Registries rate-limit lookups; a 503 means the registry asked us to slow down.