WHOIS domain name lookup
- Curl
curl "https://api.ip2whois.com/v2?key={{token}}&domain=daffa.tech&format=json"
- Raw
GET /v2?key={{token}}&domain=daffa.tech&format=json HTTP/1.1
Host: api.ip2whois.com
- Success
{
"domain":"daffa.tech",
"domain_id":"D205554988-CNIC",
"status":"clientTransferProhibited https://icann.org/epp#clientTransferProhibited",
"create_date":"2020-10-23T06:03:38+00:00",
"update_date":"2021-09-06T07:38:48+00:00",
"expire_date":"2022-10-23T23:59:59+00:00",
"domain_age":602,
"whois_server":"whois.hostinger.com"
...
- Error
{
"error":{
"error_code":10001,
"error_message":"API key not found."
}
}
[A-Z0-9]{32}
LGIWODLS8P9IHLTAC5WL1JDKWIE1ABCD