# Check When a Domain Expires

**Use case:** 

Registry expiry and creation dates for a domain, with days-remaining math for renewal monitoring.

## Input

```json
{
  "domains": [
    "github.com"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "registered": {
    "label": "Registered",
    "format": "boolean"
  },
  "available": {
    "label": "Available",
    "format": "boolean"
  },
  "registrar_name": {
    "label": "Registrar",
    "format": "string"
  },
  "expires_at": {
    "label": "Expires",
    "format": "string"
  },
  "days_until_expiry": {
    "label": "Days left",
    "format": "integer"
  },
  "dnssec_enabled": {
    "label": "DNSSEC",
    "format": "boolean"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Domain WHOIS Lookup (RDAP) — Registrar, Expiry, Availability](https://apify.com/leorochasantos/domain-whois-rdap-lookup) with a specific input configuration. Visit the [Actor detail page](https://apify.com/leorochasantos/domain-whois-rdap-lookup) to learn more, explore other use cases, and run it yourself.