WHOIS API - Domain Registrar, Expiry & Nameservers
Queries WHOIS/RDAP data for a domain name. Returns registrar, status, creation date, expiry, and nameservers.
Code examples
curl -X POST https://api.botoi.com/v1/whois \
-H "Content-Type: application/json" \
-d '{"domain":"example.com"}'When to use this API
Monitor domain expiration for your portfolio
Schedule daily WHOIS lookups for all domains in your portfolio. Alert your team 30, 14, and 7 days before expiry so you never lose a domain because of a missed renewal. Track the expires field for each domain.
Assess domain age for lead qualification
When evaluating a potential business partner or supplier, check their domain creation date. Domains registered within the last few months can indicate a newly formed company, while decades-old domains suggest an established organization.
Detect suspicious domains in phishing analysis
When investigating a phishing email, look up the WHOIS data for the suspicious domain. Check the creation date, registrar, and nameservers. Phishing domains are often registered days before the attack with privacy-guarded registration.
Frequently asked questions
What is the difference between WHOIS and RDAP?
Why are some WHOIS fields null?
Does this work for all TLDs?
What do the status codes mean?
Can I look up IP address WHOIS data?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.