Domain WHOIS
GET
https://api.deepinfo.com/v1/lookup/whoisReturns the current WHOIS registration record of a domain: registrar, registrant, creation, update and expiry dates, name servers and status codes. The record is queried in real time. The response includes both the raw WHOIS text and a parsed version.
Authentication
Send your API key in the apikey request header.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
domain | Required | Domain name, e.g. deepinfo.com. Subdomains are accepted (www.deepinfo.com); IP addresses are not.Example deepinfo.com |
Response Fields
| Field | Description |
|---|---|
domain_ | The queried domain |
raw | Raw WHOIS text as returned by the WHOIS server |
parsed | Parsed record, with the parsed.* fields below. null if the record could not be parsed |
parsed. | Registration date |
parsed. | Date of the last update |
parsed. | Expiry date |
parsed. | Registrar |
parsed. | Registrant name |
parsed. | Registrant organization |
parsed. | Registrant street address |
parsed. | Registrant city |
parsed. | Registrant state or province |
parsed. | Registrant postal code |
parsed. | Registrant country |
parsed. | Registrant phone number |
parsed. | Registrant e-mail address |
parsed. | Name servers |
parsed. | Domain status codes |
parsed. | WHOIS server |
check_ | When the lookup was performed (UTC) |
parse_ | Parser status code; null when parsing succeeded |
Response Schema
Inferred from examples Built from the saved 2xx example response: the fields it contains, with the types seen there. It is not a contract.
| Field | Type | Example |
|---|---|---|
domain_name | string | "deepinfo.com" |
raw | string | |
parsed | object | |
parsed. | string | "3bafd4dd0782078cdf8163ad780370d9" |
parsed. | string | "2001-06-05T02:57:08Z" |
parsed. | string | "2025-08-19T07:33:45Z" |
parsed. | string | "2028-10-20T11:59:59Z" |
parsed. | string | "godaddy online services cayman isla…" |
parsed. | object | |
parsed. | string | |
parsed. | string | |
parsed. | string | |
parsed. | string | "tempe" |
parsed. | string | "arizona" |
parsed. | string | |
parsed. | string | "us" |
parsed. | string | |
parsed. | string | |
parsed. | array< | "may.ns.cloudflare.com" |
parsed. | array< | "clientdeleteprohibited" |
parsed. | string | "whois.uniregistrar.com" |
check_date | string | "2026-09-22T12:25:50Z" |
parse_code | null |
Errors
400 if domain is missing or not a valid domain. See Getting Started → Errors.
Examples
Saved examples from the Deepinfo API. Selecting one loads it into the request and response panels.
Worked Examples
Worked examples of this endpoint, each on its own page with the exact request and the response it returns.
- WHOIS for .com (nic.com)The WHOIS record of nic.com, in the .com registry's format.
- WHOIS for .org (nic.org)The WHOIS record of nic.org, in the .org registry's format.
- WHOIS for .de (nic.de)The WHOIS record of nic.de, in the .de registry's format.
- WHOIS for .jp (nic.jp)The WHOIS record of nic.jp, in the .jp registry's format.