Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-13T14:53:21.000Z (over 1 year ago)
- Last Synced: 2024-05-05T03:31:45.742Z (9 months 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: 12
- Watchers: 3
- Forks: 6
- 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.