# WHOIS for .af (nic.af)

The WHOIS record of nic.af, in the .af registry's format.

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

Last updated: 2026-09-24

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

The WHOIS record of nic.af, in the .af registry's format.

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

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

`.af` is the country-code top-level domain of Afghanistan.

The example requests the WHOIS record of `nic.af`, the registry's own domain by convention, so the response shows the `.af` registry's WHOIS format: compare `raw`, the text as the WHOIS server returned it, with `parsed`, the same record in Deepinfo's fields.

## Request

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

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

## Response

### 200 · OK

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

```json
{
  "domain_name": "nic.af",
  "raw": "Domain Name: nic.af\nRegistry Domain ID: 24477-CoCCA\nUpdated Date: 2026-02-14T13:03:51Z\nCreation Date: 2006-01-02T11:00:00Z\nRegistry Expiry Date: 2033-03-14T00:00:00Z\nRegistrar Registration Expiration Date: 2033-03-14T00:00:00Z\nRegistrar: AF Ministry of Communications and IT\nRegistrar Street Address: Mohammad Jan Khan Watt\nRegistrar City: Kabul\nRegistrar Country: AF\nRegistrar Phone: +93 70 6604794\nRegistrar Email: user@nic.af\nRegistrar Abuse Contact Email: user@nic.af\nRegistrar Abuse Contact Phone: +93 70 6604794\nDomain Status: active https://icann.org/epp#active\nRegistry Registrant ID: 2100319-CoCCA\nRegistrant Name: NIC\nRegistrant Street: Mohammad Jan Khan Watt\nRegistrant City: Kabul\nRegistrant State/Province: Kabul\nRegistrant Postal Code: 2600\nRegistrant Country: AF\nRegistrant Email: user@nic.af\nRegistrant Phone: +930202102684\nName Server: ns1.desec.io\nName Server: ns2.desec.org\nDNSSEC: unsigned\n>>> Last update of WHOIS database: 2026-09-23T16:51:44.421Z <<<\n\nFor more information on domain status codes, please visit https://icann.org/epp\n\nTERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated.  Whois database is provided by AFGNIC as a service to the internet community.\n\nThe data is for information purposes only. AFGNIC does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CoCCA it's members (or CoCCA or member computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited.",
  "parsed": {
    "uid": "d817947904b59677e0e4bbce9ddca0e0",
    "create_date": "2006-01-02T11:00:00Z",
    "update_date": "2026-02-14T13:03:51Z",
    "expiry_date": "2033-03-14T00:00:00Z",
    "registrar": "af ministry of communications and it",
    "registrant": {
      "name": "REDACTED FOR PRIVACY",
      "organization": null,
      "street": "REDACTED FOR PRIVACY",
      "city": "kabul",
      "state": "kabul",
      "postal_code": "REDACTED FOR PRIVACY",
      "country": "af",
      "phone": "REDACTED FOR PRIVACY",
      "email": "REDACTED FOR PRIVACY"
    },
    "name_servers": [
      "ns1.desec.io",
      "ns2.desec.org"
    ],
    "domain_status": [
      "active"
    ],
    "whois_server": null
  },
  "check_date": "2026-09-23T17:00:19Z",
  "parse_code": null
}
```

## Related Examples

- [WHOIS for .ae (nic.ae)](/reference/lookup/domain-whois/examples/ae/)
- [WHOIS for .ag (nic.ag)](/reference/lookup/domain-whois/examples/ag/)
- [WHOIS for .ad (nic.ad)](/reference/lookup/domain-whois/examples/ad/)
- [WHOIS for .ai (nic.ai)](/reference/lookup/domain-whois/examples/ai/)
- [WHOIS for .al (nic.al)](/reference/lookup/domain-whois/examples/al/)
- [WHOIS for .am (nic.am)](/reference/lookup/domain-whois/examples/am/)
