Whois API with XML output

Today we are announcing new output in our Whois API. Long time ago we made a decision to support only JSON, but time has come to also support XML. After all, when we first started out it was on a website called getwhoisxml.com!

Although we have updated our documentation and our Console, the difference in the API request is very small. You just need to add &ip=&asxml at the end of your request, to signal you want a XML output. So if you were using our JSON version, the switch is very simple.

What if I like JSON output?

If you really like JSON, there’s absolutely no change. If you’ve never used our whois API we recommend you check our documentation and code examples. Again, just have in mind that if you want to get an XML output, make sure you have the XML ending in your request. If you want to get the whois in a JSON output your whois request remains the same, and should look as stated in our documentation:

http://api.whoapi.com/?domain=whoapi.com&r=whois&apikey=demokey

What about our other APIs?

If you are using any of our other APIs, and you would like to switch to the XML output just follow the same advice! At the end of the request make sure you include &asxml. You can find more information and example outputs on each page for every API that you use.

Why introduce XML now?

One company specifically told us they signed up with a competitor because we didn’t have XML output. Three days later, voila, we have XML output.

Related Posts
DNS zone API – explained
machine readable dns zone file

Within WhoAPI there is a particular API called Domain DNS zone (discontinued in 2022), that I would like to cover Read more

What is a WHOIS API?
WHOIS REST API

In case you were wondering what is a WHOIS API or WHOIS REST API, and what does it do, here’s Read more

How to check if a domain name is available or not?
WhoAPI news

I can't remember how many people told me that a certain domain is available for registration, and when I asked Read more

WhoAPI case study: Wikimedia
Wikimedia Foundation employee Oliver Keyes in March 2012.

Oliver Keyes is a programmer and Human-Computer Interaction researcher who works for the Wikimedia Foundation. He's also the author of Read more

39 reasons to signup on WhoAPI
WhoAPI API functions

If you ever wondered or missed the information on what exactly you can get by using WhoAPI, this is the Read more

New WhoAPI blog!
WhoAPI news

We are proud to introduce you with our new blog design. On this day, lets remind ourselves what Steve Jobs Read more

Founder and CEO of WhoAPI Inc. Goran Duskic is an internet entrepreneur since 2006. He co-founded and sold several online ventures, including a web hosting company.

Post a Comment