---
title: "WHOIS History"
method: GET
path: "/v1/{domain}/whois/history/"
tags: ["Lookups"]
---

# WHOIS History

`GET /v1/{domain}/whois/history/`

## Request

- Base URL: `https://api.domaintools.com`
- URL: `https://api.domaintools.com/v1/{domain}/whois/history/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - HTTP basic
  - API key in query parameter `signature`
- TypeScript: <https://skmtc.dev/domaintools/apis/domaintools-lookups-and-monitors-api/docs/v1/:domain/whois/history/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve historical WHOIS records of a given domain name. Returns at most 100 records per request; use the `offset` parameter to page through larger histories.

## Path parameters

- `domain` string, required: A base (apex) domain like example.com, excluding subdomains.

## Query parameters

- `sort` 'date_asc' | 'date_desc'
- `limit` integer
- `offset` integer
- `mode` 'list' | 'count' | 'check_existence'
- `app_partner` string: A short identifier, code, or handle.
- `app_name` string: A short identifier, code, or handle.
- `app_version` string: A short identifier, code, or handle.
- `format` 'html' | 'json' | 'xml': The desired response format.

## Response `200`

OK

- WhoisHistory: Response for the WHOIS History endpoint.
  - `response` object
    - `record_count` number
    - `history` object[]
      - `date` string, date
      - `is_private` 0 | 1: Privacy flag: 0 = public WHOIS record, 1 = privacy-protected.
      - `whois` object
        - `registrant` string
        - `registration` object
          - `created` string, date
          - `expires` string, date
          - `registrar` string
          - `statuses` string[]
        - `name_servers` string[]
        - `server` string, hostname
        - `record` string

## Other responses

- `400`: 400: Bad Request. The request was invalid. The response will contain details about the error.
- `401`: 401: Unauthorized. API credentials are required and were not provided, or the provided credentials are not valid.
- `403`: 403: Forbidden. The API credentials provided do not have access to the requested resource or endpoint.
- `404`: 404: Not Found. The requested resource does not exist.
- `500`: 500: Internal Server Error. An unexpected error occurred on the server. If the problem persists, contact DomainTools support.
- `503`: 503: Service Unavailable. The service is temporarily unavailable.

---

[API](https://skmtc.dev/domaintools/apis/domaintools-lookups-and-monitors-api.md) - [All operations](https://skmtc.dev/domaintools/apis/domaintools-lookups-and-monitors-api/llms.txt) - [OpenAPI document](https://skmtc.dev/domaintools/apis/domaintools-lookups-and-monitors-api/revisions/832f423a9729?raw)
