# Monitor SSL and domain expiration dates

**Use case:** 

Check SSL certificates, WHOIS registration and DNS records of your domains, and get warned when a certificate or domain expires within the days you choose. Schedule it weekly so a lapsed certificate never takes your site down.

## Input

```json
{
  "domains": [
    "wordpress.org",
    "apify.com",
    "bbc.co.uk"
  ],
  "checks": [
    "ssl",
    "whois",
    "dns"
  ],
  "monitorChanges": true,
  "alertDaysBeforeExpiry": 30,
  "pageSpeedStrategy": "mobile",
  "maxConcurrency": 10,
  "failOnError": false
}
```

## Output

```json
{
  "host": {
    "label": "Host",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "technologyNames": {
    "label": "Technologies",
    "format": "array"
  },
  "whois.registrar": {
    "label": "Registrar"
  },
  "whois.created": {
    "label": "Registered",
    "format": "date"
  },
  "whois.daysUntilExpiry": {
    "label": "Domain expires in (days)",
    "format": "number"
  },
  "ssl.issuer": {
    "label": "SSL issuer"
  },
  "ssl.daysUntilExpiry": {
    "label": "SSL expires in (days)",
    "format": "number"
  },
  "dns.emailSecurity.dmarcPolicy": {
    "label": "DMARC"
  },
  "http.securityHeadersScore": {
    "label": "Security headers"
  },
  "seo.score": {
    "label": "SEO score",
    "format": "number"
  },
  "performance.ttfbMs": {
    "label": "TTFB (ms)",
    "format": "number"
  },
  "hosting.provider": {
    "label": "Hosting"
  },
  "alerts": {
    "label": "Alerts",
    "format": "array"
  },
  "security.grade": {
    "label": "Security grade"
  },
  "dns.emailProvider": {
    "label": "Email provider"
  }
}
```

## About this Actor

This example demonstrates how to use [Tech Stack Detector & WHOIS, SSL Checker: BuiltWith Alternative](https://apify.com/fguiraud/website-tech-dns-whois-ssl.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fguiraud/website-tech-dns-whois-ssl.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/fguiraud/website-tech-dns-whois-ssl.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
