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": [removed_from_this_example],
  "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": "Slavka Krautzeka 83A",
      "city": "Rijeka",
      "zipcode": "51000",
      "state": "Primorsko-goranska",
      "country": "HR",
      "phone": "+385.51850693",
      "fax": "",
      "email": "",
      "full_address": "Slavka Krautzeka 83A, Slavka Krautzeka 83A, 51000, Primorsko-goranska, HR"
    },
    {
      "type": "admin",
      "name": "Smart Queries",
      "organization": "Smart Queries Ltd.",
      "street": "Slavka Krautzeka 83A",
      "city": "Rijeka",
      "zipcode": "51000",
      "state": "Primorsko-goranska",
      "country": "HR",
      "phone": "+385.51850693",
      "fax": "",
      "email": [removed_from_this_example],
      "full_address": "Slavka Krautzeka 83A, Slavka Krautzeka 83A, 51000, Primorsko-goranska, HR"
    },
    {
      "type": "tech",
      "name": "Smart Queries",
      "organization": "Smart Queries Ltd.",
      "street": "Slavka Krautzeka 83A",
      "city": "Rijeka",
      "zipcode": "51000",
      "state": "Primorsko-goranska",
      "country": "HR",
      "phone": "+385.51850693",
      "fax": "",
      "email": [removed_from_this_example],
      "full_address": "Slavka Krautzeka 83A, Slavka Krautzeka 83A, 51000, Primorsko-goranska, HR"
    }
  ]
}