Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 2.04 KB

README.md

File metadata and controls

56 lines (41 loc) · 2.04 KB

Whois API

This is a client library for the Whois API service. With this API you can

  • Check if a domain name is available
  • Get its whois data or query an arbitrary whois server
  • Don't worry about rate limits on the respective whois server

The service supports all domains of the Whois Server list, which is more than 500 top level domains.

Installation

This package is available in Maven central:

<dependency>
    <groupId>de.malkusch.whois-server-list</groupId>
    <artifactId>whois-api</artifactId>
    <version>0.0.8</version>
</dependency>

Usage

You'll need an api key to use this library. Get if from the Whois API.

WhoisApi whoisApi = new WhoisApi("apiKey");

Example

WhoisApi whoisApi = new WhoisApi("apiKey");
System.out.println(whoisApi.isAvailable("example.net") ? "available" : "registered");

License and authors

This project is free and under the WTFPL. Responsable for this project is Markus Malkusch [email protected].

Build Status