# SSL Certificate Expiry Watchlist - 30 Day Warning

**Use case:** 

Paste a list of domains and get back an SSL certificate expiry watchlist: days left, expiry date, issuer and whether the certificate is expired, self-signed or issued to the wrong host. Sort by days left to see what breaks next, or export the watchlist as CSV for your calendar. Runs in seconds, costs half a cent per domain, and needs no proxy or login.

## Input

```json
{
  "domains": [
    "caferio.com",
    "superpermandcuts.com",
    "salons.greatclips.com",
    "gratefulbeancoffee.com",
    "firstimpressiondentalfresno.com",
    "mipueblitochico.com",
    "qamariacoffee.com",
    "luciosamericangrill.com",
    "tacoselfrancusa.com",
    "bjsrestaurants.com",
    "aea-service.com",
    "newvintagegrill.com",
    "fresnoinfiniti.com",
    "places.singleplatform.com",
    "fresnoexpressnw.pizzafactory.com",
    "haciendita.com",
    "5restaurant.com",
    "expired.badssl.com",
    "self-signed.badssl.com",
    "wrong.host.badssl.com"
  ],
  "timeout": 8,
  "concurrency": 20
}
```

## Output

```json
{
  "host": {
    "label": "Host",
    "format": "string"
  },
  "tls_status": {
    "label": "TLS status",
    "format": "string"
  },
  "cert_days_left": {
    "label": "Days left",
    "format": "integer"
  },
  "cert_expires": {
    "label": "Certificate expires",
    "format": "string"
  },
  "cert_issuer": {
    "label": "Certificate issuer",
    "format": "string"
  },
  "https_ok": {
    "label": "HTTPS OK",
    "format": "boolean"
  },
  "redirects_to_https": {
    "label": "Redirects to HTTPS",
    "format": "boolean"
  },
  "checked_at": {
    "label": "Checked at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Site Health Audit - HTTPS, cert expiry, mobile viewport](https://apify.com/sterlingworks/site-health-audit.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sterlingworks/site-health-audit.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/sterlingworks/site-health-audit.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`).
