POST https://api.hexomatic.com/tool-api/discover-whois?key={YOUR_API_KEY}
Fields | |
---|---|
YOUR_API_KEY | string to get YOUR_API_KEY visit hexomatic settings API/Webhook section and copy your key |
Fields | |
---|---|
source | string you should provide a domain |
{
"source": "example.com"
}
if request is successful you will get
{
"taskId": "13f4b463-7e8a-429a-b62b-4afde618a154"
}
if request is not successful you will get
{
"statusCode": 403,
"message": "Forbidden"
}
GET https://api.hexomatic.com/tool-api/result/{TASK_ID}?key={YOUR_API_KEY}
Fields | |
---|---|
YOUR_API_KEY | string to get YOUR_API_KEY visit hexomatic settingsand API/Webhook section and copy your key |
TASK_ID | string if you did Discover WHOIS POST request you must have received taskId that is valid one month after making the POST request. You can try to make this GET request with apx 5 minutes frequency after making the POST request for the tool. |
if request is successful you will get
{
"result": {
"_whois_url": "https://example.com/"
"_whois_domain": "example.com"
"_whois_status": "Registered"
"_whois_exists": true
"_whois_expiresAt": "2023-01-19T06:23:59.000Z"
_whois_expirationDays": 418
_whois_lastModified": "2021-02-07T10:33:30.000Z"
_whois_registeredAt": "2019-01-19T06:23:59.000Z"
_whois_fullText": "DOMAIN_FULL_INFORMATION"
_whois_dnsData": "DNS_DATA"
}
}
if request is not successful you will get
{
"statusCode": 403,
"message": "Forbidden"
}