PHPackages                             whois-server-list/whois-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. whois-server-list/whois-api

ActiveLibrary[API Development](/categories/api)

whois-server-list/whois-api
===========================

Client library for the Whois API. You can check the availability of internet domain names or perform whois queries.

0.2(10y ago)331.7k5[3 issues](https://github.com/whois-server-list/whois-api-php/issues)WTFPLPHP

Since Mar 4Pushed 9y ago4 watchersCompare

[ Source](https://github.com/whois-server-list/whois-api-php)[ Packagist](https://packagist.org/packages/whois-server-list/whois-api)[ Docs](https://market.mashape.com/malkusch/whois)[ RSS](/packages/whois-server-list-whois-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Domain API
==========

[](#domain-api)

This is a client library for the [Whois API service](http://whois-api.domaininformation.de/). 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](https://github.com/whois-server-list/whois-server-list), which is more than 500 top level domains.

Installation
============

[](#installation)

Use [Composer](https://getcomposer.org/):

```
composer require whois-server-list/whois-api
```

Usage
=====

[](#usage)

You'll need an api key to use this library. Get one from the [Whois API](http://whois-api.domaininformation.de/).

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

- [`WhoisApi::isAvailable()`](http://whois-server-list.github.io/whois-api-php/api/class-whoisServerList.WhoisApi.html#_isAvailable)checks if a domain name is available.
- [`WhoisApi::areAvailable()`](http://whois-server-list.github.io/whois-api-php/api/class-whoisServerList.WhoisApi.html#_areAvailable)checks multiple domain names if they are available.
- [`WhoisApi::whois()`](http://whois-server-list.github.io/whois-api-php/api/class-whoisServerList.WhoisApi.html#_whois)returns the whois data of a domain.
- [`WhoisApi::query()`](http://whois-server-list.github.io/whois-api-php/api/class-whoisServerList.WhoisApi.html#_query)queries an arbitrary whois server.
- [`WhoisApi::domains()`](http://whois-server-list.github.io/whois-api-php/api/class-whoisServerList.WhoisApi.html#_domains)Lists all top and second level domains which can be used by the Whois API.

Example
-------

[](#example)

```
$whoisApi = new whoisServerList\WhoisApi("apiKey");
echo $whoisApi->isAvailable("example.net") ? "available" : "registered";
```

License and authors
===================

[](#license-and-authors)

This project is free and under the WTFPL. Responsable for this project is Markus Malkusch .

[![Build Status](https://camo.githubusercontent.com/ee18cede55daf801802bbd450d558e33a1d92931bbc62c407384d9d53acc2304/68747470733a2f2f7472617669732d63692e6f72672f77686f69732d7365727665722d6c6973742f77686f69732d6170692d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/whois-server-list/whois-api-php)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

3720d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97ee86e5e22b92173b2787cad0ba7ac144109e126221c6d21adecdae32ef37fc?d=identicon)[malkusch](/maintainers/malkusch)

---

Top Contributors

[![malkusch](https://avatars.githubusercontent.com/u/1623984?v=4)](https://github.com/malkusch "malkusch (7 commits)")

---

Tags

domainwhois

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/whois-server-list-whois-api/health.svg)

```
[![Health](https://phpackages.com/badges/whois-server-list-whois-api/health.svg)](https://phpackages.com/packages/whois-server-list-whois-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
