https://github.com/someshkar/whois-api
A simple rest API for whois lookups.
https://github.com/someshkar/whois-api
whois whois-api whois-go whois-lookup whois-server whois-service whoislookup
Last synced: 9 days ago
JSON representation
A simple rest API for whois lookups.
- Host: GitHub
- URL: https://github.com/someshkar/whois-api
- Owner: someshkar
- Created: 2020-05-15T11:26:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-13T14:53:21.000Z (over 1 year ago)
- Last Synced: 2025-04-10T03:15:10.163Z (9 days ago)
- Topics: whois, whois-api, whois-go, whois-lookup, whois-server, whois-service, whoislookup
- Language: Go
- Homepage: https://whois-api.now.sh
- Size: 16.6 KB
- Stars: 16
- Watchers: 2
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rainmana - someshkar/whois-api - A simple rest API for whois lookups. (Go)
README
# Whois API
A simple serverless REST Whois API, written in Go. Mainly exists because other Whois API services are either too expensive or have a strict rate limit.
## Usage
This API is deployed at https://whois-api.now.sh. However, self hosting is as simple as forking this repository and setting up a [Vercel](https://vercel.com) account.
### `POST /`
Use this format to `POST` data to the main endpoint:
```json
{
"domain": "example.com"
}
```### `GET /ping`
Use this endpoint to check if the service is running. It should respond with `pong`.
## Roadmap
- [ ] Write MultiHandler function which handles multiple domains concurrently using goroutines.