Current Whois state for any domain, in one call.

The Whois Lookup API returns the registration record for a domain right now: registrar, dates, registrant, name servers, and status codes. Both the raw Whois response and a parsed structured form are returned in the same call.

WHAT THIS API RETURNS

The full Whois record, raw and parsed.

Pass a domain on the query string. The response includes the original Whois server output, a structured parse of the same record, and the timestamp of the underlying lookup.

The parsed object exposes the fields most workflows need without forcing you to write a registrar-specific Whois parser: creation date, update date, expiry date, registrar, registrant block (organization, location, contact), name servers, and EPP status codes. The raw block is preserved for cases where the parsed view loses signal that matters to you.

Whois Lookup returns current state. For multi-snapshot history of the same domain, pair it with the Whois History API.

REQUEST

One endpoint, one parameter.

Endpoint:

GET https://api.deepinfo.com/v1/lookup/whois?domain={domain}

Parameters:

Name In Type Required Description
domain query string Yes A registered domain such as deepinfo.com or www.deepinfo.com. IP addresses are not accepted.

Authentication is by API token in the request header. See docs.deepinfo.com for the full request reference.

SAMPLE RESPONSE

See what the API returns.

Real response structure for the WHOIS Lookup endpoint. Field coverage may vary based on query parameters and data availability.

JSON RESPONSE
{
  "domain": "example.com",
  "query_time": "2026-05-04T12:00:00Z",
  "registration": {
    "registrant_name": "Example Organization Ltd.",
    "registrant_organization": "Example Organization",
    "registrant_country": "US",
    "registrar": "Example Registrar Inc.",
    "registrar_iana_id": "292",
    "registrar_url": "https://example-registrar.com"
  },
  "dates": {
    "created": "2010-03-15T08:42:33Z",
    "updated": "2025-02-20T14:11:09Z",
    "expires": "2027-03-15T08:42:33Z"
  },
  "nameservers": [
    "ns1.example.com",
    "ns2.example.com"
  ],
  "status": [
    "clientTransferProhibited",
    "clientUpdateProhibited",
    "clientDeleteProhibited"
  ],
  "dnssec": "unsigned",
  "raw_whois_available": true
}
STRUCTURED VIEW
Domain
Domain
example.com
Query time
2026-05-04T12:00:00Z
Registration
Registrant
Example Organization Ltd.
Organization
Example Organization
Country
US
Registrar
Example Registrar Inc.
IANA ID
292
Registrar URL
example-registrar.com
Dates
Created
2010-03-15
Updated
2025-02-20
Expires
2027-03-15
Technical
Nameservers
ns1.example.com, ns2.example.com
Status
clientTransferProhibited, clientUpdateProhibited, clientDeleteProhibited
DNSSEC
unsigned
Raw WHOIS
available

Sample response shown. Real responses depend on query parameters, data availability, and API version. Talk to us for full schema documentation.

“Current Whois lookups in our SOAR enrichment used to fail intermittently against rate-limited registrar endpoints. The hosted resolver returns reliably and our enrichment success rate climbed substantially after the switch.”

— Detection Engineering Lead, Managed Security Services Provider
GET STARTED

Run a sample call, or have us walk you through it.

Most teams test the API against five or ten of their own domains before integrating. We'll set up token access and answer schema questions on a call.

Talk to us Browse API docs