Domain WHOIS Lookup API - Well-Structured Registration & Ownership Data
Our Domain WHOIS Lookup API provides accurate and well-structured WHOIS domain lookup information for all top-level domains (TLDs) and their respective second-level domains (SLDs) as listed by Internet Corporation for Assigned Names and Numbers (ICANN). With real-time data directly queried from WHOIS servers, our API ensures you receive the most current and precise registration and ownership details available. This service is essential for effective domain intelligence, phishing and scam investigation, brand protection, and competitive analysis, offering comprehensive insights into domain data.
Designed for seamless integration, our API presents data in a clear and organized format, making it easy to use for enhancing marketing strategies and cybersecurity measures. Whether you need to lookup WHOIS domain ownership or analyze competitor domains, our WHOIS Domain Lookup API provides reliable, real-time data to support your objectives. Leverage our advanced WHOIS API to access valuable domain information and stay ahead of the competition.
Features
Comprehensive TLD & SLD Coverage
Our API provides extensive coverage of all top-level domains (TLDs) and their respective second-level domains (SLDs) as listed by ICANN. This ensures that you can access WHOIS data for a wide range of domain types, offering a complete view of domain registration and ownership across the global domain namespace.
Real-Time Data Retrieval
Get the most current domain information with our real-time data retrieval capabilities. Our API fetches WHOIS data directly from WHOIS servers, providing you with up-to-the-minute registration and ownership details, ensuring that you always have access to the latest domain information
Well-Structured & Raw WHOIS Data
Our API not only provides well-structured domain information but also includes raw WHOIS data in the response. This feature allows you to access the complete and unprocessed WHOIS records alongside the structured data, ensuring that you have all the raw details for thorough analysis and customized processing. Whether you need to delve deeper into specific WHOIS fields or require the original data format for compliance and auditing purposes, our API delivers both structured and raw data to meet your needs.
API Endpoint
$ pip install requestsimport requests
url = "https://api.apifreaks.com/v2.0/domain/whois/live?domainName=chatgpt.com"
payload = {}
headers = {
'X-apiKey': 'API-KEY'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
How-To-Guides
WHOIS Lookup by Domain Name
To retrieve WHOIS information using a domain name, simply pass the domainName parameter in your API request. If you query a sub-domain, such as 'api.apifreaks.com', our API will return the WHOIS data for the root domain name, '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', the API will provide WHOIS information specific to that SLD. SLDs typically consist of three letters, such as 'edu', and are managed by separate registries with their own WHOIS servers. Therefore, for domains like 'uet.edu.pk', the WHOIS response will pertain to'uet.edu.pk' itself rather than the parent domain 'edu.pk'.
# Response { "status": true, "domain_name": "chatgpt.com", "query_time": "2026-07-08 12:56:52", "whois_server": "whois.verisign-grs.com", "domain_registered": "yes", "create_date": "2022-11-30", "update_date": "2024-10-17", "expiry_date": "2026-11-30", "domain_registrar": { "iana_id": "292", "status": "accredited", "registrar_name": "MarkMonitor, Inc", "normalized_name": "markmonitor", "whois_server": "whois.markmonitor.com", "rdap_server": "https://rdap.markmonitor.com/rdap/", "website_url": "https://www.markmonitor.com/", "email_address": "https://corp.markmonitor.com/domain/ui/abuse-report", "phone_number": "+12086851750" }, "registrant_contact": { "company": "OpenAI", "country_name": "United States", "country_code": "US", "email_address": "Select Request Email Form at https://domains.markmonitor.com/whois/chatgpt.com" }, "technical_contact": { "email_address": "Select Request Email Form at https://domains.markmonitor.com/whois/chatgpt.com" }, "name_servers": [ "hassan.ns.cloudflare.com", "savanna.ns.cloudflare.com" ], "domain_status": [ "clientupdateprohibited", "clienttransferprohibited", "clientdeleteprohibited", "serverdeleteprohibited", "serverupdateprohibited", "servertransferprohibited" ], "whois_raw_domain": " Domain Name: chatgpt.com Registry Domain ID: 2741883935_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.markmonitor.com Registrar URL: http://www.markmonitor.com Updated Date: 2024-10-17T21:31:32+0000 Creation Date: 2022-11-30T23:59:19+0000 Registrar Registration Expiration Date: 2026-11-30T23:59:19+0000 Registrar: MarkMonitor, Inc. Registrar IANA ID: 292 Registrar Abuse Contact: https://corp.markmonitor.com/domain/ui/abuse-report Registrar Abuse Contact Phone: +1.2086851750 Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited) Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited) Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited) Domain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited) Domain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited) Domain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited) Registrant Organization: OpenAI Registrant Country: US Registrant Email: Select Request Email Form at https://domains.markmonitor.com/whois/chatgpt.com Tech Email: Select Request Email Form at https://domains.markmonitor.com/whois/chatgpt.com Name Server: savanna.ns.cloudflare.com Name Server: hassan.ns.cloudflare.com DNSSEC: unsigned URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ >>> Last update of WHOIS database: 2026-07-02T06:02:50+0000 <<< For more information on WHOIS status codes, please visit: https://www.icann.org/resources/pages/epp-status-codes If you wish to contact this domain’s Registrant or Technical contact, and such email address is not visible above, you may do so via our web form, pursuant to ICANN’s Temporary Specification. To verify that you are not a robot, please enter your email address to receive a link to a page that facilitates email communication with the relevant contact(s). Web-based WHOIS: https://domains.markmonitor.com/whois/contact/chatgpt.com If you have a legitimate interest in viewing the non-public WHOIS details, send your request and the reasons for your request to whoisrequest@markmonitor.com and specify the domain name in the subject line. We will review that request and may ask for supporting documentation and explanation. The data in MarkMonitor’s WHOIS database is provided for information purposes, and to assist persons in obtaining information about or related to a domain name’s registration record. While MarkMonitor believes the data to be accurate, the data is provided "as is" with no guarantee or warranties regarding its accuracy. By submitting a WHOIS query, you agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (1) allow, enable, or otherwise support the transmission by email, telephone, or facsimile of mass, unsolicited, commercial advertising, or spam; or (2) enable high volume, automated, or electronic processes that send queries, data, or email to MarkMonitor (or its systems) or the domain name contacts (or its systems). MarkMonitor reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy. MarkMonitor Domain Management(TM) Protecting companies and consumers in a digital world. Visit MarkMonitor at https://www.markmonitor.com Contact us at +1.8007459229 In Europe, at +44.02032062220 --", "registry_data": { "domain_name": "CHATGPT.COM", "query_time": "2026-07-08 12:56:51", "whois_server": "whois.verisign-grs.com", "domain_registered": "yes", "create_date": "2022-11-30", "update_date": "2024-10-17", "expiry_date": "2026-11-30", "domain_registrar": { "iana_id": "292", "registrar_name": "MarkMonitor Inc", "whois_server": "whois.markmonitor.com", "website_url": "http://www.markmonitor.com", "email_address": "abusecomplaints@markmonitor.com", "phone_number": "+12086851750" }, "name_servers": [ "hassan.ns.cloudflare.com", "savanna.ns.cloudflare.com" ], "domain_status": [ "clientupdateprohibited", "clientdeleteprohibited", "clienttransferprohibited", "serverdeleteprohibited", "serverupdateprohibited", "servertransferprohibited" ], "whois_raw_registery": " Domain Name: CHATGPT.COM Registry Domain ID: 2741883935_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.markmonitor.com Registrar URL: http://www.markmonitor.com Updated Date: 2024-10-17T22:20:15Z Creation Date: 2022-11-30T23:59:19Z Registry Expiry Date: 2026-11-30T23:59:19Z Registrar: MarkMonitor Inc. Registrar IANA ID: 292 Registrar Abuse Contact Email: abusecomplaints@markmonitor.com Registrar Abuse Contact Phone: +1.2086851750 Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited Name Server: HASSAN.NS.CLOUDFLARE.COM Name Server: SAVANNA.NS.CLOUDFLARE.COM DNSSEC: unsigned URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/ >>> Last update of whois database: 2026-07-02T06:02:57Z <<< For more information on Whois status codes, please visit https://icann.org/epp NOTICE: The expiration date displayed in this record is the date the registrar's sponsorship of the domain name registration in the registry is currently set to expire. This date does not necessarily reflect the expiration date of the domain name registrant's agreement with the sponsoring registrar. Users may consult the sponsoring registrar's Whois database to view the registrar's reported date of expiration for this registration. TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' ("VeriSign") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time. The Registry database contains ONLY .COM, .NET, .EDU domains and Registrars." } }curl -X 'GET' 'https://api.apifreaks.com/v2.0/domain/whois/live?domainName=chatgpt.com&apiKey=API-KEY'
In the WHOIS response, you will notice two types of data: registry data and registrar data. For TLDs like {.}com and {.}.net, both registries and registrars maintain their own WHOIS servers. As a result, the API provides WHOIS information from both sources, giving you a comprehensive view of domain details.
Additionally, the WHOIS raw response is included in the output. This raw data reflects the information queried from both the registrar and registry WHOIS servers, ensuring you have access to the complete and unprocessed WHOIS records.
WHOIS Lookup by URL
You can also retrieve WHOIS information by passing a URL to the API. Our system will automatically extract the domain name from the URL you provide and use it to fetch the necessary WHOIS data. This allows you to easily obtain domain details without needing to manually extract the domain name yourself.
# Response { "status": true, "domain_name": "chatgpt.com", "query_time": "2026-07-08 12:56:54", "whois_server": "whois.verisign-grs.com", "domain_registered": "yes", "create_date": "2022-11-30", "update_date": "2024-10-17", "expiry_date": "2026-11-30", "domain_registrar": { "iana_id": "292", "status": "accredited", "registrar_name": "MarkMonitor, Inc", "normalized_name": "markmonitor", "whois_server": "whois.markmonitor.com", "rdap_server": "https://rdap.markmonitor.com/rdap/", "website_url": "https://www.markmonitor.com/", "email_address": "https://corp.markmonitor.com/domain/ui/abuse-report", "phone_number": "+12086851750" }, "registrant_contact": { "company": "OpenAI", "country_name": "United States", "country_code": "US", "email_address": "Select Request Email Form at https://domains.markmonitor.com/whois/chatgpt.com" }, "technical_contact": { "email_address": "Select Request Email Form at https://domains.markmonitor.com/whois/chatgpt.com" }, "name_servers": [ "hassan.ns.cloudflare.com", "savanna.ns.cloudflare.com" ], "domain_status": [ "clientupdateprohibited", "clienttransferprohibited", "clientdeleteprohibited", "serverdeleteprohibited", "serverupdateprohibited", "servertransferprohibited" ], "whois_raw_domain": " Domain Name: chatgpt.com Registry Domain ID: 2741883935_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.markmonitor.com Registrar URL: http://www.markmonitor.com Updated Date: 2024-10-17T21:31:32+0000 Creation Date: 2022-11-30T23:59:19+0000 Registrar Registration Expiration Date: 2026-11-30T23:59:19+0000 Registrar: MarkMonitor, Inc. Registrar IANA ID: 292 Registrar Abuse Contact: https://corp.markmonitor.com/domain/ui/abuse-report Registrar Abuse Contact Phone: +1.2086851750 Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited) Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited) Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited) Domain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited) Domain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited) Domain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited) Registrant Organization: OpenAI Registrant Country: US Registrant Email: Select Request Email Form at https://domains.markmonitor.com/whois/chatgpt.com Tech Email: Select Request Email Form at https://domains.markmonitor.com/whois/chatgpt.com Name Server: hassan.ns.cloudflare.com Name Server: savanna.ns.cloudflare.com DNSSEC: unsigned URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ >>> Last update of WHOIS database: 2026-07-02T06:06:00+0000 <<< For more information on WHOIS status codes, please visit: https://www.icann.org/resources/pages/epp-status-codes If you wish to contact this domain’s Registrant or Technical contact, and such email address is not visible above, you may do so via our web form, pursuant to ICANN’s Temporary Specification. To verify that you are not a robot, please enter your email address to receive a link to a page that facilitates email communication with the relevant contact(s). Web-based WHOIS: https://domains.markmonitor.com/whois/contact/chatgpt.com If you have a legitimate interest in viewing the non-public WHOIS details, send your request and the reasons for your request to whoisrequest@markmonitor.com and specify the domain name in the subject line. We will review that request and may ask for supporting documentation and explanation. The data in MarkMonitor’s WHOIS database is provided for information purposes, and to assist persons in obtaining information about or related to a domain name’s registration record. While MarkMonitor believes the data to be accurate, the data is provided "as is" with no guarantee or warranties regarding its accuracy. By submitting a WHOIS query, you agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (1) allow, enable, or otherwise support the transmission by email, telephone, or facsimile of mass, unsolicited, commercial advertising, or spam; or (2) enable high volume, automated, or electronic processes that send queries, data, or email to MarkMonitor (or its systems) or the domain name contacts (or its systems). MarkMonitor reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy. MarkMonitor Domain Management(TM) Protecting companies and consumers in a digital world. Visit MarkMonitor at https://www.markmonitor.com Contact us at +1.8007459229 In Europe, at +44.02032062220", "registry_data": { "domain_name": "CHATGPT.COM", "query_time": "2026-07-08 12:56:53", "whois_server": "whois.verisign-grs.com", "domain_registered": "yes", "create_date": "2022-11-30", "update_date": "2024-10-17", "expiry_date": "2026-11-30", "domain_registrar": { "iana_id": "292", "registrar_name": "MarkMonitor Inc", "whois_server": "whois.markmonitor.com", "website_url": "http://www.markmonitor.com", "email_address": "abusecomplaints@markmonitor.com", "phone_number": "+12086851750" }, "name_servers": [ "hassan.ns.cloudflare.com", "savanna.ns.cloudflare.com" ], "domain_status": [ "clientupdateprohibited", "clientdeleteprohibited", "clienttransferprohibited", "serverdeleteprohibited", "serverupdateprohibited", "servertransferprohibited" ], "whois_raw_registery": " Domain Name: CHATGPT.COM Registry Domain ID: 2741883935_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.markmonitor.com Registrar URL: http://www.markmonitor.com Updated Date: 2024-10-17T22:20:15Z Creation Date: 2022-11-30T23:59:19Z Registry Expiry Date: 2026-11-30T23:59:19Z Registrar: MarkMonitor Inc. Registrar IANA ID: 292 Registrar Abuse Contact Email: abusecomplaints@markmonitor.com Registrar Abuse Contact Phone: +1.2086851750 Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited Name Server: HASSAN.NS.CLOUDFLARE.COM Name Server: SAVANNA.NS.CLOUDFLARE.COM DNSSEC: unsigned URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/ >>> Last update of whois database: 2026-07-02T06:05:42Z <<< For more information on Whois status codes, please visit https://icann.org/epp NOTICE: The expiration date displayed in this record is the date the registrar's sponsorship of the domain name registration in the registry is currently set to expire. This date does not necessarily reflect the expiration date of the domain name registrant's agreement with the sponsoring registrar. Users may consult the sponsoring registrar's Whois database to view the registrar's reported date of expiration for this registration. TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign Global Registry Services' ("VeriSign") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time. The Registry database contains ONLY .COM, .NET, .EDU domains and Registrars." } }curl -X 'GET' 'https://api.apifreaks.com/v2.0/domain/whois/live?domainName=https%3A%2F%2Fchatgpt.com&apiKey=API-KEY'
Pricing
To use the Domain WHOIS Lookup 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, 18 credits will be charged for WHOIS domain lookup. 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.