# Domain WHOIS & RDAP Intelligence Scraper (`slavako/domain-whois-rdap-intelligence`) Actor

Scrape official ICANN RDAP domain registration details, registrar intelligence, expiration dates, DNS nameservers, and security status codes. Zero-cost fast HTTP engine.

- **URL**: https://apify.com/slavako/domain-whois-rdap-intelligence.md
- **Developed by:** [Sviatoslav](https://apify.com/slavako) (community)
- **Categories:** Developer tools, Business, Automation
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 domain records

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 WHOIS & RDAP Intelligence Scraper

Fast, reliable, zero-cost ICANN RDAP and WHOIS domain intelligence extractor. Scrape domain registration details, registrar intelligence, expiration dates, DNS nameservers, EPP security status codes, and DNSSEC flags directly through official registry RDAP endpoints without expensive third-party subscriptions or API keys.

***

### Features

- **Official ICANN RDAP Protocol:** Uses official registrar and registry RDAP endpoints (RFC 7483 / RFC 9083) for 100% verified data.
- **Expiration Tracking:** Automatically computes `daysUntilExpiration` and `isExpired` flags for proactive domain monitoring.
- **Registrar & Abuse Intelligence:** Extracts registrar IANA ID, organization name, abuse contact email, and abuse telephone numbers.
- **DNS Infrastructure:** Scrapes authoritative DNS nameservers and DNSSEC delegation status.
- **EPP Status Codes:** Identifies domain lock states (`clientTransferProhibited`, `clientUpdateProhibited`, `clientDeleteProhibited`, etc.).
- **Pay-Per-Event (PPE) Monetization:** Pay only for the domains you inspect. Zero subscription overhead.
- **Standby Mode & MCP Server Ready:** Can be queried as an active web server or Model Context Protocol tool via `/mcp` or `/api/whois`.

***

### Use Cases

1. **Cybersecurity & Threat Intelligence:** Detect domain spoofing, newly registered lookalike domains, and track malicious infrastructure.
2. **Domain Expiration Monitoring:** Monitor expiration dates of mission-critical domains or track expiring competitor domains.
3. **B2B Tech Lead Generation:** Identify which registrar, DNS provider, and hosting infrastructure companies use.
4. **Brand & IP Protection:** Discover unapproved registrations and find official registrar abuse contacts for takedowns.

***

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `domains` | Array of Strings | Yes | `["github.com", "stripe.com"]` | List of domain names or URLs to inspect. |
| `includeSecurityDetails` | Boolean | No | `true` | Extract full EPP status codes, registrar abuse contacts, and DNSSEC flags. |

***

### Output Data Structure

Each inspected domain produces a clean JSON record in your Apify dataset:

```json
{
  "domain": "github.com",
  "handle": "1264983250_DOMAIN_COM-VRSN",
  "registeredAt": "2007-10-09T18:20:50Z",
  "expiresAt": "2028-10-09T18:20:50Z",
  "updatedAt": "2026-09-07T09:22:52Z",
  "daysUntilExpiration": 688,
  "isExpired": false,
  "registrar": {
    "name": "MarkMonitor Inc.",
    "ianaId": "292",
    "abuseEmail": "abusecomplaints@markmonitor.com",
    "abusePhone": "+1.2086851750"
  },
  "nameservers": [
    "DNS1.P08.NSONE.NET",
    "DNS2.P08.NSONE.NET",
    "NS-1283.AWSDNS-32.ORG",
    "NS-421.AWSDNS-52.COM"
  ],
  "status": [
    "clientDeleteProhibited",
    "clientTransferProhibited",
    "clientUpdateProhibited"
  ],
  "dnssec": false,
  "scrapedAt": "2026-11-20T18:00:00.000Z"
}
```

***

### Pay-Per-Event (PPE) Pricing

| Event | Price (USD) | Description |
|---|---|---|
| `apify-actor-start` | $0.003 | Billed once per scraping run |
| `apify-default-dataset-item` | $0.001 | Billed per domain inspected and returned |
| `rdap-registrar-security-enriched` | $0.002 | Billed per domain with registrar and security intelligence |

***

### Standby / MCP Server Usage

When deployed in Standby mode, you can query domains directly via HTTP:

```bash
curl "https://domain-whois-rdap-intelligence.apify.actor/api/whois?domain=github.com"
```

# Actor input Schema

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

List of domain names to inspect (e.g. 'google.com', 'github.com', 'stripe.com'). URLs or raw domains are supported.

## `includeSecurityDetails` (type: `boolean`):

Extract full EPP status codes, registrar abuse contacts, and DNSSEC status.

## Actor input object example

```json
{
  "domains": [
    "github.com",
    "stripe.com",
    "anthropic.com"
  ],
  "includeSecurityDetails": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

Extracted domain registration records, registrar details, expiration timestamps, and nameservers.

# 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": [
        "github.com",
        "stripe.com",
        "anthropic.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("slavako/domain-whois-rdap-intelligence").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": [
        "github.com",
        "stripe.com",
        "anthropic.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("slavako/domain-whois-rdap-intelligence").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": [
    "github.com",
    "stripe.com",
    "anthropic.com"
  ]
}' |
apify call slavako/domain-whois-rdap-intelligence --silent --output-dataset

```

## MCP server setup

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

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/OtvyWhO4zLbwFJl3Y/builds/p8sGMFVV70izGb0SG/openapi.json
