WHOIS History API: Historical WHOIS Records Since 1986
A historical WHOIS API provides a chronological database of domain registration records, allowing users to track changes in ownership, contact information, and name servers over time. With records dating back to 1986, our WHOIS history API is an essential tool for cybersecurity forensics, brand protection, and domain investment research.
Features
Track Domain Ownership Changes
Effortlessly monitor how domain ownership has evolved. Trace "redacted for privacy" records back to their original owners before privacy shields were applied.
Comprehensive Historical WHOIS Records
Access over 35 years of data. Our database captures every meaningful update in a domain’s lifecycle, from initial registration to its current status.
Global TLD & SLD Coverage
Whether you are researching a .com or a niche country-code TLD, our historical WHOIS API provides deep visibility across all major registries.
Why Use a Historical WHOIS API?
Cybersecurity & Forensics
Trace the history of malicious domains to identify threat actors.
Domain Flipping
Analyze the registration age and previous sales history of a domain.
Legal & Brand Protection
Find evidence of trademark infringement by looking at past registrant data.
API Endpoint
Need live data instead of historical records? For real-time data, see our Live WHOIS API.
How to Guides
WHOIS Lookup by Domain Name
To retrieve historical WHOIS information for a domain name, simply include the domainName parameter in your API request. For sub-domains, such as 'api.apifreaks.com', the API will return historical WHOIS data for the root domain, ' apifreaks.com', as sub-domains do not have their own WHOIS records and rely on the root domain's data.
When querying a second-level domain (SLD), like 'uet.edu.pk ', our API provides historical WHOIS information specific to that SLD. SLDs, often composed of three letters like 'edu' , are managed by separate registries with distinct WHOIS servers. Consequently, for domains like 'uet.edu.pk', the historical WHOIS response will focus on 'uet.edu.pk' rather than its parent domain 'edu.pk'.
curl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/whois/history?domainName=github.com&apiKey=API-KEY'
# Response
{
"status": true,
"whois": "historical",
"total_records": "50",
"whois_domains_historical": [
{
"num": 1,
"status": true,
"domain_name": "github.com",
"query_time": "2022-06-27 08:01:28",
"create_date": "2007-10-09",
"update_date": "2020-09-08",
"expiry_date": "2022-10-09",
"domain_registrar": {
"iana_id": "292",
"registrar_name": "markmonitor inc",
"whois_server": "whois.markmonitor.com",
"website_url": "http://www.markmonitor.com"
},
"registrant_contact": {
"company": "github, inc",
"state": "CA",
"country_name": "United States",
"country_code": "US",
"email_address": "select request email form at https://domains.markmonitor.com/whois/github.com"
},
"administrative_contact": {
"company": "GitHub, Inc",
"state": "CA",
"country_name": "United States",
WHOIS Lookup by URL
You can also obtain historical WHOIS information by providing a URL to the API. Our system will automatically extract the domain name from the URL and use it to retrieve all relevant WHOIS history data from our database. This feature simplifies the process, allowing you to access domain details without the need to manually extract the domain name.
curl -X 'GET' 'https://api.apifreaks.com/v1.0/domain/whois/history?domainName=https%3A%2F%2Fgithub.com%2F&apiKey=API-KEY'
# Response
{
"status": true,
"whois": "historical",
"total_records": "50",
"whois_domains_historical": [
{
"num": 1,
"status": true,
"domain_name": "github.com",
"query_time": "2022-06-27 08:01:28",
"create_date": "2007-10-09",
"update_date": "2020-09-08",
"expiry_date": "2022-10-09",
"domain_registrar": {
"iana_id": "292",
"registrar_name": "markmonitor inc",
"whois_server": "whois.markmonitor.com",
"website_url": "http://www.markmonitor.com"
},
"registrant_contact": {
"company": "github, inc",
"state": "CA",
"country_name": "United States",
"country_code": "US",
"email_address": "select request email form at https://domains.markmonitor.com/whois/github.com"
},
"administrative_contact": {
"company": "GitHub, Inc",
"state": "CA",
"country_name": "United States",
Pricing
To use the WHOIS history API, API credits are required. Charges apply only for successful queries, indicated by a 2xx status code. If a request results in a 4xx or 5xx status code, no credits will be deducted, and any credits previously charged will be refunded.
For each successful request, 35 credits will be charged for WHOIS history. Utilize the Credits Usage API to efficiently monitor your recent consumption of both one-off and subscription credits. This API provides a streamlined way to track and manage your credit usage, ensuring you stay informed about your remaining balance and can optimize your resource allocation effectively.