WHOIS API

Processor chip with the QuantumProxies mark inlaid in blue glass on its chrome heat spreader: the Data APIs and the MCP server

A WHOIS API returns a domain's registration record as data instead of text. This one queries RDAP and falls back to the registry's port-43 WHOIS server where RDAP does not exist, so a .de, .it, .eu or .io domain comes back in the same JSON row as a .com: registrar, creation, expiry and update dates, EPP status, nameservers and DNSSEC.

The fallback is the point. Of the 1,437 top-level domains in the IANA root zone list, 1,203 publish an RDAP server in the IANA RDAP bootstrap registry — but only 72 of the 248 country-code TLDs do. An RDAP-only client silently loses most of Europe's ccTLDs. Send up to 25 domains per call, as bare names or URLs; domains that do not resolve are reported under failed and never billed. It is one corner of a domain-footprint triangle with the DNS lookup API and the Certificate Transparency API.

$0.005 per delivered domain, up to 25 domains per run. Nothing delivered means nothing charged.

How the WHOIS API works

You post a domains array. URLs are stripped down to their registrable domain first, so a column of links pasted straight from a spreadsheet works without a cleanup pass.

For each domain the collector looks up the TLD's authoritative server in the IANA bootstrap (RFC 9224) and asks it over RDAP, the JSON-over-HTTPS protocol defined in RFC 9083. When the TLD has no RDAP service, it asks the registry's own WHOIS server on port 43 (RFC 3912) and parses the text reply into the same row. Three behaviours matter in practice:

Coverage by TLD type, counted from the IANA files published on 30 September and 10 October 2026:

TLD typeIn the root zoneWith RDAPHow this API answers
All TLDs1,4371,203RDAP, then port-43 WHOIS
Country-code (ccTLD)24872RDAP where published, registry WHOIS otherwise
Generic (gTLD)1,1891,131RDAP, required by ICANN contract

We checked the fallback on 10 October 2026 with a 25-domain batch across 25 TLDs: .io, .co, .de, .it, .eu, .be, .mx and .us — none of which publish RDAP — came back as rows from their registries' WHOIS servers, in the same call as the RDAP answers for .com, .org, .net, .dev, .ai, .gov, .uk, .fr, .nl and .ca.

Inputs

domains is the one required field: an array of up to 25 bare domains or URLs per run. max_results (default 10, cap 25) trims how many of them are actually looked up — a cheap guard when the list is assembled by an upstream job you do not fully trust.

What one domain looks like

Each row carries registrar and registrar_iana_id, the created, expires and updated timestamps, the full status array of EPP codes, delegated nameservers, a boolean dnssec, and the url of the source record — RDAP or WHOIS — if you ever need to argue with it. Some registries publish less than others: DENIC (.de) returns only the status over public WHOIS, so dates stay null there instead of being guessed. Note what is absent everywhere: registrant name, email and address — registries redacted those years ago.

What the WHOIS API costs

$0.005 per delivered domain ($5 per 1,000). Nothing delivered means nothing charged, and the $2 monthly free credit covers roughly 400 domains here. Volume tiers take up to 30% off.

$0.005 per resolved domain — $5 per 1,000. A weekly expiry sweep over a 2,000-domain portfolio costs ten dollars a week; a one-off enrichment of a 50,000-domain lead list is $250. The monthly free allowance of $2 covers 400 lookups with no card on file.

Only delivered rows are billed. If half your list turns out to be unregistered typos, the invoice reflects the half that existed.

WHOIS API vs querying registries directly

Straight answer: RDAP is a free, open protocol. For one domain, curl https://rdap.org/domain/example.com works today, unauthenticated, and if that is your whole need you should use it.

The paid product begins where the protocol's uniformity ends. Every registry runs its own RDAP server with its own rate limits and its own reading of the spec, and 176 ccTLDs run none at all. Batch work therefore means bootstrap logic, a port-43 client and a text parser per registry, per-registry throttling, retry policy and a decision about what to do with the misses. This collector compresses all of that into one request shape, one row schema, one failure bucket and one meter, on the same API key that runs your other collectors.

Port-43 WHOISRDAPThis WHOIS API
OutputFree text, layout varies per registryJSON, nesting varies per registryOne flat JSON row, same fields for every TLD
TransportTCP port 43, no encryptionHTTPSHTTPS, one REST call
TLD coverageVaries; no longer required for most gTLDs1,203 of 1,437 TLDsRDAP TLDs plus ccTLD WHOIS servers
BulkOne query per connection, strict per-IP limitsOne domain per requestUp to 25 domains per call
Failed lookupsYour problemYour problemListed under failed, not billed
CostFree, plus your parserFree, plus your bootstrap and retries$5 per 1,000 delivered domains

Versus scripting whois lookups yourself

The whois command in a loop is how everyone starts, and it collapses on three predictable fronts:

If you want to keep your own tooling and just need the network, the residential proxies this rides on are sold separately. If you want rows, this endpoint is the shortcut.

What people build with it

Domain expiry monitoring

Run your portfolio weekly and alert when expires crosses a threshold or status gains a code like redemptionPeriod. Catching one lapsed renewal a month early is worth more than a year of the collector's bill.

Lead and vendor enrichment

A domain's created date is a fast proxy for company age, and its registrar plus dnssec posture hints at operational maturity. Enrich a CRM export in one batch call per 25 rows.

Phishing and typosquat triage

For a pile of suspicious lookalikes, registration date is the tell — a bank's real domain is decades old, its impostor was registered on Tuesday. The failed bucket doubles as a free answer to which candidate typos are still unregistered.

Fraud checks at signup

Look up the domain behind a new customer's email or website before approving the account or the payment. A business domain created last week, on a registrar with no DNSSEC and a clientHold status, is a reason for a second look.

Brand protection

Feed lookalike and misspelled variants of your trademark through the API on a schedule. New rows with a recent created date are fresh registrations worth a takedown review; the registrar and its IANA id tell you where to send the abuse report.

Limits, redactions and the legal bit

Up to 25 domains per run; bigger lists are more runs, and independent runs parallelise up to your plan's request ceiling — from 60 a minute on pay-as-you-go to 1,200 on the largest tier. A few registries answer neither RDAP nor public WHOIS — .es, for one, offers only a web form — and those domains land in failed, unbilled, rather than pretending. And to be explicit about scope: registrant contact details are not part of the output, because post-GDPR registries redact them at the source — no WHOIS product can honestly sell you that data anymore.

Legally this is comfortable territory: RDAP and WHOIS are public services operated by the registries themselves precisely so this information can be looked up. Registry rate limits and terms still apply upstream — managing them is our problem, not yours.

FAQ

What is a WHOIS API?

A WHOIS API is a web service that returns a domain's registration record — registrar, creation and expiry dates, status codes and nameservers — as structured data, so code can read it without parsing WHOIS text. This one answers in JSON, one row per domain, from RDAP or the registry's WHOIS server.

Is there a free WHOIS API?

Yes, in two senses. RDAP itself is free at the origin if you want to query registries one domain at a time. Here, the monthly $2 free allowance covers 400 domain lookups without a card — beyond that the rate is $0.005 per resolved domain, with no subscription.

Does the WHOIS API return the domain owner's name and email?

No, and be wary of any product claiming otherwise: registries redacted registrant contact data after GDPR. What you get is the operational record — registrar with IANA id, creation, expiry and update dates, EPP status codes, nameservers and DNSSEC — which is what expiry monitoring and enrichment actually need.

How does a bulk WHOIS lookup work here?

Post up to 25 domains per call, bare names or URLs. Each resolves against its TLD's authoritative registry — over RDAP, or over the registry's WHOIS server where there is no RDAP — and comes back as one typed row; unresolvable names are listed under failed and not billed. A 10,000-domain list is 400 calls, which parallelise up to your plan's rate limit.

What is the difference between WHOIS and RDAP?

Same registration data, different plumbing. WHOIS is the 1980s protocol: plain text over port 43, no schema, aggressive per-IP limits. RDAP is its IETF-standardised replacement: JSON over HTTPS, served by the registries themselves. Since January 2025 ICANN requires RDAP from gTLD registries and no longer requires WHOIS. This collector uses RDAP first and the registry's WHOIS server only for TLDs that never adopted RDAP.

Which TLDs does the WHOIS API cover?

Every TLD with an RDAP server in the IANA bootstrap — 1,203 of the 1,437 in the root zone — plus country-code TLDs that only run port-43 WHOIS, such as .de, .it, .eu, .be, .io, .co, .mx and .us. A registry that offers neither, such as .es, is reported under failed and not billed.

How much does a bulk WHOIS lookup cost per 1,000 domains?

$5 per 1,000 delivered domains ($0.005 each), with no subscription. Domains that fail are not billed, and the monthly $2 free allowance covers 400 lookups.

Can I call the WHOIS API from Python and get JSON?

Yes. It is a single HTTPS POST with a JSON body and a JSON response, so the requests library is enough; the code samples on this page include Python, Node.js and curl. Each domain comes back as one flat object with the same field names for every TLD.

Related scrapers

If you're an AI agent

Skip the marketing. QuantumProxies.io publishes a machine-readable site map, Markdown for every page, a free MCP server, and APIs billed from the same balance as your proxies.

Connect in one command: npx -y quantumproxies-mcp