# Domain Availability & Expiry Monitor (RDAP) (`pennapixel/domain-availability-monitor`) Actor

Check whether domain names are registered or available straight from the registries (RDAP): expiry date, registrar, status, nameservers. Monitor mode returns only changes: dropped, registered, renewed, expiring soon. No personal data of domain owners. Pay per domain.

- **URL**: https://apify.com/pennapixel/domain-availability-monitor.md
- **Developed by:** [Penna & Pixel](https://apify.com/pennapixel) (community)
- **Categories:** SEO tools, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 domain checkeds

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 Availability & Expiry Monitor (RDAP)

Check whether domain names are **registered or available, straight from the domain registries** (RDAP): expiry date, registrar, status, name servers. Turn on **monitor mode** and the Actor remembers every domain and returns **only what changed**: dropped, registered, renewed, expiring soon, entered redemption.

### Features

- **Straight from the source**: the public RDAP servers of the registries, found through the [IANA bootstrap file](https://data.iana.org/rdap/dns.json). No scraping of WHOIS web pages, no login, no proxy. 256 MB of memory is enough.
- **Expiry and life cycle**: `expiresAt`, `daysToExpiry`, `expiringSoon`, and a `lifecycle` (`active`, `redemption`, `pending_delete`, ...) so you can tell a domain that is about to drop from one that is simply registered.
- **Honest answers**: every row says how it was answered (`source`: `rdap` or `dns`) and how sure it is (`status`: `registered`, `available`, `likely_available`, `unknown`, `invalid`). A guess is never presented as a fact.
- **Monitor mode** (`onlyChanges`): one memory per monitor name, only the changes come back, each with a change code (`became_available`, `renewed`, `expiring_soon`, ...). Put it on an Apify Schedule and connect Slack, e-mail or Google Sheets.
- **No personal data**: owner, administrative, technical and abuse contacts of the domain are never read, returned or stored. The only name read is the registrar company (for example "MarkMonitor Inc.").
- **Names in any alphabet**: `münchen.de` is converted to `xn--mnchen-3ya.de` for you. A pasted URL is reduced to its domain.
- **Cheap and fair**: you pay only for firm answers. `likely_available`, `unknown` and `invalid` entries are free.

### Use cases

- **Domain watchlists**: names you would like to register. Get `became_available` when one drops.
- **Portfolio and client domains**: `expiring_soon`, `entered_redemption` and `renewed` for a list of your own or your clients' domains, every day.
- **Brand protection**: `became_registered` when a look-alike name of your brand gets taken.
- **Naming tools and research**: bulk availability and expiry data for hundreds of candidates in a few minutes.

### Input

```json
{
  "domains": ["example.com", "wikipedia.org", "münchen.de", "my-new-idea.dev"],
  "expiringWithinDays": 30,
  "onlyChanges": false
}
```

| Field | Default | Meaning |
| --- | --- | --- |
| `domains` | required | Domain names, one per entry. URLs are reduced to their domain. Subdomains such as `blog.example.com` are not checked (they come back as `invalid`). Up to 500 per run. |
| `expiringWithinDays` | `30` | A registered domain that expires within this many days (or already has) gets `expiringSoon: true`. |
| `onlyChanges` | `false` | **Monitor mode.** Remember the last answer per domain and return only the domains that changed. |
| `firstRunOutputsAll` | `true` | In monitor mode, return every domain on the first run (`first_check`). Switch off to save the starting point without returning it. |
| `monitorId` | `default` | Monitor mode keeps one memory per name, so two lists do not overwrite each other. Letters, digits and hyphens. |
| `maxDomains` | `500` | Domains beyond this number are not checked and are counted in the `SUMMARY` record. 500 is the hard limit. |
| `dnsFallback` | `true` | When a registry cannot be read (or an extension has no RDAP server), ask Google Public DNS. Switch off to get `unknown` instead. See "Limits". |

### Output

One dataset row per entry, in the order you wrote them. A real row, from a run on 17 November 2026:

```json
{
  "domain": "example.com",
  "input": "example.com",
  "tld": "com",
  "status": "registered",
  "available": false,
  "source": "rdap",
  "registrar": "RESERVED-Internet Assigned Numbers Authority",
  "registeredAt": "1995-08-14T04:00:00Z",
  "expiresAt": "2027-08-13T04:00:00Z",
  "daysToExpiry": 268,
  "expiringSoon": false,
  "lifecycle": "active",
  "lastChangedAt": "2026-08-14T08:01:43Z",
  "statusCodes": [
    "client delete prohibited",
    "client transfer prohibited",
    "client update prohibited"
  ],
  "nameservers": [
    "elliott.ns.cloudflare.com",
    "hera.ns.cloudflare.com"
  ],
  "dnssec": true,
  "rdapServer": "rdap.verisign.com",
  "note": null,
  "checkedAt": "2026-11-17T13:02:06Z"
}
```

A domain the registry has no record of:

```json
{
  "domain": "zzdphlzafzeodx.com",
  "input": "zzdphlzafzeodx.com",
  "tld": "com",
  "status": "available",
  "available": true,
  "source": "rdap",
  "registrar": null,
  "registeredAt": null,
  "expiresAt": null,
  "daysToExpiry": null,
  "expiringSoon": null,
  "lifecycle": null,
  "lastChangedAt": null,
  "statusCodes": [],
  "nameservers": [],
  "dnssec": null,
  "rdapServer": "rdap.verisign.com",
  "note": null,
  "checkedAt": "2026-11-17T13:02:06Z"
}
```

| Field | Meaning |
| --- | --- |
| `domain`, `input`, `tld` | The domain that was checked (lower case, punycode), the entry as you wrote it, and its extension. |
| `status` | `registered`: the registry has a record (or name servers were found by DNS). `available`: the registry has no record of the name. `likely_available`: DNS found no delegation (a guess). `unknown`: no clear answer. `invalid`: not a registrable domain name. |
| `available` | `true` / `false` for firm answers, `null` when it is a guess, unknown or invalid. |
| `source` | `rdap` (read from the registry) or `dns` (Google Public DNS). |
| `registrar` | Name of the registrar company. `null` without a registry record. |
| `registeredAt`, `expiresAt`, `lastChangedAt` | Dates published by the registry (UTC, ISO 8601). Some registries do not publish an expiry date: then `expiresAt` is `null` and `note` says so. |
| `daysToExpiry`, `expiringSoon` | Days until expiry (negative when past) and the flag set with `expiringWithinDays`. |
| `lifecycle` | For registered domains read from the registry status codes: `active`, `redemption` or `pending_delete`. `null` when there is no registry record. |
| `statusCodes` | EPP status codes as published (`client transfer prohibited`, ...). |
| `nameservers`, `dnssec` | Name servers and whether the zone is signed. |
| `rdapServer` | Host of the registry server that answered (`null` for DNS answers). |
| `note` | In plain words, anything you should know about this row: DNS answer only, registry refused, extension not known, no expiry date published. |
| `checkedAt` | When the answer was read. |
| `changes`, `previousStatus` | Monitor mode only. See below. |

A `SUMMARY` record in the default key-value store counts the rows by status and by source, lists the registry servers used, the limits that applied (domains over the cap, domains not checked, repeated entries removed), the monitor state, any notes, and the disclaimer.

### Pricing (pay per event)

| Event | Price | When |
| --- | --- | --- |
| Actor start | $0.005 | Once per run. |
| `domain-checked` | $0.001 | Each domain with a **firm answer**: registered, or available at the registry. |

`likely_available`, `unknown` and `invalid` entries are free. 100 domains cost $0.105, 500 domains $0.505. In monitor mode you pay for every domain that was checked, not for every row returned: the work is done even when nothing changed. If you set a maximum cost per run, the Actor stops when it is reached and says in the `SUMMARY` how many domains were not checked.

### Monitor mode

Set `"onlyChanges": true` and run the Actor again and again, for example once a day with an Apify Schedule. The memory is a named key-value store (`domain-availability-monitor-state`) in your own Apify account, one record per `monitorId`. It holds, for each domain in the list, the last status, expiry date, registrar, life cycle and a fingerprint of the name servers. Nothing else.

| Change code | Meaning |
| --- | --- |
| `first_check` | The domain is new in this monitor. |
| `became_available` | It was registered, now the registry has no record (or DNS finds no delegation). |
| `became_registered` | It was available, now it is registered. |
| `entered_redemption`, `entered_pending_delete` | The registry moved it to the redemption period or to pending delete. |
| `renewed` | The expiry date moved forward. |
| `expiry_changed` | The expiry date moved backward. |
| `expiring_soon` | It crossed the `expiringWithinDays` line. Reported once, not every day. |
| `registrar_changed`, `nameservers_changed` | The registrar or the set of name servers is different. |
| `invalid_input` | An entry in your list is not a checkable domain name. Repeated at every run until you fix it. |
| `check_failed` | The registry could not be read and nothing reliable replaced the last answer. The previous state is kept. |

`previousStatus` is the status from the last run. A DNS-only guess never replaces what a registry said: a domain on hold or in redemption can look "free" to DNS, so a registry domain that now looks "probably available" is reported as `check_failed`, not as `became_available`. Names you take out of the list are forgotten; add one again and it starts with `first_check`.

### Using it from code

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("pennapixel/domain-availability-monitor").call(run_input={
    "domains": ["example.com", "my-new-idea.dev"],
    "onlyChanges": True,
    "monitorId": "my-watchlist",
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["domain"], row["status"], row.get("changes"))
```

### Limits, said plainly

- **"Available" is not "you can buy it".** It means the registry has no record of the name. It can still be reserved, a premium name, or impossible to register through a registrar. Always confirm with a registrar. The data is informational, not advice.
- **Extensions without RDAP.** In the IANA registry of 17 November 2026 these have no RDAP server: `.io .co .de .it .eu .me .us .ch .es .be .se .jp .pt .at .dk .ie .nz`. For them the Actor asks Google Public DNS (the domain name is sent to Google in that case): name servers found means `registered`; none found means `likely_available`, **a guess**, because a registered name without name servers looks the same. These rows have no dates and no registrar, and `note` says why. Switch off with `dnsFallback: false`.
- **Registries that say no.** A few registries disallow automated access in their `robots.txt` (for example some run by CentralNic, `.xyz` among them) or do not answer: the Actor respects that, does not ask, and uses DNS instead.
- **Terms of use.** Some registries' RDAP terms mention "high volume, automated" queries. There is no numeric limit and `robots.txt` allows access, but "high volume" is not defined. The Actor keeps small: at most 500 domains per run, one request per second to each registry server (at most two at a time), an honest `PennaPixelBot/1.0` user agent, `robots.txt` respected, and a short wait and at most two retries on 429 or 5xx before it falls back to DNS or `unknown`. The terms of each registry remain yours to respect.
- **Datacenter IPs.** A registry may rate-limit or refuse the IP addresses Apify runs on. The row then falls back to DNS or `unknown` (free) and says so. This is not a guarantee of an answer for every domain.
- **Subdomains.** `blog.example.com` is `invalid`: the registry data says nothing about where the registrable part ends. The most common two-level suffixes (`co.uk`, `com.au`, ...) are understood.
- **Speed.** About one request per second to each registry server. A mixed list of 10 names across four registries took about 7 seconds in our test. 500 `.com` names all go to one registry server, so expect something like 8 minutes (an estimate from the pause between requests, not measured at that size).
- Not affiliated with ICANN, IANA or any registry.

### Feedback

Found a registry that answers in a way the Actor does not understand, or an extension that should be added? Open an issue on the Actor page: the row's `note` and `rdapServer` tell us where to look.

# Actor input Schema

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

Domain names to check, one per entry: example.com, shop.co.uk, münchen.de. A pasted URL is reduced to its domain. Subdomains (blog.example.com) are not checked. Up to 500 per run.

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

A registered domain whose expiry date is this many days away, or already past, gets expiringSoon = true. In monitor mode a domain that crosses this line is reported once as expiring_soon.

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

The Actor remembers the last answer for each domain (per monitor name) and returns only the domains that changed: became_available, became_registered, renewed, expiring_soon, entered_redemption, entered_pending_delete, registrar_changed, nameservers_changed, expiry_changed. Every domain checked is still charged, returned or not.

## `firstRunOutputsAll` (type: `boolean`):

On the first monitor run every domain is new (first_check). Switch off to save the starting point without returning it.

## `monitorId` (type: `string`):

Monitor mode keeps one memory per name, so two different lists do not overwrite each other. Letters, digits and hyphens.

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

Domains beyond this number are not checked (listed in the SUMMARY record). The hard limit is 500: the registries are public servers and are asked politely, one request per second each.

## `dnsFallback` (type: `boolean`):

Extensions without an RDAP server (for example .io, .de, .it) and registries that refuse robots are checked by asking Google Public DNS for name servers: found = registered, not found = probably available (a guess). The domain name is sent to Google in that case. Switch off to get unknown instead.

## Actor input object example

```json
{
  "domains": [
    "example.com",
    "wikipedia.org",
    "apify.com",
    "web.dev",
    "afnic.fr",
    "github.io",
    "zzdphlzafzeodx.com",
    "zzdphlzafzeodx.net",
    "zzdphlzafzeodx.org",
    "zzdphlzafzeodx.dev"
  ],
  "expiringWithinDays": 30,
  "onlyChanges": false,
  "firstRunOutputsAll": true,
  "monitorId": "default",
  "maxDomains": 500,
  "dnsFallback": true
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

# 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": [
        "example.com",
        "wikipedia.org",
        "apify.com",
        "web.dev",
        "afnic.fr",
        "github.io",
        "zzdphlzafzeodx.com",
        "zzdphlzafzeodx.net",
        "zzdphlzafzeodx.org",
        "zzdphlzafzeodx.dev"
    ],
    "expiringWithinDays": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("pennapixel/domain-availability-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": [
        "example.com",
        "wikipedia.org",
        "apify.com",
        "web.dev",
        "afnic.fr",
        "github.io",
        "zzdphlzafzeodx.com",
        "zzdphlzafzeodx.net",
        "zzdphlzafzeodx.org",
        "zzdphlzafzeodx.dev",
    ],
    "expiringWithinDays": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("pennapixel/domain-availability-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": [
    "example.com",
    "wikipedia.org",
    "apify.com",
    "web.dev",
    "afnic.fr",
    "github.io",
    "zzdphlzafzeodx.com",
    "zzdphlzafzeodx.net",
    "zzdphlzafzeodx.org",
    "zzdphlzafzeodx.dev"
  ],
  "expiringWithinDays": 30
}' |
apify call pennapixel/domain-availability-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pennapixel/domain-availability-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/H7Rlv7cISH8d9ntgf/builds/k8VPZgg7jlE2O9Idz/openapi.json
