- Takes: Domain
- Passive: the target is not contacted
Returns the parsed WHOIS record. Other error codes in the error body: 10004 insufficient credits, 10005 unknown error, 10006 no data found. The docs do not list HTTP status codes for these.
Query parameters
domainDomain name to look up
formatResponse format
Response fields · 16ShowHide
domain
Domain name
domain_id
Registry domain ID
status
Domain status
create_date
Creation date
update_date
Last update date
expire_date
Expiry date
domain_age
Domain age in days
whois_server
WHOIS server
iana_id
Registrar IANA ID
name
Registrar name
url
Registrar URL
name
Registrant name; admin, tech and billing have the same fields
organization
Registrant organization
country
Registrant country
email
Registrant email
nameservers[]
Nameservers
curl 'https://api.ip2whois.com/v2?domain=example.com&key=YOUR_API_KEY'{
"domain": "example.com",
"domain_id": "0000000000_DOMAIN_COM-VRSN",
"status": "clientTransferProhibited",
"create_date": "2012-04-03T02:34:32Z",
"update_date": "2021-12-03T02:54:57Z",
"expire_date": "2030-04-03T02:34:32Z",
"domain_age": 3863,
"whois_server": "whois.registrar.example",
"registrar": {
"iana_id": "9999",
"name": "Example Registrar, Inc.",
"url": "https://registrar.example.com"
},
"registrant": {
"name": "Registration Private",
"organization": "Example Org",
"country": "US",
"email": "registrant@example.com"
},
"nameservers": [
"ns1.example.net",
"ns2.example.net"
]
}