Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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.