Posted in:

Check domain availability with Javascript

I see that a lot of people use Google for “javascript check domain availability” so I thought I would help them with the subject. Especially since WhoAPI’s currently most popular function is domain availability checking. But only a small percentage of people that include experts and developers know a difference between 1 domain availability check (with captcha haunting you) and 100 000 daily domain availability checks with our API. Basically, the latter is used to build the prior.

Here’s a great example of how you can build a service for domain availability checks (without captcha). The thing is if you want to use Javascript and check domain availability you only need to connect to an API. Let someone else do the hard lifting for you. You do something that you are passionate about! If you visited WhoNS, you probably saw that it is powered by our domain availability API, that does the heavy lifting.

Here’s what you do:

[source language=”javascript”]


[please wait]
[/source]

So basically, you we’re checking if the domain name “whoapi.com” is available. If error occurs it will be translated automatically, if not you should see “1” (signals the domain name is taken) as a result string. Its practically the same with PHP.

Unfortunately, you will have to pay a fee for using this solution, so be creative. Meaning, find a way to offer this service so it’s profitable for you too. Naturally, you cannot charge for someone to check domain availability on your website, but I am sure you already found a way you can profit from this (since you are reading this). And if you haven’t, then continue following this blog! I am sure we will write now and then about the huge potential that can come out of this.

WhoNS - Check domain availability with Javascript.
WhoNS – Our, discontinued service that we built in order to check domain availability with Javascript.

For example, why not building a script, or go that far to building a service helping new companies find available domain names. But in a way, they insert 20-200 keywords in one box and 20-200 (or just pick a number) in another box (your script cross-lines the keywords) and deliver the available domain names. That would be cool. Thing is, if you make 200×200 checks, you would need 40 000 checks. Can you imagine a person going hand-by-hand inserting 40 000 names and each time inserting captcha? It would drive them nuts! Write to us what you think about this idea or just comment below!

If however, you want a free way to do javascript checking of domain availability, you are probably going to have a hard time finding an adequate solution. The reasons this is true is because you need to have the infrastructure and the technology to perform massive lookups. Regardless, be it Javascript, Ruby or Python. Big domain registrars aren’t interested in giving up their infrastructure and it’s beginning to be a never-ending problem. So, you got to make sure you can afford the querying – find the right niche and offer value-added service, and solve a problem for your clients. Which then in return, they will be happy to pay for.

Written by Goran Duskic

I am the founder and CEO at WhoAPI. Entrepreneur for more than a decade in the hosting and domain industry. Sold my previous company. 500 Startups and StartLabs alumni. Author of a white paper "Domain Disclosure: Dirty Dozen" and eBook "26 Fundraising Questions for Startups".

98 posts

2 Comments

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *