• Home
  • API Products
  • Reverse Whois
  • Newly Registered Domains
  • Whois Lookup
  • Support
  • Contact Us
whois API

a unified, consistent Whois API and Whois Parser System

Whois API

Member Login




Create new account
Forgot your password?

(example: google.com or 74.125.45.100)
Whois Lookup: Order Now!
user anonymous [184.72.184.104] account balance: not available

Whois API


Reverse Whois API


Brand Alert API


Registrant Alert API


Domain Availability API



How to use Hosted Whois Web Service

how to make a webservice call to WhoisAPI?

http://www.whoisxmlapi.com/whoisserver/WhoisService?domainName=google.com&username=xxxxx&password=xxxxx
  additional input parameters: 
    outputFormat = XML|JSON  (defaults to XML)
    da = 0|1|2 (defaults to 0) 1 results in a quick check on domain availability, 2 is a slower but more accurate check on domain availability. 

how to query for my account balance?

http://www.whoisxmlapi.com/accountServices.php?servicetype=accountbalance&username=xxxxx&password=xxxxx

Will you warn me if my account balance is low or zero?

Yes, you will receive a warning email when your account balance falls below a level(default to be 10 and customizable by you). You will receive another warning email when your account balance reaches 0. To set the warning level, go to http://www.whoisxmlapi.com/accountServices.php?servicetype=accountUpdate&username=xxxxx&password=xxxxx&warn_threshold=30
supported input parameters are:
  • warn_threshold = the account balance at which a warning email will be sent to you
    value: a positive number
    default value: 10
  • warn_threshold_enabled = indicate whether a warning letter should be sent to you when the account balance reaches warn_threshold
    positive values: 1, true, on
    negative values: 0, false, off
    default value: 1
  • warn_empty_enabled = indicate whether a warning letter should be sent to you when the account balance reaches 0
    positive values: 1, true, on
    negative values: 0, false, off
    default value: 1

How to make query to Whois API Webservice in Java, PHP, .Net(C#), Ruby, Python, or Javascript?

Java Code :
Example 1 Example 2 Netbean project files with Apache Http Component
PHP Code : Example 1 Example 2 Example 3
.Net(C#) Code : Example 1 Visual Studio solution
Ruby Code : Example 1
Python Code : Example 1
Javascript Code : Example 1

Can I use https?

Yes, simply use https instead of http, the connection would be more secure but slower.

What tlds (gtlds and cctlds) do you support?

Yes, please check the list of TLDs that we support.

Is there an xml schema for the whois query result?

Yes, please download the
xml schema and a sample xml result.

Is there a term of service or SLA for using WHOIS API Webservice?

Please view the
Terms of Service here

  • Home|
  • API Products|
  • Reverse Whois |
  • Domain Availability API|
  • Newly Registered Domains|
  • Whois Lookup|
  • Terms of Service|
  • Privacy|
  • Support|
  • Contact Us

©Whois API LLC. All rights reserved.