---
title: "Retrieve a domain"
method: GET
path: "/{account}/domains/{domain}"
tags: ["domains"]
---

# Retrieve a domain

`GET /{account}/domains/{domain}`

Retrieves the details of an existing domain.

## Path parameters

- `account` integer, required
- `domain` string, required

## Response `200`

Domain retrieved.

- object
  - `data` Domain, required
    - `id` integer, required
    - `account_id` integer, required
    - `registrant_id` integer, nullable, required
    - `name` string, required
    - `unicode_name` string, required
    - `state` 'hosted' | 'registered' | 'expired', required
    - `auto_renew` boolean, required
    - `private_whois` boolean, required
    - `expires_at` string, date-time, nullable, required — A nullable date-time value. The value can be null, when present the value is formatted according to the ISO 8601 specification.
    - `trustee` boolean, required
    - `expires_on` string, date — A date value formatted as ISO 8601.
    - `created_at` string, date-time, required — A date-time value, representing when the entry was created, formatted as ISO 8601.
    - `updated_at` string, date-time, required — A date-time value, representing when the entry was last updated, formatted as ISO 8601.

## Other responses

- `400` — A required parameter is missing or the request is invalid.
- `404` — The requested resource doesn't exist.

---

[API](https://skmtc.net/dnsimple/apis/dnsimple-api.md) · [All operations](https://skmtc.net/dnsimple/apis/dnsimple-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dnsimple/dnsimple-api/revisions/270bb4f6f532/schema)
