🕵️

WHOIS / RDAP Lookup

Look up domain registration details via RDAP.

GET /v1/whois
curl "https://dns.toolkitapi.io/v1/whois?domain=toolkitapi.io"
import httpx

resp = httpx.get(
    "https://dns.toolkitapi.io/v1/whois?domain=toolkitapi.io",
)
print(resp.json())
const resp = await fetch("https://dns.toolkitapi.io/v1/whois?domain=toolkitapi.io", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response 200 OK
{
  "status": "ok",
  "data": {
    "domain": "toolkitapi.io",
    "registrar": "RESERVED-Internet Assigned Numbers Authority",
    "created": "1995-08-14T00:00:00Z",
    "expires": "2025-08-13T00:00:00Z",
    "updated": "2024-08-14T07:01:38Z",
    "nameservers": ["a.iana-servers.net", "b.iana-servers.net"],
    "dnssec": true,
    "statuses": ["clientDeleteProhibited", "clientTransferProhibited"]
  }
}

Try It Live

Live Demo

Description

Look up domain registration details via RDAP.

How to Use

1

1. Pass the target domain in the `domain` parameter.

2

2. The response includes registration dates, registrar name, nameservers, DNSSEC status, and domain status codes.

3

3. Check the `expires` field to monitor domain expiration. Check `dnssec` to verify DNSSEC is enabled.

About This Tool

WHOIS / RDAP Lookup retrieves domain registration details using RDAP, the modern replacement for the legacy WHOIS protocol. It returns structured JSON data about the registrar, creation and expiration dates, nameservers, DNSSEC status, and EPP status codes.

RDAP provides more reliable, machine-readable output than raw WHOIS text, and is supported by all major TLD registries including ICANN gTLDs and most ccTLDs.

Why Use This Tool

Frequently Asked Questions

What is RDAP?
RDAP (Registration Data Access Protocol) is the IETF-standard successor to WHOIS. It returns structured JSON instead of free-text, supports HTTPS, and has better internationalisation. All ICANN-accredited registries are required to run RDAP servers.
Why are contact details redacted?
Since GDPR, most registrars redact personal contact information from WHOIS/RDAP responses. You'll see "REDACTED FOR PRIVACY" in place of registrant email and address. To contact the registrant, use the registrar's web form or the abuse contact returned in the response.
Does this work for all TLDs?
RDAP coverage is excellent for all gTLDs (.com, .net, .org, etc.) and most ccTLDs. Some ccTLD registries don't yet support RDAP — in those cases the API falls back to legacy WHOIS parsing.

Start using WHOIS / RDAP Lookup now

Get your free API key and make your first request in under a minute.