DEV Community

Алексей Спинов
Алексей Спинов

Posted on

How to Scrape Domain and WHOIS Data (Free APIs)

Domain data is valuable for sales, security, and SEO teams.

Free WHOIS APIs

RDAP (Official, Free)

async function whoisLookup(domain) {
  const res = await fetch(`https://rdap.org/domain/${domain}`);
  return res.json();
}
const data = await whoisLookup("example.com");
Enter fullscreen mode Exit fullscreen mode

ip-api.com (IP Geolocation, Free)

https://ip-api.com/json/example.com
Enter fullscreen mode Exit fullscreen mode

SecurityTrails (Free Tier)

DNS history, subdomains, WHOIS records.

Data Available

  • Domain registration date
  • Expiry date
  • Registrar
  • Nameservers
  • DNS records (A, MX, TXT)
  • IP address and hosting provider
  • SSL certificate info

Use Cases

  1. Lead generation — find domains about to expire
  2. Competitive intelligence — hosting and tech stack
  3. Security research — subdomain enumeration
  4. SEO analysis — domain age and authority
  5. Brand protection — similar domain monitoring

Resources


Need domain or WHOIS data? $20. Email: Spinov001@gmail.com | Hire me

Top comments (0)