# WHOIS for .nz (nic.nz)

The raw WHOIS record of nic.nz from the .nz registry; Deepinfo returned no parsed record.

Source: https://docs.deepinfo.com/reference/lookup/domain-whois/examples/nz/

Last updated: 2026-09-24

---
`GET https://api.deepinfo.com/v1/lookup/whois?domain=nic.nz`

The raw WHOIS record of nic.nz from the .nz registry; Deepinfo returned no parsed record.

Example 158 of 231 in **Country-Code** · [Domain WHOIS Examples by TLD](/reference/lookup/domain-whois/examples/) · endpoint: [Domain WHOIS](/reference/lookup/domain-whois/)

Tags: `tld` `.nz` · `type` `country-code`

`.nz` is the country-code top-level domain of New Zealand.

The example requests the WHOIS record of `nic.nz`, the registry's own domain by convention, so `raw` shows the `.nz` registry's WHOIS format, as the WHOIS server returned it. The registry answered, but Deepinfo returned no parsed record for this answer: `parsed` is `null` and `parse_code` is 13004.

## Request

| Parameter | In | Value |
|---|---|---|
| `domain` | query | `nic.nz` |

```bash
curl 'https://api.deepinfo.com/v1/lookup/whois?domain=nic.nz' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

## Response

### 200 · OK

`Content-Type: application/json` · `ratelimit-limit: 10` · `ratelimit-remaining: 8` · `ratelimit-reset: 1` · `x-ratelimit-limit-second: 10` · `x-ratelimit-remaining-second: 8` · `deepinfo-request-id: 5f0c6a8e-1b2d-4c3e-9f4a-7b8c9d0e1f2a`

```json
{
  "domain_name": "nic.nz",
  "raw": "Error code: 01044\nError message: The domain name requested has usage restrictions applied to it. Please see your Registrar for more details.\n\n% Terms of Use\n%\n% By submitting a WHOIS query you are entering into an agreement with Domain\n% Name Commission Ltd on the following terms and conditions, and subject to\n% all relevant .nz Policies and procedures as found at https://dnc.org.nz/.\n%\n% It is prohibited to:\n% - Send high volume WHOIS queries with the effect of downloading part of or\n%   all of the .nz Register or collecting register data or records;\n% - Access the .nz Register in bulk through the WHOIS service (ie. where a\n%   user is able to access WHOIS data other than by sending individual queries\n%   to the database);\n% - Use WHOIS data to allow, enable, or otherwise support mass unsolicited\n%   commercial advertising, or mass solicitations to registrants or to\n%   undertake market research via direct mail, electronic mail, SMS, telephone\n%   or any other medium;\n% - Use WHOIS data in contravention of any applicable data and privacy laws,\n%   including the Unsolicited Electronic Messages Act 2007;\n% - Store or compile WHOIS data to build up a secondary register of\n%   information;\n% - Publish historical or non-current versions of WHOIS data; and\n% - Publish any WHOIS data in bulk.\n%\n% Copyright Domain Name Commission Limited (a company wholly-owned by Internet\n% New Zealand Incorporated) which may enforce its rights against any person or\n% entity that undertakes any prohibited activity without its written\n% permission.\n%\n% The WHOIS service is provided by Internet New Zealand Incorporated.\n%\n% Additional information may be available at https://www.dnc.org.nz",
  "parsed": null,
  "check_date": "2026-09-23T17:10:35Z",
  "parse_code": 13004
}
```

## Related Examples

- [WHOIS for .nu (nic.nu)](/reference/lookup/domain-whois/examples/nu/)
- [WHOIS for .om (nic.om)](/reference/lookup/domain-whois/examples/om/)
- [WHOIS for .nr (nic.nr)](/reference/lookup/domain-whois/examples/nr/)
- [WHOIS for .pa (nic.pa)](/reference/lookup/domain-whois/examples/pa/)
- [WHOIS for .np (nic.np)](/reference/lookup/domain-whois/examples/np/)
- [WHOIS for .pe (nic.pe)](/reference/lookup/domain-whois/examples/pe/)
