# WHOIS for .tg (nic.tg)

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

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

Last updated: 2026-09-24

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

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

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

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

`.tg` is the country-code top-level domain of Togo.

The example requests the WHOIS record of `nic.tg`, the registry's own domain by convention, so the response shows the `.tg` 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.tg` |

```bash
curl 'https://api.deepinfo.com/v1/lookup/whois?domain=nic.tg' \
  -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.tg",
  "raw": "This is JWhoisServer serving ccTLD tg\nJava Whois Server 0.4.1.3    (c) 2006 - 2015 Klaus Zerwes zero-sys.net\nAll rights reserved.\nCopyright \"NICTogo2 - http://www.nic.tg\"\n\nDomain:.............nic.tg\nRegistrar:..........NETMASTER SARL\nActivation:.........2023-03-02\nExpiration:.........2030-06-26\nStatus:.............Activ&eacute;\nContact Type:.......[PRIVEE]\nLast Name: REDACTED FOR PRIVACY\nFirst Name: REDACTED FOR PRIVACY\nAddress: REDACTED FOR PRIVACY\nTel:................[PRIVEE]\nFax:................[PRIVEE]\ne-mail: REDACTED FOR PRIVACY\nName Server (DB):...ns1.nic.tg\nName Server (DB):...ns2.nic.tg\n\n----------------------------------------\n\nDomain:.............nic.tg\nRegistrar:..........NETMASTER SARL\nActivation:.........2023-03-02\nExpiration:.........2030-06-26\nStatus:.............Activ&eacute;\nContact Type:.......[PRIVEE]\nLast Name: REDACTED FOR PRIVACY\nFirst Name: REDACTED FOR PRIVACY\nAddress: REDACTED FOR PRIVACY\nTel:................[PRIVEE]\nFax:................[PRIVEE]\ne-mail: REDACTED FOR PRIVACY\nName Server (DB):...ns1.nic.tg\nName Server (DB):...ns2.nic.tg\n\n----------------------------------------\n\nDomain:.............nic.tg\nRegistrar:..........NETMASTER SARL\nActivation:.........2023-03-02\nExpiration:.........2030-06-26\nStatus:.............Activ&eacute;\nContact Type:.......[PRIVEE]\nLast Name: REDACTED FOR PRIVACY\nFirst Name: REDACTED FOR PRIVACY\nAddress: REDACTED FOR PRIVACY\nTel:................[PRIVEE]\nFax:................[PRIVEE]\ne-mail: REDACTED FOR PRIVACY\nName Server (DB):...ns1.nic.tg\nName Server (DB):...ns2.nic.tg\n\n----------------------------------------\n\nDomain:.............nic.tg\nRegistrar:..........NETMASTER SARL\nActivation:.........2023-03-02\nExpiration:.........2030-06-26\nStatus:.............Activ&eacute;\nContact Type:.......[PRIVEE]\nLast Name: REDACTED FOR PRIVACY\nFirst Name: REDACTED FOR PRIVACY\nAddress: REDACTED FOR PRIVACY\nTel:................[PRIVEE]\nFax:................[PRIVEE]\ne-mail: REDACTED FOR PRIVACY\nName Server (DB):...ns1.nic.tg\nName Server (DB):...ns2.nic.tg\n\n----------------------------------------\n\nDomain:.............nic.tg\nRegistrar:..........NETMASTER SARL\nActivation:.........2023-03-02\nExpiration:.........2030-06-26\nStatus:.............Activ&eacute;\nContact Type:.......[PRIVEE]\nLast Name: REDACTED FOR PRIVACY\nFirst Name: REDACTED FOR PRIVACY\nAddress: REDACTED FOR PRIVACY\nTel:................[PRIVEE]\nFax:................[PRIVEE]\ne-mail: REDACTED FOR PRIVACY\nName Server (DB):...ns1.nic.tg\nName Server (DB):...ns2.nic.tg\n\n----------------------------------------\n\nDomain:.............nic.tg\nRegistrar:..........NETMASTER SARL\nActivation:.........2023-03-02\nExpiration:.........2030-06-26\nStatus:.............Activ&eacute;\nContact Type:.......[PRIVEE]\nLast Name: REDACTED FOR PRIVACY\nFirst Name: REDACTED FOR PRIVACY\nAddress: REDACTED FOR PRIVACY\nTel:................[PRIVEE]\nFax:................[PRIVEE]\ne-mail: REDACTED FOR PRIVACY\nName Server (DB):...ns1.nic.tg\nName Server (DB):...ns2.nic.tg",
  "parsed": {
    "uid": "5d73dcb45586b2b00a3f7cd87075cbed",
    "create_date": "2023-03-02T00:00:00Z",
    "update_date": null,
    "expiry_date": "2030-06-26T00:00:00Z",
    "registrar": "netmaster sarl",
    "registrant": {
      "name": "REDACTED FOR PRIVACY",
      "organization": null,
      "street": null,
      "city": null,
      "state": null,
      "postal_code": null,
      "country": null,
      "phone": "REDACTED FOR PRIVACY",
      "email": "REDACTED FOR PRIVACY"
    },
    "name_servers": [
      "ns1.nic.tg",
      "ns2.nic.tg"
    ],
    "domain_status": [
      "activ&eacute;"
    ],
    "whois_server": null
  },
  "check_date": "2026-09-23T17:14:06Z",
  "parse_code": null
}
```

## Related Examples

- [WHOIS for .tf (nic.tf)](/reference/lookup/domain-whois/examples/tf/)
- [WHOIS for .th (nic.th)](/reference/lookup/domain-whois/examples/th/)
- [WHOIS for .td (nic.td)](/reference/lookup/domain-whois/examples/td/)
- [WHOIS for .tj (nic.tj)](/reference/lookup/domain-whois/examples/tj/)
- [WHOIS for .tc (nic.tc)](/reference/lookup/domain-whois/examples/tc/)
- [WHOIS for .tl (nic.tl)](/reference/lookup/domain-whois/examples/tl/)
