Documentation

API URL


POST /lookup

Headers
Code
Content-Type: application/json
Body Parameters


Example Request

Code
{
  "domain": "openai.com"
}

Successful Response

Status
HTML
200 OK
Body
Code
{
  "fromCache": true,
  "domain": "openai.com",
  "tld": "com",
  "registrar": "MarkMonitor Inc.",
  "creationDate": "2015-04-15T00:00:00Z",
  "expirationDate": "2026-04-15T00:00:00Z",
  "nameServers": [
    "ns1.openai.com",
    "ns2.openai.com"
  ],
  "registrantRedacted": true
}

Error Response

Example
Code
400 INVALID_DOMAIN – If domain format is invalid
500 WHOIS_LOOKUP_FAILED – If lookup fails or is blocked

Last Updated:  May 4, 2026