Skip to content

WooMai/whois-servers

Repository files navigation

WHOIS Server List

An Enhanced WHOIS Server List Based on the IANA Root Zone Database

Last updated: 2025-05-31

Usage

Use the list directly

JSON / TXT

JavaScript / TypeScript

Install the package with NPM or Yarn:

npm i whois-servers-list
# or
yarn add whois-servers-list

(Optional) To ensure that you are using the latest list, you can modify your package.json:

{
  ...
  "dependencies": {
    ...
    "whois-servers-list": "latest"
  },
  ...

Then you can use the list like this:

const servers = require('whois-servers-list');

const server = servers['com'];  // whois.verisign-grs.com

or TypeScript:

import servers from 'whois-servers-list';

const server: string | null = servers['com'];  // whois.verisign-grs.com

PHP

Add the package with Composer:

composer require woomai/whois-servers:dev-master

Then you can use the list like this:

$servers = json_decode(file_get_contents('vendor/woomai/whois-servers/list.json'), true);
$server = $servers['com'];  // whois.verisign-grs.com

Contributing

If this list is outdated or missing servers, please feel free to open an issue or create pull request!

License

The Unlicense

About

An Enhanced WHOIS Server List of Top Level TLDs. Automatic updates.

Topics

Resources

License

Stars

Watchers

Forks