Last updated

WHOIS API: Real-Time Domain Lookup for Any Domain

Get live WHOIS data for any domain as clean JSON or XML: owner, registrar, dates and nameservers. Registrar names, addresses and dates are normalized, so records match across 7,848+ TLDs and SLDs. Every request pulls fresh data from WHOIS servers and RDAP.

500 free credits on signup. No credit card.

See What's Behind a Domain
[
  {
    "status": true,
    "domain_name": "whoisfreaks.com",
    "query_time": "2026-10-15 12:36:33",
    "domain_registered": "yes",
    "secure_dns": true,
    "create_date": "2019-03-19",
    "update_date": "2026-02-17",
    "expiry_date": "2027-03-19",
    "registrant_contact": {
      "handle": "090bade428c949e7669908d6ac8943b2-Namech",
      "company": "Privacy service provided by WITHHELD FOR PRIVACY LLC",
      "street": "16192 Coastal Highway",
      "city": "Lewes",
      "state": "Delaware",
      "zip_code": "19958",
      "country_name": "United States",
      "country_code": "US",
      "email_address": "[email protected]",
      "phone": "+13022061391"
    },
    "technical_contact": {
      "handle": "b55d6e2a2d2e42058c2408d6ac64a4dc-Namech",
      "company": "Privacy service provided by WITHHELD FOR PRIVACY LLC",
      "street": "16192 Coastal Highway",
      "city": "Lewes",
      "state": "Delaware",
      "zip_code": "19958",
      "country_name": "United States",
      "country_code": "US",
      "email_address": "[email protected]",
      "phone": "+13022061391"
    },
    "name_servers": [
      "albert.ns.cloudflare.com",
      "sue.ns.cloudflare.com"
    ],
    "domain_status": [
      "clienttransferprohibited"
    ],
    "registry_data": {
      "domain_name": "WHOISFREAKS.COM",
      "query_time": "2026-10-15 12:36:11",
      "whois_server": "",
      "domain_registered": "yes",
      "create_date": "2019-03-19",
      "update_date": "2026-02-17",
      "expiry_date": "2027-03-19",
      "domain_registrar": {
        "iana_id": "1068",
        "status": "accredited",
        "registrar_name": "NameCheap, Inc",
        "normalized_name": "namecheap, inc.",
        "rdap_server": "https://rdap.namecheap.com/",
        "website_url": "http://www.namecheap.com",
        "email_address": "[email protected]",
        "phone_number": "+16613102107"
      },
      "name_servers": [
        "albert.ns.cloudflare.com",
        "sue.ns.cloudflare.com"
      ],
      "domain_status": [
        "clienttransferprohibited"
      ],
      "whois_raw_registery": "\nDomain Name: WHOISFREAKS.COM\n   Registry Domain ID: 2370976244_DOMAIN_COM-VRSN\n   Registrar WHOIS Server: whois.namecheap.com\n   Registrar URL: http://www.namecheap.com\n   Updated Date: 2026-02-17T10:18:51Z\n   Creation Date: 2019-03-19T18:24:27Z\n   Registry Expiry Date: 2027-03-19T18:24:27Z\n   Registrar: NameCheap, Inc.\n   Registrar IANA ID: 1068\n   Registrar Abuse Contact Email: [email protected]\n   Registrar Abuse Contact Phone: +1.6613102107\n   Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\n   Name Server: ALBERT.NS.CLOUDFLARE.COM\n   Name Server: SUE.NS.CLOUDFLARE.COM\n   DNSSEC: signedDelegation\n   DNSSEC DS Data: 2371 13 2 2AC3C245DB1AC9B5B8C21A29D98C65AEB089A5F88633E2090341B5259E689705\n   URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/\n>>> Last update of whois database: 2026-10-15T12:35:55Z <<<\n\nFor more information on Whois status codes, please visit https://icann.org/epp\n\nNOTICE: The expiration date displayed in this record is the date the\nregistrar's sponsorship of the domain name registration in the registry is\ncurrently set to expire. This date does not necessarily reflect the expiration\ndate of the domain name registrant's agreement with the sponsoring\nregistrar.  Users may consult the sponsoring registrar's Whois database to\nview the registrar's reported date of expiration for this registration.\n\nTERMS OF USE: You are not authorized to access or query our Whois\ndatabase through the use of electronic processes that are high-volume and\nautomated except as reasonably necessary to register domain names or\nmodify existing registrations; the Data in VeriSign Global Registry\nServices' (\"VeriSign\") Whois database is provided by VeriSign for\ninformation purposes only, and to assist persons in obtaining information\nabout or related to a domain name registration record. VeriSign does not\nguarantee its accuracy. By submitting a Whois query, you agree to abide\nby the following terms of use: You agree that you may use this Data only\nfor lawful purposes and that under no circumstances will you use this Data\nto: (1) allow, enable, or otherwise support the transmission of mass\nunsolicited, commercial advertising or solicitations via e-mail, telephone,\nor facsimile; or (2) enable high volume, automated, electronic processes\nthat apply to VeriSign (or its computer systems). The compilation,\nrepackaging, dissemination or other use of this Data is expressly\nprohibited without the prior written consent of VeriSign. You agree not to\nuse electronic processes that are automated and high-volume to access or\nquery the Whois database except as reasonably necessary to register\ndomain names or modify existing registrations. VeriSign reserves the right\nto restrict your access to the Whois database in its sole discretion to ensure\noperational stability.  VeriSign may restrict or terminate your access to the\nWhois database for failure to abide by these terms of use. VeriSign\nreserves the right to modify these terms at any time.\n\nThe Registry database contains ONLY .COM, .NET, .EDU domains and\nRegistrars."
    }
  }
]
googleapplestripewhoisfreaksgithub
  • 974.4M+
    Domains Tracked
  • 690.6M+
    Active Domains Tracked
  • 7,848
    TLDs and SLDs
  • 4.6B+
    WHOIS Records Count
  • 8,055
    Registrar Count
  • 35M+
    Daily Refreshed WHOIS Data
  • 974.4M+
    Domains Tracked
  • 690.6M+
    Active Domains Tracked
  • 7,848
    TLDs and SLDs
  • 4.6B+
    WHOIS Records Count
  • 8,055
    Registrar Count
  • 35M+
    Daily Refreshed WHOIS Data

Our Products

What is a WHOIS API?

WHOIS Lookup API

A WHOIS API gives developers programmatic access to domain registration records. You send a domain name and get back the registrar, owner details, registration and expiry dates, and nameservers as structured JSON or XML, instead of parsing inconsistent plaintext from each registry. The WhoisFreaks WHOIS API queries WHOIS servers and RDAP live on every request across 7,848+ TLDs and SLDs, and new accounts get 500 free credits with no credit card.

Our Product
Quickstart

Make Your First WHOIS API Request

Get a key, send one GET request, and read the WHOIS data back as structured JSON.

billing.whoisfreaks.com
API key
••••••••••••••••••••Copy
500 FREE CREDITSNO CARD
01

Get your API key

Sign up and your key is issued immediately, with 500 free credits and no credit card.

GET/v2.0/whois/live
apiKeyYOUR_API_KEY
domainNamewhoisfreaks.com
formatjson
02

Send one GET request

Pass your API key and domainName as query parameters.

response.json200 OK
"status":true
"domain_name":"whoisfreaks.com"
"query_time":"2026-10-15 12:36:33"
"domain_registered":"yes"
03

Read the JSON response

Every response comes back as consistent, parsed JSON fields, ready to use in your app.

import requests
resp = requests.get(
"https://api.whoisfreaks.com/v2.0/whois/live",
params={
"apiKey": "YOUR_API_KEY",
"domainName": "whoisfreaks.com",
"format": "json",
},
timeout=30,
)
data = resp.json()
print(data["status"], data["domain_name"])
Response for whoisfreaks.com
200 OK
statustrue
domain_name"whoisfreaks.com"
query_time"2026-10-15 12:36:33"
domain_registered"yes"
secure_dnstrue
See all response fields
500free credits, no card
351 msmedian response time
796 ms90th percentile
1,339 ms95th percentile

Features

Four Data Sources Behind Each WHOIS Lookup

Each lookup can draw on four sources. When one is rate-limited or returns a stub record, the next fills the gap, so coverage holds where single-source APIs return blanks.

We collect data through the WHOIS protocol, the oldest and still one of the most effective methods for retrieving domain ownership details. Its priority varies depending on the registrar and TLD combination, so it is not always the primary source for our WHOIS API.

Normalization

Normalized Registrar, Address and Date Fields

The same registrar, address and date, written the same way across every TLD.

Registries and registrars format the same facts differently. One record says "NAMECHEAP INC", another says "NameCheap, Inc". Addresses arrive as one unstructured line with abbreviations or missing parts, and dates come in a different format almost every registry.

The WhoisFreaks WHOIS API keeps the original registrar name and adds a normalized one, parses every contact address into street, city, state, ZIP and country, fills gaps through geocoding, and returns every date as YYYY-MM-DD. You can group, filter, sort and join records without writing a parser for each TLD.

What this unlocks
  • Count domains per registrar in a portfolio
  • Filter and map registrants by city, state or country
  • Sort by expiry across every TLD
  • Match WHOIS records against your CRM and threat feeds on one key
See all response fields
Raw WHOIS values flow through WhoisFreaks normalization: two registrar spellings become normalized_name namecheap, an unstructured address is parsed and geocoded into street, city, state, ZIP and country, and three date formats become YYYY-MM-DD

Features

What WHOIS APIs Provide

What every WHOIS API response returns, and the service behind it.

Registration Dates

Registration Dates

Creation, last update and expiry dates for every domain, so you can measure domain age and catch lapsing renewals early.

Registrant Details

Registrant Details

Registrant name, organization, address, email and phone, with the address parsed and geocoded into city, state, ZIP and country.

Registrar Details

Registrar Details

Registrar name plus its normalized name, IANA ID, website, abuse email and phone, and the reseller wherever one is listed.

EPP Status Codes

EPP Status Codes

Every EPP status on the record, such as clientTransferProhibited, so you can flag locked, held or pending-delete names.

Registry Details

Registry Details

The registry's own record with dates, registrar, name servers, status and raw text, to cross-check the registrar's copy.

Name Servers

Name Servers

The authoritative name servers set for the domain, for tracking DNS provider changes and linking domains on shared hosts.

RDAP Ready

RDAP Ready

Lookups pull from WHOIS servers and RDAP and return one consistent JSON or XML schema, so RDAP moves need no code change.

99.9% Uptime SLA

99.9% Uptime SLA

Backed by a 99.9% uptime SLA. Live uptime, response times and monthly downtime for the API are public on our status page.

Comparison

How WhoisFreaks Compares on the Four Things Buyers Check

WhoisFreaks WHOIS API at a glance: live WHOIS and RDAP lookups across 7,848+ TLDs and SLDs, WHOIS history back to 1986, bulk lookups of 100 domains per call or 3M-domain file uploads, JSON or XML output, and 500 free credits shared across live, history and reverse WHOIS. The table compares it with WhoisXML API, WhoisJSON and API Ninjas on freshness, sources, history depth, bulk capacity and free tier.

Capability
WhoisFreaks
WhoisXML API
WhoisJSON
API Ninjas
Freshness model
Live fetch per request, no caching
Repository-backed
Live fetch
Live fetch
Sources per lookup
WHOIS, RDAP, own scrapers, proprietary feeds
WHOIS, RDAP
WHOIS
WHOIS
Historical records
Back to 1986, deduplicated on change
Available
Not offered
Not offered
Bulk in one job
100 per call, or a 3M-domain file upload
Bulk endpoint
Not offered
Not offered
Free tier scope
500 credits across live, history and reverse
500 free requests
1,000 requests per month
Free key (.com) only

Product

WHOIS Database

Acquire historical WHOIS data, power your custom systems, update every day.

WHOIS Database

Our WHOIS database covers 7,848+ TLDs and SLDs and 4.6B+ unique historical WHOIS records.

monitoring

Use Cases

WHOIS in Action

Six jobs teams run on WHOIS data, and the query that does each one.

Data Enrichment

Data Enrichment

Append registrar, creation date and registrant country to each lead or signup domain in your CRM with one call.

Domain Registration and Portfolio Analysis

Domain Registration and Portfolio Analysis

Pull expiry dates and EPP locks for all the domains you own and renew before one lapses.

Threat Intelligence

Threat Intelligence

Triage domain alerts by age: a name registered this week with privacy-masked contacts moves to the top of a queue.

Brand Monitoring & Brand Protection

Brand Monitoring & Brand Protection

Pull the registrar and abuse contact behind cybersquatted domains so takedown notices go out the same day.

Competitive Intelligence

Competitive Intelligence

Reverse WHOIS a competitor's organization name to reveal domains they registered before an unannounced launch.

Research & Due Diligence

Research & Due Diligence

Check a counterparty’s domain age, registrar and registrant country before signing, and review pre-GDPR era records.

Request demo background

Pull live and historical WHOIS into your detection pipeline, and pivot from one registrant to every domain they hold.

Integrations

SDKs, No-Code Connectors, and SIEM Integrations

The WhoisFreaks WHOIS API ships with official Python and Go SDKs so you can query live registrant, registrar, nameserver, and expiry data across 7,848+ TLDs and SLDs with a single install.

Zapier, Make, and n8n let no-code teams trigger lookups on schedule and push ownership data to CRMs, spreadsheets, or Slack automatically.

Security and compliance teams integrate it into Splunk, Microsoft Sentinel, and SOAR playbooks to enrich domain alerts, detect registrant changes, and fire automated investigation workflows the moment a suspicious registration is flagged.

Integration Workflow
Bulk WHOIS API

Bulk WHOIS API

Look up 100 domains per call, or upload a file of up to 3M domains, and get CSV, JSON, or XML back.

Bulk WHOIS API
Reverse WHOIS API

Reverse WHOIS API

Search 4.6B+ WHOIS records by email, name, or company to find every domain a single owner holds now.

Reverse WHOIS API
WHOIS History API

WHOIS History API

Track past registrants and registrar transfers on any domain, with deduplicated records since 1986.

WHOIS History API

Teams Running WhoisFreaks Data in Production

AutomatticConductorDeloitteElement SecurityiBossSoftnextKOIBMWNikkeiLRQAPraetorianeBrandLuxury PresenceChainalysisBlackstoneOne
BinanceCiscoHostingerHubSpotKasperskyOpenAIInfigoNTT docomo BusinessTV TokyoSinchwatchTowrTrustmiFlexOffersSkool

FAQs

FAQs about the Domain WHOIS API: endpoints, parameters, response fields, and rate limits.

Is there a free WHOIS API available?

Yes. Every new WhoisFreaks account gets 500 free credits with no credit card required. The credits work across the live WHOIS lookup API, WHOIS history API and reverse WHOIS API, so you can test current records, past ownership and registrant searches on the same key.

Is WHOIS going away, and does the API still work with RDAP?

For generic TLDs, ICANN made RDAP the authoritative source for registration data in January 2025, and many registries have reduced or retired port 43 WHOIS. The WhoisFreaks WHOIS API queries both WHOIS servers and RDAP on every request and returns the result in the same JSON or XML structure, so your integration does not change when a registry moves to RDAP. Our WHOIS to RDAP transition guide covers the timeline.

Does WHOIS have an API?

WHOIS itself is a plain-text protocol that runs on port 43 (RFC 3912) and has no standard JSON output. RDAP (Registration Data Access Protocol) is its structured successor, but field names and formats still vary by registry. The WhoisFreaks WHOIS API queries both protocols and returns one normalized JSON or XML response across 7,848+ TLDs and SLDs.
Yes. WHOIS records are registration data that registries and registrars publish under ICANN policy and their own terms of use. Since GDPR took effect in May 2018, most personal registrant fields are redacted, and storing or processing any personal data you do receive falls under privacy laws such as GDPR and CCPA. Read how WHOIS data changed after GDPR.

How do I get WHOIS information for a domain?

There are three ways. Run the whois command on Linux or macOS for a one-off record, query the registry’s RDAP endpoint for a JSON response from one TLD, or call a WHOIS API to get the same parsed fields for any TLD. For a single check without code, use the free WHOIS lookup tool.

Does the WHOIS API normalize registrar names, addresses and dates?

Yes. Every response keeps the registrar name exactly as the registrar or registry returns it in registrar_name and adds a normalized_name, so "NAMECHEAP INC" and "NameCheap, Inc" resolve to the same registrar. Contact objects return both country_name and a two-letter country_code, and dates are returned as YYYY-MM-DD.

What is the difference between live WHOIS API and historical WHOIS API?

The live WHOIS API fetches current domain registration data in real time. The historical WHOIS API returns deduplicated past ownership records, useful for tracking how a domain has changed over time.

How accurate and up-to-date is the WHOIS API data?

Live WHOIS lookups fetch data at request time from WHOIS servers, RDAP, in-house scrapers and proprietary feeds, with no database caching. Historical records, served by the WHOIS History API, go back to 1986.

How many TLDs does the WHOIS API support?

The API supports 1,529 TLDs and 6,319 SLDs, including every gTLD and ccTLD. You can also check the current supported TLDs list.

Do you notify me when my API credits are about to run out?

Yes. We send an email at 80%, 90% and 100% usage. Credit and subscription usage is also available in the billing portal and through the API.

What happens when my API credits run out?

Every active monthly or yearly API subscription includes a surcharge request allowance; one-off credit packs don't. The limit differs by plan. You can fetch your remaining credits and surcharge requests through the API.

Are credits charged for 4xx error responses?

No. Requests that return a 4xx status code do not consume credits on any WhoisFreaks WHOIS API endpoint.

Do you have rate limiting on number of requests being made on your paid plans?

Yes, we have rate limiting on requests being made on all of our paid plans. The requests limit is shown in the following table.

The same per-minute limits apply to API Credits and API Subscription plans:

Credits Live-rpm Bulk-rpm Historical/Reverse-rpm
5000 20 8 3
15000 35 12 5
50000 80 20 10
150000 120 25 15
450000 150 35 20
1000000 200 50 25
3000000 300 70 35
  • Live-rpm: API requests per minute limit for live WHOIS lookup API, domain availability API, SSL certificate lookup API, and DNS lookup API endpoints.
  • Bulk-rpm: API requests per minute limit for bulk domain WHOIS lookup API endpoint.
  • Historical/Reverse-rpm: API requests per minute limit for historical, and reverse WHOIS API endpoints.

In case, the request per minute exceeds, it'll throw an error with HTTP error code of 429.

Do you provide any headers in API response regarding rate limiting?

Yes, there are following three header parameters in the response:
  • X-RateLimit-Allowed-Requests: Tells the max allowed API requests per minute on a specific plan.
  • X-RateLimit-Remaining-Requests: Tells the remaining API requests per minute for that plan.
  • X-RateLimit-Remaining-Time: Tells after how much time the API requests per minute will be reset.

How do I get a WHOIS API key?

Sign up and your key is issued immediately, with 500 free credits attached and no credit card required. The key works across live WHOIS lookup, WHOIS history, and reverse WHOIS endpoints. Free-tier rate limits are 10 requests per minute for live lookups, 5 per minute for bulk, and 1 per minute for history and reverse.

Which WHOIS API is best for high-volume lookups?

For sustained volume, use the bulk endpoint rather than repeated live calls. Bulk accepts 100 domains per request, or a file upload of up to 3 million domains returned as CSV. Paid plans scale from 20 to 300 live requests per minute, and 8 to 70 bulk requests per minute, depending on credit tier.

Start Querying Live WHOIS Data

500 free credits on signup, no credit card. One request returns registrar, registrant, dates, and nameservers as JSON or XML, pulled from the authoritative server at query time.

Running high monthly volume, or need the full record set instead of per-query calls? License the WHOIS Database.