Whois is a query and response protocol that is widely used for querying databases that store the registered users or assignees of an internet resource, such as domain name, an IP address block, or an autonomous system.

  • Whois for Domain.
  • Whois for IP Address (contains IPv4, IPv6).

Parameters:

  • name - Domain or IP Address. String. Required.
  • is_enhanced - true (default) parsed format, false raw format, Optional.
  • query - Whois IP query type ["RDAP", "LEGACY", "NIR"], "RDAP" default, Optional.

CURL Example

curl -X POST http://api.101nettools.com/v1/whois/ \
     -H 'Authorization: Token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     -H 'Content-Type:application/json' \
     -H 'Accept:application/json' \
     -d '{"name": "example.com", "is_enhanced": true}'
GET /v1/whois/
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "message": "OK",
    "code": 200
}