Whois API in JSON
You'll need your API key every time you make a request.
You can find your unique API key inside the "My account" section once you register.

You are allowed to make 1 request per minute, for more requests, support and help with integration visit WhoAPI.
Request
GET
http://api.freedomainapi.com/?domain=freedomainapi.com&r=whois&apikey=YOUR_API_KEY
Output in JSON format (whois example - "whois")
{
  "status": "0",
  "whois_server": "whois.publicdomainregistry.com",
  "status_desc": "Successfully processed",
  "limit_hit": false,
  "registered": true,
  "whois_raw": [removed_from_this_example],
  "disclaimer": "",
  "premium": false,
  "generic_whois": true,
  "date_created": "2013-03-26",
  "date_expires": "2017-03-26 15:58:47",
  "date_updated": "2016-05-17",
  "domain_status": [
    "clienttransferprohibited https://icann.org/epp#clienttransferprohibited"
  ],
  "nameservers": [
    "ns1.doradohost.com",
    "ns2.doradohost.com"
  ],
  "emails": [
    [removed_from_this_example]
  ],
  "whois_raw_parent": Disabled due to GDPR,
  "contacts": [
    {
      "type": "registrar",
      "name": "",
      "organization": "PDR Ltd. d/b/a PublicDomainRegistry.com",
      "phone": "+1.2013775952",
      "email": [removed_from_this_example],
      "full_address": ""
    },
    {
      "type": "registrant",
      "name": "",
      "organization": "",
      "street": "Disabled due to GDPR",
      "city": "Disabled due to GDPR",
      "zipcode": "Disabled due to GDPR",
      "state": "Disabled due to GDPR",
      "country": "HR",
      "phone": "Disabled due to GDPR",
      "fax": "",
      "email": "",
      "full_address": "Disabled due to GDPRR"
    },
    {
      "type": "admin",
      "name": "Disabled due to GDPR",
      "organization": "Disabled due to GDPR",
      "street": "Disabled due to GDPR",
      "city": "Disabled due to GDPR",
      "zipcode": "Disabled due to GDPR",
      "state": "Disabled due to GDPR",
      "country": "HR",
      "phone": "Disabled due to GDPR",
      "fax": "",
      "email": Disabled due to GDPR,
      "full_address": "Disabled due to GDPR"
    },
    {
      "type": "tech",
      "name": "Disabled due to GDPR",
      "organization": "Disabled due to GDPR",
      "street": "Disabled due to GDPR",
      "city": "Disabled due to GDPR",
      "zipcode": "Disabled due to GDPR",
      "state": "Disabled due to GDPR",
      "country": "HR",
      "phone": "Disabled due to GDPR",
      "fax": "",
      "email": Disabled due to GDPR,
      "full_address": "Disabled due to GDPR"
    }
  ]
}