Look up a WHOIS / RDAP record
curl --request GET \
--url https://my.server.express/api/v1/public/whoisconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/public/whois', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/public/whois"
response = requests.get(url)
print(response.text){
"success": true,
"data": {
"query": "<string>",
"kind": "domain",
"source": "rdap",
"servers": [
"<string>"
],
"record": "<string>",
"summary": {
"registrar": "<string>",
"created": "<string>",
"updated": "<string>",
"expires": "<string>",
"status": [
"<string>"
],
"nameservers": [
"<string>"
],
"dnssec": true
},
"truncated": true,
"cached": true
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Public Tools
Look up a WHOIS / RDAP record
Registry record for a domain, an IP address or an AS number. Tries RDAP first and falls back to port-43 WHOIS, following referrals. Answers are cached in memory for an hour; cached says whether this one was. 404 means the domain isn’t registered. Limited to 20 requests per minute per IP.
GET
/
v1
/
public
/
whois
Look up a WHOIS / RDAP record
curl --request GET \
--url https://my.server.express/api/v1/public/whoisconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/public/whois', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/public/whois"
response = requests.get(url)
print(response.text){
"success": true,
"data": {
"query": "<string>",
"kind": "domain",
"source": "rdap",
"servers": [
"<string>"
],
"record": "<string>",
"summary": {
"registrar": "<string>",
"created": "<string>",
"updated": "<string>",
"expires": "<string>",
"status": [
"<string>"
],
"nameservers": [
"<string>"
],
"dnssec": true
},
"truncated": true,
"cached": true
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}