# Bulk domain WHOIS/RDAP registration-provenance checker (`apex-nexus/domain-whois-provenance`) Actor

- **URL**: https://apify.com/apex-nexus/domain-whois-provenance.md
- **Developed by:** [Valunex](https://apify.com/apex-nexus) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## Bulk domain WHOIS/RDAP registration-provenance checker

**Apify Actor:** `apex-nexus~domain-whois-provenance`
**Kind:** A — lookup/convert tool on public data (bring your own domain list).
**Pricing:** FREE Store listing — no pay-per-event pricing, no payment required.
**Public listing/direct link only; zero paid ads, zero cold outreach.**

### What it does

Give the Actor a list of domains and it queries the public RDAP registry for
each one, returning a normalized registration-provenance table — one row per
domain — plus a reject report:

```json
{ "domain", "registrarName", "registrarIanaId", "registrationDate", "expiryDate",
  "domainAgeDays", "status", "nameServers", "rdapUrl", "source" }
```

Domain investors, flippers, SEO & link-building agencies, website buyers doing
marketplace due diligence, and brand-protection teams use it to check per-domain
registration provenance (registrar, IANA ID, dates, age, status, nameservers)
without paying per-domain WHOIS lookups.

**Input**

```json
{ "domains": ["google.com","apple.com","microsoft.com","example.com","github.com"],
  "includeRejected": true }
```

- `domains` (required, textarea): a JSON array of domain strings or CSV/plain
  text with one domain per line. Defaults to a mixed list of well-known .com
  domains.
- `includeRejected` (boolean, default true): embed the reject-report item
  (`_type=reject_report`) as the last dataset item.

**Output** — one clean row per resolved domain, e.g.

```json
{ "domain": "google.com", "registrarName": null, "registrarIanaId": null,
  "registrationDate": "1997-09-15T04:00:00Z", "expiryDate": "2028-09-14T04:00:00Z",
  "domainAgeDays": 10611, "status": ["client delete prohibited", ...],
  "nameServers": ["NS1.GOOGLE.COM", ...],
  "rdapUrl": "https://rdap.verisign.com/com/v1/domain/google.com",
  "source": "https://rdap.verisign.com/com/v1/domain/google.com" }
```

followed by exactly one reject-report item:

```json
{ "_type": "reject_report", "inputRows": 5, "resolvedRows": 5, "rejectedRows": 0,
  "reasons": {}, "rejected": [] }
```

(`registrarName`/`registrarIanaId` are `null` for .com/.net because Verisign's
public RDAP is a thin registry that does not expose registrar details.)

### Sources (read-only, public, no API key)

- .com/.net: `https://rdap.verisign.com/com/v1/domain/{domain}`
- other TLDs: `https://rdap.org/domain/{domain}` (best-effort; any failure =>
  reject row, the run never crashes)

No credentials, no proxies, no LLMs, no commercial inference, no scraping of
non-public content.

### Search terms

"bulk WHOIS lookup", "domain age checker", "domain registration date lookup",
"RDAP domain lookup", "domain provenance checker bulk"

### Limits & behavior

- Default input = five well-known .com domains; a typical default run completes
  in seconds, well under 5 minutes.
- Rate-limited (bounded concurrency + small delay) and short per-domain timeout;
  transient RDAP failures produce a reject row instead of crashing the run.
- Free when nothing to return (no resolvable domains → empty clean dataset plus
  reject report when `includeRejected` is true).
- Stateless: no watchlist state, no delta alerts, no state between runs.
  Explicitly NOT a change tracker / not a near-duplicate publication.

### Build & test

```bash
cd products/domain-whois-provenance/actor
python3 -m pytest tests/          # unit tests against captured RDAP responses
python3 tools/smoke_test.py       # live smoke test against real RDAP (build gate)
```

### Flip-ready metadata

Store listing metadata is staged with `isPublic: false`. The publication flip
(`isPublic=true`) is owned by the director and scheduled at the next Apify
5-publications/24h cap reset (~2026-11-05 ~12:50 CET), after reviewer
acceptance. Do not set pay-per-event pricing (FREE to gather users first).

# Actor input Schema

## `domains` (type: `string`):

Pasted list: a JSON array of domain strings (e.g. \["google.com","apple.com"]) or CSV/plain text with one domain per line. Defaults to a mixed list of well-known .com domains.

## `includeRejected` (type: `boolean`):

Embed the reject-report item (\_type=reject_report) as the last dataset item. Set to false to return only clean provenance rows.

## Actor input object example

```json
{
  "domains": "[\"google.com\",\"apple.com\",\"microsoft.com\",\"example.com\",\"github.com\"]",
  "includeRejected": true
}
```

# Actor output Schema

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

Clean provenance rows plus one reject-report item.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("apex-nexus/domain-whois-provenance").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("apex-nexus/domain-whois-provenance").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 '{}' |
apify call apex-nexus/domain-whois-provenance --silent --output-dataset

```

## MCP server setup

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

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/VItFPGJuogBVBtate/builds/tLDB6aIDa9aJ9MVN5/openapi.json
