> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kodostatus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Domain Monitor

> Retrieve details of a specific domain expiration monitor

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the domain monitor
</ParamField>

## Response

<ResponseField name="id" type="string">Unique identifier</ResponseField>
<ResponseField name="domain" type="string">Domain being monitored</ResponseField>
<ResponseField name="alert_days" type="number">Days before expiration to alert</ResponseField>
<ResponseField name="enabled" type="boolean">Whether monitoring is active</ResponseField>

<ResponseField name="registration" type="object">
  Detailed WHOIS information

  <Expandable title="Registration Details">
    <ResponseField name="registrar" type="string">Domain registrar</ResponseField>
    <ResponseField name="registrar_url" type="string">Registrar website</ResponseField>
    <ResponseField name="created_date" type="string">Domain creation date</ResponseField>
    <ResponseField name="updated_date" type="string">Last WHOIS update</ResponseField>
    <ResponseField name="expiry_date" type="string">Domain expiration date</ResponseField>
    <ResponseField name="days_until_expiry" type="number">Days remaining</ResponseField>
    <ResponseField name="nameservers" type="array">Configured nameservers</ResponseField>
    <ResponseField name="status" type="array">Domain status codes</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="check_history" type="array">Recent check results</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://kodostatus.com/api/v1/domain-monitors/dom_abc123" \
    -H "X-API-Key: your_api_key"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://kodostatus.com/api/v1/domain-monitors/dom_abc123', {
    headers: { 'X-API-Key': 'your_api_key' }
  });
  const domain_monitor = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "id": "dom_abc123",
    "domain": "example.com",
    "alert_days": 60,
    "enabled": true,
    "last_checked_at": "2024-01-15T10:30:00Z",
    "registration": {
      "registrar": "Cloudflare, Inc.",
      "registrar_url": "https://cloudflare.com",
      "created_date": "2020-01-15T00:00:00Z",
      "updated_date": "2024-01-10T00:00:00Z",
      "expiry_date": "2025-01-15T00:00:00Z",
      "days_until_expiry": 365,
      "nameservers": ["ns1.cloudflare.com", "ns2.cloudflare.com"],
      "status": ["clientTransferProhibited"]
    },
    "check_history": [
      {
        "checked_at": "2024-01-15T10:30:00Z",
        "days_until_expiry": 365
      }
    ],
    "service_id": null,
    "created_at": "2024-01-01T00:00:00Z"
  }
  ```
</ResponseExample>
