# Bulk domain expiry date checker (.com, .io, .co.uk and more)

**Use case:** 

Check the expiration date, days left and registrar of many domains at once, from the registries' RDAP services (the WHOIS replacement). The example mixes .com, .org, .co.uk, .fr, .so, .dev, .io and .ca domains and warns about anything expiring within 60 days. Paste your own list of up to 5,000 domains.

## Input

```json
{
  "domains": [
    "github.com",
    "wikipedia.org",
    "bbc.co.uk",
    "lemonde.fr",
    "notion.so",
    "web.dev",
    "nic.io",
    "cira.ca"
  ],
  "checkRdap": true,
  "checkSsl": false,
  "checkDns": false,
  "checkEmailSecurity": false,
  "dnsRecordTypes": [
    "A",
    "AAAA",
    "MX",
    "NS",
    "TXT",
    "CAA"
  ],
  "expiryWarningDays": 60,
  "maxConcurrency": 5,
  "timeoutSecs": 15
}
```

## Output

```json
{
  "domain": {
    "label": "domain",
    "format": "string"
  },
  "status": {
    "label": "status",
    "format": "string"
  },
  "warnings": {
    "label": "warnings",
    "format": "array"
  },
  "expirationDate": {
    "label": "expirationDate",
    "format": "string"
  },
  "daysUntilDomainExpiry": {
    "label": "daysUntilDomainExpiry",
    "format": "integer"
  },
  "sslNotAfter": {
    "label": "sslNotAfter",
    "format": "string"
  },
  "daysUntilSslExpiry": {
    "label": "daysUntilSslExpiry",
    "format": "integer"
  },
  "sslValid": {
    "label": "sslValid",
    "format": "boolean"
  },
  "registrar": {
    "label": "registrar",
    "format": "string"
  },
  "hasSpf": {
    "label": "hasSpf",
    "format": "boolean"
  },
  "hasDmarc": {
    "label": "hasDmarc",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Bulk Domain Expiry, SSL & DNS Checker Actor is ready to run with the inputs already set for "Bulk domain expiry date checker (.com, .io, .co.uk and more)". [Sign up or log in](https://console.apify.com/create-task-from-example/OMy1L0xVk30g7sLQV) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Bulk domain expiry date checker (.com, .io, .co.uk and more)" task

The Bulk Domain Expiry, SSL & DNS Checker Actor will start running based on the input automatically. You can also change all the input fields, like domains, check registration (rdap), and more, to match your specific use case.

### 3. Receive the "Bulk domain expiry date checker (.com, .io, .co.uk and more)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as domain, status, warnings, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Bulk domain expiry date checker (.com, .io, .co.uk and more)" task via API](https://apify.com/echolab/domain-health-monitor.md).

## FAQ

### What does the bulk domain expiry date check return?

The bulk domain expiry date check returns one row per domain: expiration date, days until expiry, registrar, registration date, status, nameservers and warning codes such as domain_expires_soon.

### Which domain extensions are supported?

All gTLDs such as .com, .net, .org, .app and .dev, ccTLDs with public RDAP such as .co.uk, .fr, .ca and .in, plus .io, .co, .me and .so via their registries. Some ccTLDs such as .de and .jp have no public RDAP.

### Is this a WHOIS lookup?

It uses RDAP, the registry-run successor to WHOIS, so expiry dates come as structured data. Registrant contact details are never output, only the registrar company.

### Can I get a warning before a domain expires?

Yes. Set expiryWarningDays and schedule the task daily; rows with domain_expires_soon or domain_expired in warnings can be sent to Slack, email or a webhook.

### How much does one run cost?

Each domain is one result at $1.50 per 1,000 domains (see the Pricing tab). This example checks 8 domains, about $0.01 per run.

## About this Actor

This example demonstrates how to use [Bulk Domain Expiry, SSL & DNS Checker](https://apify.com/echolab/domain-health-monitor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/echolab/domain-health-monitor.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/echolab/domain-health-monitor.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`).
