https://github.com/joshterrill/freewhois
A node client that uses the iana RDAP DNS database to lookup WHOIS information for free.
https://github.com/joshterrill/freewhois
dns rdap whois whois-lookup whoislookup
Last synced: about 2 months ago
JSON representation
A node client that uses the iana RDAP DNS database to lookup WHOIS information for free.
- Host: GitHub
- URL: https://github.com/joshterrill/freewhois
- Owner: joshterrill
- License: mit
- Created: 2020-04-26T08:46:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-09-16T21:34:30.000Z (9 months ago)
- Last Synced: 2025-10-10T11:09:57.138Z (8 months ago)
- Topics: dns, rdap, whois, whois-lookup, whoislookup
- Language: JavaScript
- Size: 131 KB
- Stars: 18
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# freewhois
A node client that uses the iana RDAP DNS database to lookup WHOIS information for free.
TLD List comes from: https://data.iana.org/rdap/dns.json
To see the status of all RDAP TLD's: https://deployment.rdap.org/
*TLD's last updated on 11/2/2025*
## Usage in code
1. Install via `npm i freewhois --save`
2. Code example:
```javascript
const whois = require("freewhois");
async function whoisLookup() {
const data = await whois("https://www.google.com");
console.log(data); // returns as json
}
```
## Usage in CLI
1. Install via `npm i freewhois -g`
2. CLI command:
```bash
$ freewhois "https://www.google.com"
$ # returns formatted json
```
## Manually update TLD's
```bash
npm run update-tlds
```
## License
MIT