• 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 [54.224.75.101] account balance: not available

Whois API


Reverse Whois API


Brand Alert API


Registrant Alert API


Domain Availability API



About Domain Availability API

Domain Availability API Hosted Webservice returns well-parsed domain availability information to your application in popular formats(XML&JSON) per http request. It works for most of the tlds. Register your free developer account now to get your first 100 domain availability lookups for free. See pricing chart for advanced offerings or Order now

how to make a webservice call to Domain Availability API?

http://www.whoisxmlapi.com/whoisserver/WhoisService?cmd=GET_DN_AVAILABILITY&domainName=test.com&username=xxxxx&password=xxxxx
  input parameters: 
  cmd = GET_DN_AVAILABILITY  (required)
  domainName = (required)
  userName
  password
  getMode = DNS_AND_WHOIS | DNS_ONLY (default: DNS_ONLY)
            the default getMode DNS_ONLY is the quickest way, 
            DNS_AND_WHOIS mode is slower but the most accurat way.

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 in Java or PHP?

Download the
sample Java code of making a query to Domain Availability API webservice in java using Apache Http Component. Download the complete netbean project with the necessary libraries here.
Download the sample PHP code of of making a query to Domain Availability API webservice in PHP

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 domain availability api result?

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

Is there a term of service or SLA for using WHOIS API/Domain Availability 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.