Skip to content

whois-server-list/whois-api-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domain 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

Use Composer:

composer require whois-server-list/whois-api

Usage

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

$whoisApi = new whoisServerList\WhoisApi("apiKey");

Example

$whoisApi = new whoisServerList\WhoisApi("apiKey");
echo $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

Packages

No packages published

Languages