# Domain Expiry Checker — RDAP Domain Expiration & Status Monitor (`rhymed_santolina/domain-rdap-expiry-monitor`) Actor

Check domain expiration dates, registrar, status codes, nameservers and DNSSEC in bulk via official RDAP (the WHOIS successor). Alert on domains expiring soon or changed since the last run. No registrant personal data. Part of the Arachne toolkit.

- **URL**: https://apify.com/rhymed_santolina/domain-rdap-expiry-monitor.md
- **Developed by:** [Arachne Tools](https://apify.com/rhymed_santolina) (community)
- **Categories:** Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Domain Expiry Checker: RDAP Domain Expiration & Status Monitor

**Bulk-check when your domains expire** and get alerted before they lapse or when something changes. For each domain you get the expiration date, days left, registrar, EPP status codes (e.g. `clientTransferProhibited`), nameservers and DNSSEC, straight from the **official RDAP service of the domain's registry** (RDAP is the modern, structured replacement for WHOIS). No API key needed.

**Use it to:**

- ⏰ **Never lose a domain.** Schedule it weekly with `expiringWithinDays: 30` and send the result to e-mail or Slack.
- 🏢 **Audit a domain portfolio** for agencies, IT teams and brand-protection: registrar, transfer locks, DNSSEC and nameservers in one table.
- 🛡️ **Detect hijacks and unexpected changes.** `onlyChanges` reports domains whose registrar, status, nameservers or expiry changed since the last run.
- 🔎 **Check availability** of candidate names: unregistered domains come back as `registered: false`.

**Why this Actor:**

- Uses the **IANA RDAP bootstrap** to query each domain's authoritative registry (Verisign for .com/.net, PIR for .org, Nominet for .uk, and 500+ other TLDs), not a scraped WHOIS site.
- **Polite by design:** at most 1 request per second to each registry server, `Retry-After` / HTTP 429 honoured.
- **Registration data only.** Registrant, admin, tech and billing contacts are never output, only the registrar's organisation name and IANA ID.

### How much does it cost?

You pay per event: a small fee per run start plus a fee per domain row returned. With `expiringWithinDays` or `onlyChanges` you pay only for the domains that need attention.

### Example inputs

Check a list of domains:

```json
{ "domains": ["apify.com", "example.org", "bbc.co.uk"] }
```

Weekly renewal alert, only domains expiring within 30 days:

```json
{ "domains": ["mybrand.com", "mybrand.net", "mybrand.co.uk"], "expiringWithinDays": 30 }
```

Change / hijack monitor for one client's portfolio:

```json
{ "domains": ["client-a.com", "client-a.io"], "onlyChanges": true, "stateKey": "client-a" }
```

### Output (one row per domain)

`domain, rdapServer, registered, registrar, registrarIanaId, statuses, createdAt, updatedAt, expiresAt, daysUntilExpiry, expiringSoon, nameservers, dnssecSigned, changedFields, firstCheck, checkedAt, error`

### Notes

- Data comes from the registry. Some ccTLDs (for example `.io`, `.de`) have no RDAP service in the IANA bootstrap yet; those rows get an `error` explaining this.
- Some registries do not publish an expiration date over RDAP; `expiresAt` is then empty.
- Registrant personal data is not collected. This Actor is not affiliated with IANA or any registry.

### More Arachne tools

- [SAM.gov Scraper — Federal Contract Opportunities & Bid Alerts](https://apify.com/rhymed_santolina/sam-gov-opportunities): New US federal contract opportunities from the official SAM.gov API, filtered by NAICS, set-aside or state.
- [UK Tenders Scraper — Contracts Finder & Find a Tender Alerts](https://apify.com/rhymed_santolina/uk-tenders): New UK public-sector tenders and awards from Contracts Finder and Find a Tender in one feed.
- [EU TED Tenders Scraper — Public Procurement Notices & Alerts](https://apify.com/rhymed_santolina/ted-eu-tenders): New EU public procurement notices from TED (Tenders Electronic Daily), filtered by country, CPV and keyword.
- [CanadaBuys Scraper — Canada Government Tenders & Bid Alerts](https://apify.com/rhymed_santolina/canadabuys-tenders): New Government of Canada tenders from CanadaBuys open data, filtered by category, UNSPSC and region.
- [AusTender Scraper — Australian Government Contracts & Suppliers](https://apify.com/rhymed_santolina/austender-contracts): Australian Government contract notices from AusTender with agency, supplier, value and UNSPSC.
- [Grants.gov Scraper — Federal Grant Opportunities & Alerts](https://apify.com/rhymed_santolina/grants-gov-opportunities): New US federal grant opportunities from Grants.gov with funding, eligibility and deadlines.
- [SEC Form D Scraper — Startup Funding & Private Placement Alerts](https://apify.com/rhymed_santolina/sec-form-d-funding-alerts): New SEC Form D filings (startup funding and private placements) from official EDGAR data.

***

🕸️ **Part of the Arachne toolkit:** official open-data feeds turned into clean, ready-to-use datasets. More Arachne Actors: [apify.com/rhymed_santolina](https://apify.com/rhymed_santolina).

# Actor input Schema

## `domains` (type: `array`):

Domains to check (URLs and www. are cleaned up automatically).

## `expiringWithinDays` (type: `integer`):

Optional. Output only domains whose expiration is within this many days (e.g. 30). Leave empty to output all.

## `onlyChanges` (type: `boolean`):

Output only domains seen for the first time or whose registrar, status, expiry, nameservers or DNSSEC changed since the last run with the same State key.

## `includeErrors` (type: `boolean`):

Also output rows for domains that could not be checked (e.g. TLD without RDAP).

## `maxDomains` (type: `integer`):

Safety cap on how many domains are checked.

## `stateKey` (type: `string`):

Use a different key per watch-list to track changes separately.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "example.org"
  ],
  "onlyChanges": false,
  "includeErrors": true,
  "maxDomains": 1000,
  "stateKey": "default"
}
```

# Actor output Schema

## `results` (type: `string`):

Domains output by this run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "apify.com",
        "example.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rhymed_santolina/domain-rdap-expiry-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "domains": [
        "apify.com",
        "example.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("rhymed_santolina/domain-rdap-expiry-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "apify.com",
    "example.org"
  ]
}' |
apify call rhymed_santolina/domain-rdap-expiry-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rhymed_santolina/domain-rdap-expiry-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/FzmKSN4VErK2YLXca/builds/drUNF8gwJzpKoqJkK/openapi.json
