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