Domain WHOIS data is essential for many workflows: checking domain expiry before renewal, detecting ownership changes, finding nameservers, or monitoring competitor domains.
Most WHOIS lookups require command-line tools, manual queries, or expensive services. I built Domain WHOIS Lookup API — a simple REST endpoint that returns structured WHOIS data for any domain.
What it returns
Single POST request gives you:
Registrar — who registered the domain
Creation date — when the domain was registered
Expiry date — when it expires (with days-until-expiry counter)
Updated date — last update timestamp
Nameservers — DNS servers pointing to domain's host
Country — registrant country
IP address — resolved IP of the domain
Status codes — registration status (locked, active, etc)
Organization — registrant organization name
Quick start
Python
import requests
url = " https://domain-whois-lookup.p.rapidapi.com/whois " headers = { " X-RapidAPI-Key " : " YOUR_KEY " , " Content-Type " : " application/json " }…