WHOIS API

WHOIS API: Instant Domain Lookups in JSON & XML — Free Plan Available

Enterprise-grade WHOIS lookups with sub-200ms response times. Normalized JSON or XML across 1,500+ TLDs, RDAP-ready, with bulk query support. One API key for WHOIS, DNS, SSL, availability, and monitoring.

< 200ms response
99.9% uptime SLA
1,500+ TLDs
Live Demo

Try the WHOIS API

Enter any domain to retrieve its complete WHOIS record in real time.

New

Is this domain secure?

Generate a full compliance report (DMARC, SSL, DNS) on DomainRisk.io.

< 200ms
Avg. Response Time
99.9%
Uptime SLA
1,500+
TLDs Supported
RDAP
Next-Gen Protocol
Comprehensive Data

Every Domain Detail in One Call

A single WHOIS request returns all registration data fields, normalized into a consistent schema regardless of the registrar or TLD.

Dates

Registration Dates

Creation, expiration, and last update dates for any domain. Track lifecycle events and set renewal reminders.

Owner

Registrant Details

Owner name, organization, registrar, and contact data when publicly available through WHOIS or RDAP.

NS

Nameservers

Complete nameserver list. Identify hosting providers and track DNS infrastructure changes. Pair with our DNS API for full records.

Status

EPP Status Codes

clientTransferProhibited, serverHold, redemptionPeriod… Understand domain restrictions and transfer eligibility at a glance.

Bulk

Bulk Lookups

Query thousands of domains at production speed. Rate limits scale from 20 to 900 req/min depending on yourplan. See the Bulk WHOIS API guide for code examples.

JSON

Normalized Output

Consistent JSON or XML schema across every TLD. No per-registrar parsing logic — the same field names everywhere.

RDAP

RDAP-Ready

Automatic RDAP fallback where available. Richer, more structured data from registries supporting next-gen lookups.

HA

High Availability

Multi-region infrastructure with 99.9% uptime. Automatic failover ensures queries are always answered.

Use Cases

What Developers Build with WHOIS Data

Cybersecurity & Threat Intelligence

Investigate suspicious domains in automated pipelines. Enrich security alerts with registrant data, creation dates, and hosting details. Combine with DNS lookups and SSL checks for full threat analysis.

WHOIS APIDNSSSL

Brand Protection & Anti-Phishing

Detect typosquatting, look-alike domains, and phishing campaigns using bulk WHOIS queries. Set up automated alerts for ownership changes and check domain availability for protective registrations.

WHOISMonitoringAvailability

Domain Portfolio Management

Track expiration dates, registrar changes, and status updates across large portfolios. Automate renewal workflows and combine with monitoring for real-time change detection.

WHOISMonitoring

Market Research & Data Analytics

Analyze registration trends by TLD, registrar, or time period. Cross-reference with DNS records for hosting analysis and availability data for market intelligence.

WHOISDNSAvailability
Integration

One Endpoint, All Registration Data

A single GET request returns the complete WHOIS record for any domain. Same API key and authentication as all WhoisJSON endpoints.

GET
/api/v1/whois?domain=example.com

Authentication: Authorization: TOKEN=YOUR_API_KEY

Response: JSON (default) or XML with format=xml

Bypass cache: Add _forceRefresh=1 for fresh data

Full API Reference
Sample response (truncated)
{
  "name": "google.com",
  "registered": true,
  "registrar": {
    "name": "MarkMonitor Inc.",
    "url": "http://www.markmonitor.com"
  },
  "created": "1997-09-15T04:00:00Z",
  "expires": "2028-09-14T04:00:00Z",
  "changed": "2019-09-09T15:39:04Z",
  "status": [
    "clientDeleteProhibited",
    "clientTransferProhibited",
    "clientUpdateProhibited",
    "serverDeleteProhibited",
    "serverTransferProhibited",
    "serverUpdateProhibited"
  ],
  "nameserver": [
    "ns1.google.com",
    "ns2.google.com",
    "ns3.google.com",
    "ns4.google.com"
  ]
}
Code Examples

Query the WHOIS API in Your Language

A minimal, complete example — one domain, one request, authenticated.

whois.sh
curl -s "https://whoisjson.com/api/v1/whois?domain=example.com" \
  -H "Authorization: TOKEN=YOUR_API_KEY"
whois.js
const res = await fetch(
  'https://whoisjson.com/api/v1/whois?domain=example.com',
  { headers: { Authorization: 'TOKEN=YOUR_API_KEY' } }
);
const data = await res.json();
console.log('Registered:', data.registered);
console.log('Expires:   ', data.expires);
whois.py
import requests
r = requests.get(
    'https://whoisjson.com/api/v1/whois?domain=example.com',
    headers={'Authorization': 'TOKEN=YOUR_API_KEY'},
    timeout=10,
)
data = r.json()
print('Registered:', data.get('registered'))
print('Expires:   ', data.get('expires'))

Need to process thousands of domains? See the Bulk WHOIS API guide →

What Is a WHOIS API?

A WHOIS API lets you query domain registration data programmatically. Instead of running manual whois commands, you send an HTTP request and get structured JSON or XML in return — registrar name, creation date, expiry date, status codes, nameservers, and registrant details when publicly available. WhoisJSON normalizes this data into a consistent schema across 1,500+ TLDs, handling both legacy WHOIS servers and modern RDAP endpoints transparently.

Part of the WhoisJSON Unified Platform

The WHOIS API is one of six endpoints available with every WhoisJSON account. The same API token also gives you access to DNS record lookups, SSL certificate validation, real-time domain availability checks, subdomain discovery, and automated domain monitoring with alerts. No extra sign-ups, no extra keys — one token, six tools. Whether you are building a cybersecurity scanner, a registrar platform, or a brand protection tool, all the data you need is accessible through a single, consistent API.

From Prototyping to Production

Every new account starts with 1,000 free requests per month shared across all endpoints — enough for prototyping and small-scale projects. Our paid plans scale to unlimited requests at up to 900 req/min with a 99.9% uptime SLA. Responses are cached for 3 hours by default; add _forceRefresh=1 to bypass the cache when freshness matters. Check our FAQ or browse the full API documentation for integration details.

Free to start: 1,000 requests/month, no credit card required. One API key for WHOIS and all other domain tools. Get your free API key →
Comparison

How WhoisJSON Compares

ProviderNormalized JSONTLDs CoveredFree TierPrice per 1kRate Limit
WhoisJSON✓ Yes1,500+1,000 req/moFrom $0.02900 req/min (Atlas)
WhoisXMLAPI✓ Yes1,000+500 queries~$15/1k~3,000 req/min
DomainTools~ Partial500+No$0.50+/1kUndisclosed
Whoxy✓ Yes700+Pay-as-you-go$0.40/1k1,000 req/min

Data sourced from public pricing and documentation pages, April 2026. Verify current rates before choosing a provider.

FAQ

Frequently Asked Questions about the WHOIS API

The WHOIS API returns normalized registration data: registrar name and URL, creation date, expiry date, last-updated date, EPP status codes, nameservers, and registrant contact information when publicly available. Delivered in JSON or XML with consistent field names across all 1,500+ supported TLDs.

All requests require an Authorization: TOKEN=YOUR_API_KEY header. Your key is available in your dashboard after signing up. The same token works across all six WhoisJSON endpoints.

Yes. WhoisJSON automatically uses RDAP for registries that support it, falling back to legacy WHOIS for the rest. Both protocols are normalized into the same output schema — your code doesn't need to handle both.

Free accounts allow 20 req/min; paid plans scale from 60 to 900 req/min. All endpoints share the same monthly quota. See our pricing page for plan details.

Responses are cached for 3 hours by default. Add _forceRefresh=1 to your query string (e.g. /api/v1/whois?domain=example.com&_forceRefresh=1) to get live data directly from the WHOIS server.
Why WhoisJSON

Why Choose WhoisJSON Instead of Other WHOIS APIs?

Choose WhoisJSON if you need a WHOIS API that is simple to integrate, affordable to scale, and ready for production.

FeatureWhoisJSON
Free plan1,000 requests/month — no credit card
OutputJSON by default, XML available
Coverage1,500+ TLDs
Extra APIs includedDNS, SSL, domain availability, subdomains, monitoring
AuthenticationOne API key for all endpoints
Best forDevelopers, cybersecurity tools, brand protection, domain monitoring

Start free, test the API in minutes, and upgrade only when your usage grows.

Ready to Scale Your WHOIS Integration?

Whether you need 1,000 or 10 million lookups, WhoisJSON has a plan built for your workload.