# WHOIS RDAP & DNS Lookup — Bulk, Keyless (`hipersoft/rdap-whois-dns-lookup`) Actor

Bulk domain intelligence: WHOIS/RDAP registrar, creation/expiry dates and statuses plus full DNS records (A, AAAA, MX, NS, TXT, CNAME, SOA) for every domain. Keyless, no signup.

- **URL**: https://apify.com/hipersoft/rdap-whois-dns-lookup.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Categories:** Developer tools, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.002 / domain looked up

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## WHOIS RDAP & DNS Lookup — Bulk, Keyless

**Look up registrar, creation/expiry dates, statuses, nameservers and full DNS records for a whole list of domains at once — no API key needed.**

### What it does

- **WHOIS / RDAP** — registrar name, creation, last-updated and expiry dates, plus domain statuses (e.g. `clientTransferProhibited`).
- **Days to expiry** — a ready-to-use countdown for every domain, perfect for renewal alerts.
- **Nameservers** — the authoritative nameservers on record.
- **Full DNS records** — `A`, `AAAA`, `MX`, `NS`, `TXT`, `CNAME` and `SOA` for each domain.
- **Bulk** — pass one domain or thousands; you get one clean row per domain.

### Use cases

- **Domain expiry monitoring on a schedule** — run daily and alert when `daysToExpiry` drops below a threshold.
- **n8n / Make / Zapier** — feed the dataset into a workflow to sync registrar data, trigger renewals or update a CRM.
- **Security & recon** — inventory nameservers, MX providers and TXT/SPF/DKIM records across a portfolio.
- **Migrations & audits** — verify DNS and registrar details before and after a move.

### Input

```json
{ "domains": ["apify.com", "example.org", "google.com"] }
```

| Field | Type | Description |
|---|---|---|
| `domains` | array of strings | Domain names to look up. One WHOIS/RDAP + DNS lookup is performed per domain. |

### Output

```json
{
  "domain": "apify.com",
  "registrar": "Gandi SAS",
  "created": "2015-12-14T14:40:39Z",
  "updated": "2024-11-13T10:22:07Z",
  "expires": "2025-12-14T14:40:39Z",
  "daysToExpiry": 114,
  "statuses": ["clientTransferProhibited"],
  "nameservers": ["adam.ns.cloudflare.com", "eva.ns.cloudflare.com"],
  "dns": {
    "A": ["104.26.0.0"],
    "AAAA": ["2606:4700::"],
    "MX": ["10 mail.apify.com"],
    "NS": ["adam.ns.cloudflare.com", "eva.ns.cloudflare.com"],
    "TXT": ["v=spf1 include:_spf.google.com ~all"],
    "CNAME": [],
    "SOA": { "nsname": "adam.ns.cloudflare.com", "hostmaster": "dns.cloudflare.com" }
  },
  "ok": true
}
```

#### Output schema

| Field | Type | Description |
|---|---|---|
| `domain` | string | The domain that was looked up. |
| `registrar` | string | Registrar of record. |
| `created` | string | Registration date (ISO 8601). |
| `updated` | string | Last-updated date (ISO 8601). |
| `expires` | string | Expiry date (ISO 8601). |
| `daysToExpiry` | integer | Days until expiry (negative if already expired). |
| `statuses` | array | Domain status codes. |
| `nameservers` | array | Authoritative nameservers. |
| `dns` | object | DNS records: `A`, `AAAA`, `MX`, `NS`, `TXT`, `CNAME`, `SOA`. |
| `ok` | boolean | `true` if the lookup succeeded. |

### FAQ

**Do I need an API key or account anywhere?** No — just pass a list of domains and run.

**Can I automate it or run it on a schedule?** Yes — use the [integrations on the Apify platform](https://apify.com/integrations) (n8n, Make, Zapier and more) and the [Apify API](https://docs.apify.com/api/v2). Schedule it to monitor domain expiry automatically.

**What if a domain fails to resolve?** The run never fails — that domain's row is returned with `ok: false` and an `error` message, and the rest keep going.

### Notes

Original clean-room implementation.

# Actor input Schema

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

List of domain names to look up (e.g. apify.com, example.org). One WHOIS/RDAP + DNS lookup is performed per domain.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "example.com"
  ]
}
```

# Actor output Schema

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

The results as dataset items.

# 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.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/rdap-whois-dns-lookup").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.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/rdap-whois-dns-lookup").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.com"
  ]
}' |
apify call hipersoft/rdap-whois-dns-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/rdap-whois-dns-lookup"
        }
    }
}

```

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/opkZVpWxW63Li41Vp/builds/4T6yiEoflkrJvXnE5/openapi.json
