Whois API

Whois API

API to perform a Whois query programmatically and get results in JSON format.

Response example. If you want to see more check the documentation.

Free Plan $0.00 Monthly Subscribe
3,000 Requests / Monthly
Free for Lifetime
No Credit Card Required
MOST POPULAR
Starter Plan $4.99 Monthly Subscribe
150,000 Requests / Monthly
Standard Support
Pro Plan $29.99 Monthly Subscribe
1,500,000 Requests / Monthly
Standard Support
Custom Plan Volume Monthly Contact Us
Any requests volume you need
Whois API Code Sample

What is Whois API?

Whether you want to build your own free domain discovery platform or just trying to check thousands of domains' availability for any reason, Whois API will help you to do so.

In addition to checking the availability of the domain name, Whois lookup provides registration information of the domain in JSON format, such as the expiration date, registrar, registrant information.

How Whois API helps you?

Whois queries are pretty simple to code but when you are dealing with thousands of Whois queries per day it becomes really complicated, since NIC servers have pretty strict rate limits. Our Whois API uses hundreds of Socks5 servers autoscaling itself which does the trick with rotating the IP addresses frequently. We execute millions of Whois queries each day. Our happy customers use this API to discover available domains, discover frauds, build SEO tools, run affiliate sites. They rely on us, and we are addicted to provide the best support that is possible.

See it in Action!

Which TLDs are supported?

Whois API is providing extensive variety for tlds. TLDs currently supported are as follows:

  • .com
  • .me
  • .net
  • .org
  • .sh
  • .io
  • .co
  • .club
  • .biz
  • .mobi
  • .info
  • .us
  • .domains
  • .cloud
  • .fr
  • .au
  • .ru
  • .uk
  • .nl
  • .fi
  • .br
  • .hr
  • .ee
  • .ca
  • .sk
  • .se
  • .no
  • .cz
  • .it
  • .in
  • .icu
  • .top
  • .xyz
  • .cn
  • .cf
  • .hk
  • .sg
  • .pt
  • .site
  • .kz
  • .si
  • .ae
  • .do
  • .yoga
  • .xxx
  • .ws
  • .work
  • .wiki
  • .watch
  • .wtf
  • .world
  • .website
  • .vip
  • .ly
  • .dev
  • .network
  • .company
  • .page
  • .rs
  • .run
  • .science
  • .sex
  • .shop
  • .solutions
  • .so
  • .studio
  • .style
  • .tech
  • .travel
  • .vc
  • .pub
  • .pro
  • .app
  • .press
  • .ooo
  • .de

If you wish us to support another TLD (extension), just let us know at [email protected]

How to start

First, start by (free tier available), get your API key and you are ready. Next, you can test using the following cURL command.

curl --request GET \
--url 'https://api.apilayer.com/whois/query?domain=apilayer.com' \
--header 'apikey: YOUR API KEY HERE'

How it works

In order to perform Whois queries on a large scale, we have built a huge and performant infrastructure. We have thousands of (residential) IP addresses reserved for this service and renew them consistently. All your Whois lookup queries are performed from a different IP address from the pool and you'll be surprised by how fast the service is. Just try and see for yourself.

Note

If you haven’t found your domain name yet, we have another API that can help you to discover potential domain names and validates if they are available through the Whois database.