---
title: "Get WHOIS"
method: GET
path: "/domain/{hostname}/whois"
---

# Get WHOIS

`GET /domain/{hostname}/whois`

Returns the current WHOIS data about a given domain with the stats merged together

## Path parameters

- `hostname` string, required

## Query parameters

- `apikey` string, required

## Response `200`

200

- object
  - `updatedDate` string
  - `status` string
  - `registrarName` string
  - `nameServers` string[]
  - `expiresDate` string
  - `endpoint` string
  - `domain` string
  - `createdDate` string
  - `contacts` object[]
    - `type` string
    - `countryCode` string
    - `country` string
  - `contactEmail` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/securitytrails/apis/securitytrails-api.md) · [All operations](https://skmtc.net/securitytrails/apis/securitytrails-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/securitytrails/securitytrails-api/versions/13cd180c20ab/schema)
