WHOIS v2

FREE
By whoisapi
Updated 8 months ago
4.9/10
Popularity Score
772ms
Latency
100%
Success Rate

WHOIS v2 API Documentation

Advanced WHOIS queries and more. Version 2 of our popular WHOIS API. Returns well-parsed WHOIS fields in XML and JSON formats. Use it to track domain registrations, check domain name availability, detect credit card fraud, locate users geographically. The service automatically follows the whois registry referral chains until it finds the correct whois registrars with the most complete whois data. Works over basic HTTP and avoices firewall-related problems of accessing Whois servers on port 43.

View API Details
GETWHOIS lookup v2
GETWHOIS lookup v2

WHOIS lookup in JSON or XML, ver. 2

Authorization:

WhoisXML API API key authentication

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
domainNameSTRING
REQUIREDThe name of the domain looked up.
apiKeyQUERY
REQUIREDThe API key, freely available from https://whoisapi.whoisxmlapi.com/pricing
Optional Parameters
outputFormatSTRING
OPTIONALResponse output format. Acceptable values: XML or JSON. Defaults to XML.
preferfreshSTRING
OPTIONALCan be 0 or 1. 1 results in getting the latest Whois record even if it is incomplete. Defaults to 0.
daSTRING
OPTIONALPerform domain availability check. Accepted values are 0, 1 and 2. Defaults to 0: no domain availability check is performed. When set to 1 the result contains a quick check on domain availability, 2 is slower but more accurate. Results are returned under WhoisRecord → domainAvailability (AVAILABLE | UNAVAILABLE | UNDETERMINED).
ipSTRING
OPTIONALReturn IPs for the domain name. Accepted values are 0 and 1. Defaults to 0: no IPs are returned. 1 results in returning IPs.
ipwhoisSTRING
OPTIONAL1 results in returning the WHOIS record for the hosting IP if the WHOIS record for the domain is not supported. For unsupported TLDs, domain NameServers are returned if the ipWhois flag is activated, a WHOIS record for the hosting IP is added to the result. Accepted values are 0 and 1, the default is 0.
checkproxydataSTRING
OPTIONAL1 results in fetching proxy/whois guard data, if found, they are returned in the WhoisRecord → privateWhoisProxy schema element. Accepted values are 0 and 1, the default is 0.
thinWhoisSTRING
OPTIONAL1 results in returning whois data from the registry only, without fetching data from the registrar. Returned registry data are to be found in the WhoisRecord → registryData schema element. Accepted values are 0 and 1, the default is 0.
callbackSTRING
OPTIONALA JAVAscript function used when outputFormat is JSON; this is an implementation known as JSONP which invokes the callback on the returned response.
_parseSTRING
OPTIONALThis parameter enables the use of the API for parsing WHOIS raw text provided in the query.1 provides parsing for input WHOIS raw texts described at the parameters registryRawText and registrarRawText. Accepted values are 0 and 1, the default is 0.
registryrawtextSTRING
OPTIONALThe string containing the registry WHOIS raw text to be parsed; works only when the _parse parameter is equal to 1.
registrarRawTextSTRING
OPTIONALA string containing the registrar WHOIS raw text to be parsed; works only when the _parse parameter is equal to 1.
Code Snippet
Install SDK
Response Body
<?xml version="1.0" encoding="utf-8"?><WhoisRecord>
  <createdDate>2009-03-20T02:47:17Z</createdDate>
  <updatedDate>2013-10-17T22:17:03Z</updatedDate>
  <expiresDate>2021-03-20T02:47:17Z</expiresDate>
  <registrant>
    <name>Registration Private</name>
    <organization>Domains By Proxy, LLC</organization>
    <street1>DomainsByProxy.com
14455 N. Hayden Road</street1>
    <city>Scottsdale</city>
    <state>Arizona</state>
    <postalCode>85260</postalCode>
    <country>UNITED STATES</country>
    <countryCode>US</countryCode>
    <email>WHOISXMLAPI.COM@domainsbyproxy.com</email>
    <telephone>14806242599</telephone>
    <fax>14806242598</fax>
    <rawText>Registrant Name: Registration Private
Registrant Organization: Domains By Proxy, LLC
Registrant Street: DomainsByProxy.com
Registrant Street: 14455 N. Hayden Road
Registrant City: Scottsdale
Registrant State/Province: Arizona
Registrant Postal Code: 85260
Registrant Country: US
Registrant Phone: +1.4806242599
Registrant Fax: +1.4806242598
Registrant Email: WHOISXMLAPI.COM@domainsbyproxy.com</rawText>
  </registrant>
  <administrativeContact>
    <name>Registration Private</name>
    <organization>Domains By Proxy, LLC</organization>
    <street1>DomainsByProxy.com
14455 N. Hayden Road</street1>
    <city>Scottsdale</city>
    <state>Arizona</state>
    <postalCode>85260</postalCode>
    <country>UNITED STATES</country>
    <countryCode>US</countryCode>
    <email>WHOISXMLAPI.COM@domainsbyproxy.com</email>
    <telephone>14806242599</telephone>
    <fax>14806242598</fax>
    <rawText>Admin Name: Registration Private
Admin Organization: Domains By Proxy, LLC
Admin Street: DomainsByProxy.com
Admin Street: 14455 N. Hayden Road
Admin City: Scottsdale
Admin State/Province: Arizona
Admin Postal Code: 85260
Admin Country: US
Admin Phone: +1.4806242599
Admin Fax: +1.4806242598
Admin Email: WHOISXMLAPI.COM@domainsbyproxy.com</rawText>
  </administrativeContact>
  <technicalContact>
    <name>Registration Private</name>
    <organization>Domains By Proxy, LLC</organization>
    <street1>DomainsByProxy.com
14455 N. Hayden Road</street1>
    <city>Scottsdale</city>
    <state>Arizona</state>
    <postalCode>85260</postalCode>
    <country>UNITED STATES</country>
    <countryCode>US</countryCode>
    <email>WHOISXMLAPI.COM@domainsbyproxy.com</email>
    <telephone>14806242599</telephone>
    <fax>14806242598</fax>
    <rawText>Tech Name: Registration Private
Tech Organization: Domains By Proxy, LLC
Tech Street: DomainsByProxy.com
Tech Street: 14455 N. Hayden Road
Tech City: Scottsdale
Tech State/Province: Arizona
Tech Postal Code: 85260
Tech Country: US
Tech Phone: +1.4806242599
Tech Fax: +1.4806242598
Tech Email: WHOISXMLAPI.COM@domainsbyproxy.com</rawText>
  </technicalContact>
  <domainName>whoisxmlapi.com</domainName>
  <nameServers>
    <rawText>NS65.DOMAINCONTROL.COM
NS66.DOMAINCONTROL.COM
</rawText>
    <hostNames>
      <Address>NS65.DOMAINCONTROL.COM</Address>
      <Address>NS66.DOMAINCONTROL.COM</Address>
    </hostNames>
    <ips/>
  </nameServers>
  <status>clientTransferProhibited clientUpdateProhibited clientRenewProhibited clientDeleteProhibited</status>
  <rawText>Domain Name: WHOISXMLAPI.COM
Registry Domain ID: 1548111715_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.godaddy.com
Registrar URL: http://www.godaddy.com
Updated Date: 2013-10-17T22:17:03Z
Creation Date: 2009-03-20T02:47:17Z
Registrar Registration Expiration Date: 2021-03-20T02:47:17Z
Registrar: GoDaddy.com, LLC
Registrar IANA ID: 146
Registrar Abuse Contact Email: abuse@godaddy.com
Registrar Abuse Contact Phone: +1.4806242505
Domain Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited
Domain Status: clientUpdateProhibited http://www.icann.org/epp#clientUpdateProhibited
Domain Status: clientRenewProhibited http://www.icann.org/epp#clientRenewProhibited
Domain Status: clientDeleteProhibited http://www.icann.org/epp#clientDeleteProhibited
Registry Registrant ID: Not Available From Registry
Registrant Name: Registration Private
Registrant Organization: Domains By Proxy, LLC
Registrant Street: DomainsByProxy.com
Registrant Street: 14455 N. Hayden Road
Registrant City: Scottsdale
Registrant State/Province: Arizona
Registrant Postal Code: 85260
Registrant Country: US
Registrant Phone: +1.4806242599
Registrant Phone Ext: 
Registrant Fax: +1.4806242598
Registrant Fax Ext: 
Registrant Email: WHOISXMLAPI.COM@domainsbyproxy.com
Registry Admin ID: Not Available From Registry
Admin Name: Registration Private
Admin Organization: Domains By Proxy, LLC
Admin Street: DomainsByProxy.com
Admin Street: 14455 N. Hayden Road
Admin City: Scottsdale
Admin State/Province: Arizona
Admin Postal Code: 85260
Admin Country: US
Admin Phone: +1.4806242599
Admin Phone Ext: 
Admin Fax: +1.4806242598
Admin Fax Ext: 
Admin Email: WHOISXMLAPI.COM@domainsbyproxy.com
Registry Tech ID: Not Available From Registry
Tech Name: Registration Private
Tech Organization: Domains By Proxy, LLC
Tech Street: DomainsByProxy.com
Tech Street: 14455 N. Hayden Road
Tech City: Scottsdale
Tech State/Province: Arizona
Tech Postal Code: 85260
Tech Country: US
Tech Phone: +1.4806242599
Tech Phone Ext: 
Tech Fax: +1.4806242598
Tech Fax Ext: 
Tech Email: WHOISXMLAPI.COM@domainsbyproxy.com
Name Server: NS65.DOMAINCONTROL.COM
Name Server: NS66.DOMAINCONTROL.COM
DNSSEC: unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
&gt;&gt;&gt; Last update of WHOIS database: 2018-07-10T15:00:00Z &lt;&lt;&lt;

For more information on Whois status codes, please visit https://www.icann.org/resources/pages/epp-status-codes-2014-06-16-en

Notes: 

IMPORTANT: Port43 will provide the ICANN-required minimum data set per 
ICANN Temporary Specification, adopted 17 May 2018. 
Visit https://whois.godaddy.com to look up contact data for domains 
not covered by GDPR policy.

The data contained in GoDaddy.com, LLC's WhoIs database,
while believed by the company to be reliable, is provided "as is"
with no guarantee or warranties regarding its accuracy.  This
information is provided for the sole purpose of assisting you
in obtaining information about domain name registration records.
Any use of this data for any other purpose is expressly forbidden without the prior written
permission of GoDaddy.com, LLC.  By submitting an inquiry,
you agree to these terms of usage and limitations of warranty.  In particular,
you agree not to use this data to allow, enable, or otherwise make possible,
dissemination or collection of this data, in part or in its entirety, for any
purpose, such as the transmission of unsolicited advertising and
and solicitations of any kind, including spam.  You further agree
not to use this data to enable high volume, automated or robotic electronic
processes designed to collect or compile this data for any purpose,
including mining this data for your own personal or commercial purposes. 

Please note: the registrant of the domain name is specified
in the "registrant" section.  In most cases, GoDaddy.com, LLC 
is not the registrant of domain names listed in this database.</rawText>
  <parseCode>3579</parseCode>
  <header/>
  <strippedText>Domain Name: WHOISXMLAPI.COM
Registrar WHOIS Server: whois.godaddy.com
Registrar URL: http://www.godaddy.com
Updated Date: 2013-10-17T22:17:03Z
Creation Date: 2009-03-20T02:47:17Z
Registrar Registration Expiration Date: 2021-03-20T02:47:17Z
Registrar: GoDaddy.com, LLC
Registrar IANA ID: 146
Registrar Abuse Contact Email: abuse@godaddy.com
Registrar Abuse Contact Phone: +1.4806242505
Domain Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited
Domain Status: clientUpdateProhibited http://www.icann.org/epp#clientUpdateProhibited
Domain Status: clientRenewProhibited http://www.icann.org/epp#clientRenewProhibited
Domain Status: clientDeleteProhibited http://www.icann.org/epp#clientDeleteProhibited
Registrant Name: Registration Private
Registrant Organization: Domains By Proxy, LLC
Registrant Street: DomainsByProxy.com
Registrant Street: 14455 N. Hayden Road
Registrant City: Scottsdale
Registrant State/Province: Arizona
Registrant Postal Code: 85260
Registrant Country: US
Registrant Phone: +1.4806242599
Registrant Fax: +1.4806242598
Registrant Email: WHOISXMLAPI.COM@domainsbyproxy.com
Admin Name: Registration Private
Admin Organization: Domains By Proxy, LLC
Admin Street: DomainsByProxy.com
Admin Street: 14455 N. Hayden Road
Admin City: Scottsdale
Admin State/Province: Arizona
Admin Postal Code: 85260
Admin Country: US
Admin Phone: +1.4806242599
Admin Fax: +1.4806242598
Admin Email: WHOISXMLAPI.COM@domainsbyproxy.com
Tech Name: Registration Private
Tech Organization: Domains By Proxy, LLC
Tech Street: DomainsByProxy.com
Tech Street: 14455 N. Hayden Road
Tech City: Scottsdale
Tech State/Province: Arizona
Tech Postal Code: 85260
Tech Country: US
Tech Phone: +1.4806242599
Tech Fax: +1.4806242598
Tech Email: WHOISXMLAPI.COM@domainsbyproxy.com
Name Server: NS65.DOMAINCONTROL.COM
Name Server: NS66.DOMAINCONTROL.COM
</strippedText>
  <footer/>
  <audit>
    <createdDate>2018-07-10 15:25:10.000 UTC</createdDate>
    <updatedDate>2018-07-10 15:25:10.000 UTC</updatedDate>
  </audit>
  <customField1Name>RegistrarContactEmail</customField1Name>
  <customField1Value>abuse@godaddy.com</customField1Value>
  <registrarName>GoDaddy.com, LLC</registrarName>
  <registrarIANAID>146</registrarIANAID>
  <whoisServer>whois.godaddy.com</whoisServer>
  <createdDateNormalized>2009-03-20 02:47:17 UTC</createdDateNormalized>
  <updatedDateNormalized>2013-10-17 22:17:03 UTC</updatedDateNormalized>
  <expiresDateNormalized>2021-03-20 02:47:17 UTC</expiresDateNormalized>
  <customField2Name>RegistrarContactPhone</customField2Name>
  <customField3Name>RegistrarURL</customField3Name>
  <customField2Value>+1.4806242505</customField2Value>
  <customField3Value>http://www.godaddy.com</customField3Value>
  <registryData>
    <createdDate>2009-03-20T02:47:17Z</createdDate>
    <updatedDate>2013-10-17T22:17:03Z</updatedDate>
    <expiresDate>2021-03-20T02:47:17Z</expiresDate>
    <domainName>whoisxmlapi.com</domainName>
    <nameServers>
      <rawText>NS65.DOMAINCONTROL.COM
NS66.DOMAINCONTROL.COM
</rawText>
      <hostNames>
        <Address>NS65.DOMAINCONTROL.COM</Address>
        <Address>NS66.DOMAINCONTROL.COM</Address>
      </hostNames>
      <ips/>
    </nameServers>
    <status>clientDeleteProhibited clientRenewProhibited clientTransferProhibited clientUpdateProhibited</status>
    <rawText>Domain Name: WHOISXMLAPI.COM
   Registry Domain ID: 1548111715_DOMAIN_COM-VRSN
   Registrar WHOIS Server: whois.godaddy.com
   Registrar URL: http://www.godaddy.com
   Updated Date: 2013-10-17T22:17:03Z
   Creation Date: 2009-03-20T02:47:17Z
   Registry Expiry Date: 2021-03-20T02:47:17Z
   Registrar: GoDaddy.com, LLC
   Registrar IANA ID: 146
   Registrar Abuse Contact Email: abuse@godaddy.com
   Registrar Abuse Contact Phone: 480-624-2505
   Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited
   Domain Status: clientRenewProhibited https://icann.org/epp#clientRenewProhibited
   Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
   Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited
   Name Server: NS65.DOMAINCONTROL.COM
   Name Server: NS66.DOMAINCONTROL.COM
   DNSSEC: unsigned
   URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
&gt;&gt;&gt; Last update of whois database: 2018-07-10T15:24:59Z &lt;&lt;&lt;

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.</rawText>
    <parseCode>251</parseCode>
    <header/>
    <strippedText>Domain Name: WHOISXMLAPI.COM
Registry Domain ID: 1548111715_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.godaddy.com
Registrar URL: http://www.godaddy.com
Updated Date: 2013-10-17T22:17:03Z
Creation Date: 2009-03-20T02:47:17Z
Registry Expiry Date: 2021-03-20T02:47:17Z
Registrar: GoDaddy.com, LLC
Registrar IANA ID: 146
Registrar Abuse Contact Email: abuse@godaddy.com
Registrar Abuse Contact Phone: 480-624-2505
Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited
Domain Status: clientRenewProhibited https://icann.org/epp#clientRenewProhibited
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited
Name Server: NS65.DOMAINCONTROL.COM
Name Server: NS66.DOMAINCONTROL.COM
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
&gt;&gt;&gt; Last update of whois database: 2018-07-10T15:24:59Z &lt;&lt;&lt;
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.
</strippedText>
    <footer/>
    <audit>
      <createdDate>2018-07-10 15:25:10.000 UTC</createdDate>
      <updatedDate>2018-07-10 15:25:10.000 UTC</updatedDate>
    </audit>
    <customField1Name>RegistrarContactEmail</customField1Name>
    <customField1Value>abuse@godaddy.com</customField1Value>
    <registrarName>GoDaddy.com, LLC</registrarName>
    <registrarIANAID>146</registrarIANAID>
    <createdDateNormalized>2009-03-20 02:47:17 UTC</createdDateNormalized>
    <updatedDateNormalized>2013-10-17 22:17:03 UTC</updatedDateNormalized>
    <expiresDateNormalized>2021-03-20 02:47:17 UTC</expiresDateNormalized>
    <customField2Name>RegistrarContactPhone</customField2Name>
    <customField3Name>RegistrarURL</customField3Name>
    <customField2Value>480-624-2505</customField2Value>
    <customField3Value>http://www.godaddy.com</customField3Value>
    <whoisServer>whois.godaddy.com</whoisServer>
  </registryData>
  <contactEmail>WHOISXMLAPI.COM@domainsbyproxy.com</contactEmail>
  <domainNameExt>.com</domainNameExt>
  <estimatedDomainAge>3401</estimatedDomainAge>
</WhoisRecord>

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication