# get-domain

> Retrieve a custom domain and its verification status

Retrieve a custom domain, its DNS records, and its verification status by ID or name.

## Usage
```bash
unkey api domains get-domain [flags]
```
## Flags
<ParamField body="--domain" type="string" required>Domain ID or fully qualified domain name.</ParamField>

## Global Flags
| Flag | Type | Description |
|------|------|-------------|
| `--root-key` | string | Override root key (`$UNKEY_ROOT_KEY`) |
| `--api-url` | string | Override API base URL (default: `https://api.unkey.com`) |
| `--config` | string | Path to config file (default: `~/.unkey/config.toml`) |
| `--output` | string | Output format. Use `json` for raw JSON |
| `--body` | string | Send this JSON string as the request body. You cannot combine it with request-building flags. |

## Examples
```bash
unkey api domains get-domain --domain=api.acme.com
```
See [Custom domains](/networking/domains) for DNS and verification details.
