---
title: "Look up WHOIS for a domain"
method: GET
path: "/v1/domains/research/whois"
tags: ["Domains"]
---

# Look up WHOIS for a domain

`GET /v1/domains/research/whois`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/domains/research/whois`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-better-auth.session_token`
  - none

Returns public WHOIS registration data for one domain.

## Query parameters

- `teamId` string: Optional team context. Requires access to the team.
- `name` string: The domain to look up. Pass this or `domain`; they are the same parameter.
- `domain` string: Alias for `name`. Pass one of the two.

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object, required
    - `domain` string, required
    - `source` 'rdap' | 'whois', required
    - `status` string[], required
    - `registrar` string, nullable, required
    - `nameservers` string[], required
    - `events` object[], required
      - `action` string, required
      - `date` string, required
    - `raw` unknown, required

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

[API](https://skmtc.dev/spacefast/apis/spacefast-api.md) · [All operations](https://skmtc.dev/spacefast/apis/spacefast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacefast/apis/spacefast-api/revisions/bd165bc7c983?raw)
