Skip to content

Domain WHOIS snapshot history

GET
/whois/domain-history
const url = 'https://api.dazrik.net/whois/domain-history?target=example.com&page=1&limit=20';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}

Returns recorded domain WHOIS snapshots, newest first. History contains observations collected through successful /whois domain lookups, with a new snapshot when the returned registration data changes. It is not a complete archive of earlier registrations. Reading history does not perform a new lookup. A domain without history returns HTTP 200 with total: 0, pages: 0, and snapshots: []. Pages beyond the available history also return an empty snapshot array.

target
required
string

Domain or hostname to fetch history for. Subdomains are reduced to their registrable domain, for example www.example.com becomes example.com.

Example

example.com
page
integer
default: 1 >= 1 <= 1000000

Page number, starting at 1. Defaults to 1.

Example

1
limit
integer
default: 20 >= 1 <= 100

Snapshots per page (1-100). Defaults to 20.

Example

20

A page of domain snapshots

Media typeapplication/json
object
ok
required
boolean
query
required

The registrable domain the history was looked up for.

string
total
required

Total snapshots stored for this domain across all pages.

integer
snapshotCount
required

Number of snapshots returned on this page.

integer
page
required

The current page number.

integer
pages
required

Total number of pages available.

integer
snapshots
required

Snapshots for this page, newest first.

Array<object>

Domain registration fields observed at the time given by capturedAt. Unavailable fields are omitted.

object
domainName
string
registryDomainId
string
registrar
string
registrarIanaId
string
registrarUrl
string
registrarWhoisServer
string
whoisServer
string
registrarAbuseContactEmail
string
registrarAbuseContactPhone
string
registrantName
string
registrantOrganization
string
registrantState
string
registrantCountry
string
registrantEmail
string
createdDate

Registration creation date, in ISO 8601 when available; otherwise the reported date string

string
updatedDate

Last registration update, in ISO 8601 when available; otherwise the reported date string

string
expiryDate

Registration expiry date, in ISO 8601 when available; otherwise the reported date string

string
domainStatus
Array<string>
nameServer
Array<string>
dnssec
string
capturedAt
required

When this snapshot was recorded.

string format: date-time

Example

{
"ok": true,
"query": "example.com",
"total": 3,
"snapshotCount": 3,
"page": 1,
"pages": 1,
"snapshots": [
{
"domainName": "EXAMPLE.COM",
"domainStatus": [
"clientTransferProhibited"
],
"dnssec": "signedDelegation",
"capturedAt": "2026-07-06T00:42:46.526Z"
}
]
}
RateLimit
string

Request budget for the current window: limit, remaining, and reset (seconds until the window resets). Returned by known GET endpoints.

Example
limit=60, remaining=59, reset=42
RateLimit-Limit
integer

Maximum requests allowed per client IP per window (60 requests per 60s).

Example
60
RateLimit-Remaining
integer

Requests remaining in the current window before the limit is hit.

Example
59
RateLimit-Reset
integer

Seconds until the current window resets.

Example
42

Missing or invalid parameter

Media typeapplication/json

Error response.

object
ok
required
boolean
msg
required
string

Example

{
"ok": false,
"msg": "query param target is required"
}
RateLimit
string

Request budget for the current window: limit, remaining, and reset (seconds until the window resets). Returned by known GET endpoints.

Example
limit=60, remaining=59, reset=42
RateLimit-Limit
integer

Maximum requests allowed per client IP per window (60 requests per 60s).

Example
60
RateLimit-Remaining
integer

Requests remaining in the current window before the limit is hit.

Example
59
RateLimit-Reset
integer

Seconds until the current window resets.

Example
42

The request limit of 60 requests per minute per client IP was reached, or /connect or /website requests to the same destination are temporarily limited. The per-client request limit includes Retry-After, the number of seconds until the request budget resets. Destination-limit responses omit that header. A destination limit can apply even when RateLimit-Remaining is greater than zero.

Media typeapplication/json

Error response.

object
ok
required
boolean
msg
required
string

Example

{
"ok": false,
"msg": "you're being rate limited, try again later."
}
RateLimit
string

Request budget for the current window: limit, remaining, and reset (seconds until the window resets). Returned by known GET endpoints.

Example
limit=60, remaining=59, reset=42
RateLimit-Limit
integer

Maximum requests allowed per client IP per window (60 requests per 60s).

Example
60
RateLimit-Remaining
integer

Requests remaining in the current window before the limit is hit.

Example
59
RateLimit-Reset
integer

Seconds until the current window resets.

Example
42
Retry-After
integer

Seconds to wait before retrying after the per-client request limit is reached. Destination connection limits can return HTTP 429 without this header.

Example
42

Unexpected server error

Media typeapplication/json

Error response.

object
ok
required
boolean
msg
required
string

Example

{
"ok": false,
"msg": "unknown error"
}
RateLimit
string

Request budget for the current window: limit, remaining, and reset (seconds until the window resets). Returned by known GET endpoints.

Example
limit=60, remaining=59, reset=42
RateLimit-Limit
integer

Maximum requests allowed per client IP per window (60 requests per 60s).

Example
60
RateLimit-Remaining
integer

Requests remaining in the current window before the limit is hit.

Example
59
RateLimit-Reset
integer

Seconds until the current window resets.

Example
42