# Expired Domain Checker: Pending Delete or Free (`ucchiii/expired-domain-checker`) Actor

Expired domain checker: see when a domain you want for your own brand can be registered - active, in the expiry grace period, in redemption, pending delete or free, from registry RDAP status codes. Up to 500 names per run. Unknown and invalid names are free.

- **URL**: https://apify.com/ucchiii/expired-domain-checker.md
- **Developed by:** [Actor Factory](https://apify.com/ucchiii) (community)
- **Categories:** 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.05 / 1,000 checked domains

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

**Expired Domain Checker: paste the domains you want for your own brand and see when each one can be registered — active, past its expiry date, in redemption, pending delete or already free, from the registry's own RDAP status codes and expiry dates.**

> **What it is for:** checking a name for your own company or your own brand, and checking a name before you register it — so you know when it can be registered. **Do not use it to acquire names that look like someone else's brand, or to manipulate search rankings.** Do not use it for cybersquatting or impersonation either. It only checks the list you give it (up to 500 names per run). Follow the terms of use of the registries' RDAP services.

**One question, one answer per name: when can it be registered?** Paste the names you are thinking of using for your own business or brand and see, name by name, whether each one is taken, past its expiry date, in redemption, pending delete or already free — without opening a registrar page for every domain. One run gives you one row per domain with its stage, the registry status codes behind that stage, the expiry date and days left. The answer comes from the registries' RDAP services and DNS: no scraping, no proxies, no API keys, no personal data. It does not look at links, traffic or any other metric of the site that used the name.

**Try it free:** leave the input empty and press **Start** — three sample domains are checked as a demo (not charged, rows carry `_demo: true`).

### The stages

| `status` | what it means | how it is decided |
|---|---|---|
| `active` | registered, expiry date in the future, no expiry-related status code | RDAP answers and shows no expiry stage |
| `expired_grace` | the expiry date has passed, or the registry shows `auto renew period` | the owner or the registrar can usually still renew; the name is not on its way out yet |
| `redemption` | the registry shows `redemption period` (or `pending restore`) | deleted by the registrar, the owner may still be able to restore it for a fee |
| `pending_delete` | the registry shows `pending delete` | the last stage before the name is released; it can no longer be restored |
| `available` | the registry has no record **and** DNS shows no nameservers | likely free to register (see Limits) |
| `unknown` | no answer could be trusted | free |
| `invalid` | not a valid domain name (e-mail addresses and IP addresses are refused) | free |

`registryPhase` shows the exact registry status code (or `expiry date in the past`) that put the name in its stage, so you can check the call yourself. `domainStatus` lists every status code RDAP returned.

### Drop dates are estimates, and off by default

Registries delete a name some days after it enters the last stages, but the length of those stages is set by each registry and the exact release time is not published per name. This Actor therefore never prints a drop date as a fact. If a drop date is present it is in `estimatedDropDate`, it is an **ESTIMATE**, and `estimateNote` always says how it was calculated and which public registry document the numbers come from. A date is only calculated for a TLD whose published registry timeline is built into the Actor and only for `redemption` and `pending_delete` names. In this version no TLD has been added yet, so `estimatedDropDate` is `null` on every row; use `daysToExpiry`, `updatedAt` and `registryPhase` to judge timing yourself. Do not rely on any estimate for a time-critical backorder.

### How to use

1. **Domains**: one per line, up to 500 per run (start more runs for bigger lists). URLs are cut down to the host name, letters are lowercased, internationalized names become punycode and duplicates are removed.
2. Optional: **Concurrency** (1–5, default 3) and **Timeout** per request (default 15 s).
3. Run it, open the dataset and sort or filter by `status`. Schedule it daily in Apify to watch a list.

```json
{ "domains": ["apify.com", "my-watched-name.org", "another-name.net"] }
```

### Output

| field | meaning |
|---|---|
| `domain` | the name that was checked, normalized (for invalid input: the entry as you sent it) |
| `status` | `active`, `expired_grace`, `redemption`, `pending_delete`, `available`, `unknown` or `invalid` |
| `available` | `true` = looks free, `false` = registered (any stage), `null` = unknown or invalid |
| `registryPhase` | the registry status code that decided the stage; `null` for active, available, unknown, invalid |
| `expiresAt`, `daysToExpiry` | expiry date from RDAP (UTC) and whole days until it; negative = already past |
| `domainStatus` | all registry status codes, e.g. `client transfer prohibited`, `redemption period` |
| `estimatedDropDate`, `estimateNote` | ESTIMATE only, see above; `null` when there is none |
| `registrar` | registrar company name |
| `createdAt`, `updatedAt` | registration and last-changed dates |
| `tld` | top-level domain, e.g. `com` |
| `checkedAt` | time of the check (UTC) |
| `error` | why a row is `unknown` or `invalid`; `null` otherwise |
| `registrantRedacted` | always `true`: owner and contact details are never read or returned |

Common `error` codes: `no_rdap_for_tld`, `no_registry_status_for_tld`, `rdap_timeout`, `rdap_http_<status>`, `dns_check_failed`, `uk_registry_not_queried_no_ns`, `verisign_daily_limit`, `verisign_refused`, `verisign_counter_unavailable`, `invalid_domain`.

The run's key-value store has a `SUMMARY` record with the number of names per stage, the number charged and, if any, how many `.com`/`.net` names were skipped and why.

### This Actor or Domain Expiry Checker?

| | **Expired Domain Checker** (this one) | [Domain Expiry Checker](https://apify.com/ucchiii/domain-expiry-checker) |
|---|---|---|
| Made for | a name you want for your own brand: when can it be registered? | renewals of your own and your clients' domains |
| Answer | the stage: active, expired_grace, redemption, pending_delete, available | expiry date and days left, soonest first |
| Needs | a list of names | a list of names or a dataset, optional "within N days" filter |

### The shared `.com` / `.net` daily limit

To stay polite to Verisign, the registry for `.com` and `.net`, our domain Actors share one daily budget of lookups to its RDAP service, and this Actor uses that same budget. What it means for you:

- When the day's budget is used up, `.com`/`.net` names come back `unknown` with `error: "verisign_daily_limit"` and are **not charged**. Other TLDs keep working. Try those names again later (the budget resets at 00:00 UTC).
- If Verisign refuses requests, `.com`/`.net` lookups stop for the rest of the day (`verisign_refused`, not charged).
- If the shared counter itself cannot be reached, this Actor does **not** guess: `.com`/`.net` names come back `unknown` with `verisign_counter_unavailable` (not charged).

### Pricing

Pay per event: **$0.0015 per domain** with a definite answer (`active`, `expired_grace`, `redemption`, `pending_delete` or `available`) — **$1.50 per 1,000 domains**. Store discounts apply automatically on higher Apify plans. `unknown`, `invalid` and the free demo are not charged, and there is no start fee. Set a **maximum charge per run** to cap spend; the run stops cleanly when it is reached and the names not yet checked are counted in `SUMMARY` (`notChecked`).

### Limits

- Up to 500 names per run after duplicates are removed (extra names are not checked and are counted in `SUMMARY` as `overLimit`).
- Polite pacing that input cannot change: at most 2 connections to one registry server at a time and at least 0.25 s between requests to it.
- **The stage is what the registry reports at the moment of the check.** Registrars can differ in how long they keep a name before the registry stage starts, and a name can be renewed or restored at any time. `available` means the registry has no record and DNS has no nameservers — not a promise you can register it (reserved, premium-priced or blocked names and registry rules can still stop a registration).
- TLDs without an RDAP service (many country codes, e.g. `.io`, `.de`) cannot be placed on the cycle: registered names come back `unknown` (`no_registry_status_for_tld`), free.
- `.uk` names are never looked up in the `.uk` registry's RDAP (its terms forbid commercial copying), so they come back `unknown`.
- Subdomains are checked at the registered domain (`www.example.com` → `example.com`).
- Reusing registry data is subject to each registry's terms; that is your responsibility.

### Privacy

Registrant, administrative, technical and billing contacts are never read or returned — no names, e-mails, phone numbers or addresses. Rows carry only the registrar (a company), dates and status codes, and every row has `registrantRedacted: true`.

### FAQ

**Is this WHOIS?** It uses RDAP, the protocol ICANN requires registries to run as the successor of WHOIS, plus a DNS check. It does not connect to port-43 WHOIS servers.

**Why is a name `unknown`?** See `error`: the TLD may have no RDAP service, the registry may have timed out or rate-limited the call, or the shared `.com`/`.net` daily limit may be reached. Unknown rows are free; run them again later.

**Does it find expired domains for me?** No. It checks the names you give it. It does not publish lists of expiring or deleted domains.

### More tools from the same developer

- [Domain Availability Pro](https://apify.com/ucchiii/domain-availability-pro) — bulk domain availability with names x TLDs input, nameservers and an expiring-within-N-days filter, plus registrar and dates from RDAP
- [Domain Expiry Checker](https://apify.com/ucchiii/domain-expiry-checker) — expiry dates of your own and your clients' domains in bulk, soonest first, with an N-days filter
- [Domain Due Diligence](https://apify.com/ucchiii/domain-due-diligence) — check domains before you buy: age in years, expiry, registrar, transfer lock and pending delete, A/MX/NS and a live, parked or for-sale verdict
- [Domain Availability API](https://apify.com/ucchiii/domain-availability-api) — domain availability API: short JSON rows with available true/false for up to 1,000 names per run
- [WHOIS Lookup](https://apify.com/ucchiii/whois-lookup) — bulk WHOIS (RDAP): registrar, created and expiry dates, nameservers, no personal data

# Actor input Schema

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

Domain names to check, e.g. 'example.com'. URLs ('https://www.example.com/page') are cut down to the host name, letters are lowercased, internationalized names (münchen.de) become punycode and duplicates are removed. Up to 500 names per run. Leave empty to run a free demo (not charged). Meant for names for your own company or brand and for checking a name before you register it. Do not use it to acquire names that look like someone else's brand, to manipulate search rankings, for cybersquatting or for impersonation.

## `concurrency` (type: `integer`):

How many names are checked in parallel. Allowed range 1 to 5 (default 3). Whatever you set, at most 2 connections go to one registry server at a time, with at least 0.25 s between requests to the same server.

## `timeoutSecs` (type: `integer`):

Timeout for each request, in seconds (default 15, range 1 to 60). Failed requests (rate limits, server errors, timeouts) are retried up to 3 times with a growing pause; a name that still gets no answer comes back unknown and is not charged.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "python.org",
    "this-domain-should-not-exist-9f3k2.com"
  ],
  "concurrency": 3,
  "timeoutSecs": 15
}
```

# Actor output Schema

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

One row per domain in the default dataset: status (active, expired_grace, redemption, pending_delete, available, unknown, invalid), registry status codes, expiry date and days left. Get them as JSON, CSV or Excel from the dataset API.

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

Record SUMMARY: how many names are in each stage, how many were charged, and how many .com/.net names were skipped because of the shared daily limit.

# 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",
        "python.org",
        "this-domain-should-not-exist-9f3k2.com"
    ],
    "concurrency": 3,
    "timeoutSecs": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("ucchiii/expired-domain-checker").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",
        "python.org",
        "this-domain-should-not-exist-9f3k2.com",
    ],
    "concurrency": 3,
    "timeoutSecs": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("ucchiii/expired-domain-checker").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",
    "python.org",
    "this-domain-should-not-exist-9f3k2.com"
  ],
  "concurrency": 3,
  "timeoutSecs": 15
}' |
apify call ucchiii/expired-domain-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ucchiii/expired-domain-checker"
        }
    }
}
```

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/eOtDQ25btqKB2gPrc/builds/qg40ItcmlMzbaKfzw/openapi.json
