# Domain WHOIS Lookup (`stackraccoon/domain-rdap`) Actor

Check domains in bulk by RDAP and WHOIS: registrar, created and expiry dates, status codes, name servers, DNSSEC, abuse contacts and the registrant fields a registry publishes. Covers .com, .io, .co and 37 WHOIS-only endings such as .de; DNS, SPF and DMARC on request. Every domain read gets a row.

- **URL**: https://apify.com/stackraccoon/domain-rdap.md
- **Developed by:** [Stack Raccoon](https://apify.com/stackraccoon) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 domain records

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

### What does Domain WHOIS Lookup do?

**Domain WHOIS Lookup** reads domain registration data in bulk. Where a registry runs **RDAP**, the protocol that
replaced WHOIS, it reads RDAP, finding the registry through **IANA's RDAP bootstrap file**; for 37 country endings with
no RDAP service, such as `.de`, `.io`, `.co`, `.dk` and `.jp`, it asks the registry's own **WHOIS** server. For thin
registries such as `.com` and `.net` it reads the registrar's record too. You get the **registrar** with its **abuse
email and phone**, the **created**, **updated** and **expiry** dates with the **days until expiry**, the **status codes**
and whether a **transfer is locked**, the **name servers**, **DNSSEC**, the **registrant organisation**, and the
registrant, admin and tech **contact fields** a registry or registrar publishes. It is for anyone who watches a list of
domains: their own and their competitors' expiry dates and registrars, names to buy, or abuse contacts to write to.

- **Price rule:** per registered domain, 0.0023 USD on Apify's Free plan (2.3 USD per 1,000), 0.002 USD on the Bronze
  discount tier, 0.00156 USD on Silver and 0.0012 USD on Gold and above, plus Apify's start event once per run (0.00005 USD). A domain that is not registered or could not be read is not charged.
- **Person data:** the contact fields are on by default and can hold a person's name, email, phone and address as a
  registry publishes them. Each row's `personDataFields` names the ones it holds; turn **Include published contact
  fields** off to leave them all empty.
- **Coverage:** an ending with neither an RDAP service nor a WHOIS server this actor reads is not covered. Eight such
  endings, among them `.ch` and `.es`, are listed under Limits.
- **Options, off by default:** DNS records with SPF, DMARC and the mail provider; the whole raw record; names crossed
  with endings to build the list.

### Why use it?

- **One schema for every registry.** Verisign, PIR, Nominet, Google Registry, AFNIC, NIC.br, DENIC, Punktum.dk, JPRS and
  the rest answer in different shapes, RDAP or WHOIS text; the rows come out the same, and `method` says which service
  answered.
- **Polite by design.** Each registry and registrar is paced on its own, and each WHOIS server is asked at most once
  every two seconds. A rate limit is waited out by the registry's own Retry-After (domains are read one at a time, so
  the run waits with it), and a registry that keeps rate limiting is left alone for the rest of the run while the
  others go on.
- **You know what each row is worth.** Every registration row says `healthy` or `degraded`, and every status row its own
  state, with reasons; every missing domain has a row that says why. A WHOIS server or a DNS resolver that fails is named
  as itself, never as the RDAP registry.
- **A machine-readable run state.** Every run writes a `HEALTH` record with its state and exit code.
- **The Apify platform around it**: scheduling, the API, integrations, webhooks and monitoring.

### How to look up domains in bulk

1. Paste domain names into **Domains**, one per line. Web addresses are cut to their host name; Unicode names are
   converted. Or put bare names into **Names** and endings into **Endings**, and every name is read under every ending.
2. Leave **Read the registrar record too** on to get the registrant organisation for `.com`, `.net` and other thin
   registries, and **Use WHOIS where there is no RDAP** on for endings such as `.de` and `.io`.
3. Leave **Include published contact fields** on, or turn it off if you do not want any person's data.
4. To try it, press Start as the form opens: four domains, under a minute. For your own list, set **Max domains** to its
   length (and, past about 400 domains, raise the time limits as the Limits section says), then run.
5. Read the dataset: the `Domains` view holds one row per domain, `Contacts` the contact fields, `DNS and mail` the DNS
   option's fields. For only some columns, ask the dataset API with its `fields` or `omit` parameter. For a schedule,
   read the run's `HEALTH` record first.

### Pricing and a worked example

You pay per registered domain's row saved, whether RDAP or WHOIS answered: 0.0023 USD a domain on Apify's Free plan, 0.002 USD on the Bronze discount tier, 0.00156 USD on Silver and 0.0012 USD on Gold and above. Status rows are always
free, so a domain that is not registered, has no RDAP or WHOIS service this actor reads, or could not be read costs
nothing beyond its free status row. Apify's start event is charged once per run, a run that saves nothing included:
0.00005 USD at the default 256 MB of memory (Apify's own price, one event per started GB). Platform usage is not passed on to you, proxy traffic included. A `degraded` row (the
registry's record read, the registrar's not) costs the same 0.0023 USD on the Free plan, and the same per-tier price above it; its `healthReason` says what is missing. So does
a row whose DNS read failed. Reading DNS records and keeping the raw record cost nothing extra. These are the prices
set on 2026-11-21; the actor's pricing tab always shows the prices in force.

| Run | Domain rows | Start event | Total (USD) |
|---|---|---|---|
| 100 domains, of which 90 are registered and 10 are not, with 10 free status rows | 90 x 0.0023 | 1 x 0.00005 | 0.20705 |
| The form as it opens: the four example domains, all registered | 4 x 0.0023 | 1 x 0.00005 | 0.00925 |
| The default Max domains: 200 registered domains | 200 x 0.0023 | 1 x 0.00005 | 0.46005 |
| 50 names crossed with 4 endings: 200 domains, 60 of them registered | 60 x 0.0023 | 1 x 0.00005 | 0.13805 |
| A list in which no name is registered: one free status row each | none | 1 x 0.00005 | 0.00005 |
| The most one run reads: 5,000 registered domains (about ten hours at the measured pace, an estimate; see Limits) | 5000 x 0.0023 | 1 x 0.00005 | 11.50005 |

Each total is at the Free plan's price and includes the start event of one run at the default memory; on a discount tier the same 200 registered domains cost 0.40005 USD (Bronze), 0.31205 USD (Silver) or 0.24005 USD (Gold and above). Your Maximum cost per run is respected: the run stops before it would pass it
and says so. On Apify's free plan, the 5 USD of monthly credit buys about 2,170 registered domains.

### Output

Every row has a `rowType`: `domain` for a registered domain, `status` for the one free row of a domain with no record.
Every domain the run reads gets one row: a `domain` row for a registered name, or a free `status` row that says why
there is none (not registered, an ending this actor does not cover, a registry that refused or rate limited the run).
A list longer than Max domains is read in order; the domains past Max domains are not read and get no row, and the
`notes` of the run's `HEALTH` record count them (`input:domainsCappedAtMaxDomains`). A run you resurrect after an
abort or an error adds a second row for each domain it reads again; the first one has `healthReason` `notAttempted`,
with `notAttempted:runAborted`, `notAttempted:migrationNotCompleted` or `notCompleted:unexpectedError` in its `reasons`, and was free. A run that stopped at
its Maximum cost per run and that you resurrect with a higher one reads the domains it stopped before the same way
(`notAttempted:budgetStop`). Download the dataset as JSON, CSV, Excel or HTML, or read it through the API.

When an answer cannot be read, the run keeps up to three such answers in its key-value store as snapshots, as the
service sent them, with token-like values redacted. With the contact fields off, a snapshot keeps only the answer's
status and size, never its text, since an answer can hold a whole record.

| Field | Column title | Row | What it holds |
|---|---|---|---|
| `rowType` | Row type | both | `domain` or `status` |
| `domain` | Domain | both | The name looked up, in ASCII (punycode) form |
| `unicodeName` | Unicode name | domain | The name in Unicode, when it differs from the ASCII form |
| `tld` | TLD | domain | The top-level domain that routed the lookup |
| `registryDomainId` | Registry domain ID | domain | The registry's own id for the domain |
| `registry` | Registry | domain | The host of the registry's RDAP service, or of the WHOIS server that answered |
| `rdapUrl` | RDAP URL | domain | The registry RDAP address that answered; empty on a WHOIS row |
| `whoisServer` | WHOIS server | domain | The WHOIS server asked, or on an RDAP row the WHOIS server the record names |
| `registrar` | Registrar | domain | The sponsoring registrar's name |
| `registrarIanaId` | Registrar IANA ID | domain | The registrar's IANA id, when the registry publishes it |
| `registrarRdapUrl` | Registrar RDAP URL | domain | The registrar's own RDAP record, when the registry links one |
| `registrarUrl` | Registrar website | domain | The registrar's web address, when published; a sign-in or token in it reads `<redacted>` |
| `registrarAbuseEmail` | Registrar abuse email | domain | The registrar's abuse mailbox, a role address, when published |
| `registrarAbusePhone` | Registrar abuse phone | domain | The registrar's abuse phone, when published |
| `createdAt` | Created at | domain | Registration date, UTC, `YYYY-MM-DDTHH:MM:SSZ`; a WHOIS date with no time is that date at midnight, with the note `whois:dateWithoutTime` |
| `updatedAt` | Updated at | domain | Last changed date, UTC |
| `expiresAt` | Expires at | domain | Expiry date, UTC |
| `lastTransferAt` | Last transfer at | domain | Last transfer date, UTC, when published |
| `registryDataUpdatedAt` | Registry data updated at | domain | When the registry says it last updated the data it answered from |
| `daysUntilExpiry` | Days until expiry | domain | Whole days from `fetchedAt` to `expiresAt`, below zero once expired, so you can work it out again |
| `domainAgeDays` | Domain age (days) | domain | Whole days from `createdAt` to `fetchedAt` |
| `statuses` | Statuses | domain | EPP status values, such as `client transfer prohibited`; WHOIS words are put in the same words |
| `transferLocked` | Transfer locked | domain | True when a status forbids a transfer; empty when the record lists no status |
| `lifecyclePhase` | Lifecycle phase | domain | `active`, `pendingDelete`, `redemption`, `pendingRestore`, `onHold`, `inactive` or `pendingTransfer`, read from the statuses |
| `nameservers` | Name servers | domain | Name servers, lower case |
| `nameserverAddresses` | Name server addresses | domain | The name servers' IP addresses, where the registry publishes them |
| `dnssec` | DNSSEC | domain | Whether the delegation is signed |
| `dnssecDsRecords` | DNSSEC DS records | domain | The delegation signer records: key tag, algorithm, digest type and digest |
| `registrantOrganization` | Registrant organization | domain | The registrant organisation, only when the record marks the registrant as an organisation and publishes it |
| `registrantRegion` | Registrant region | domain | The registrant organisation's region, when published |
| `registrantCountry` | Registrant country | domain | The registrant organisation's country, when published |
| `registrantRedacted` | Registrant withheld | domain | True when the record says the registrant organisation is withheld |
| `registrantPublicIds` | Registrant public IDs | domain | Public ids the registry attaches to the registrant, such as a company register number, as `type:id`. When the registrant is not shown as an organisation they can be a person's: `personDataFields` names them, and with the contact fields off they are left out |
| `registrantName` | Registrant name | domain | The registrant's name as published; can be a person's |
| `registrantEmail` | Registrant email | domain | The registrant's email as published; can be a person's |
| `registrantPhone` | Registrant phone | domain | The registrant's phone as published; can be a person's |
| `registrantStreet` | Registrant street | domain | The registrant's street as published; can be a person's |
| `registrantCity` | Registrant city | domain | The registrant's city as published |
| `registrantPostalCode` | Registrant postal code | domain | The registrant's postal code as published |
| `adminName` | Admin name | domain | The administrative contact's name as published; can be a person's |
| `adminOrganization` | Admin organization | domain | The administrative contact's organisation |
| `adminEmail` | Admin email | domain | The administrative contact's email; can be a person's |
| `adminPhone` | Admin phone | domain | The administrative contact's phone; can be a person's |
| `techName` | Tech name | domain | The technical contact's name as published; can be a person's |
| `techOrganization` | Tech organization | domain | The technical contact's organisation |
| `techEmail` | Tech email | domain | The technical contact's email; can be a person's |
| `techPhone` | Tech phone | domain | The technical contact's phone; can be a person's |
| `privacyService` | Privacy service | domain | The privacy or proxy service standing in for the registrant, when the record names one; always kept |
| `personDataFields` | Person data fields | domain | The fields on this row that hold published contact data, which can be a person's |
| `available` | Available | both | `false` on a domain row; on a status row `true` when the registry answered it holds no such name, empty otherwise |
| `dnsRecords` | DNS records | domain | With Read DNS records on: each record type asked, with its records as the resolver served them, except that a key, token or password value in a TXT record reads `<redacted>` |
| `hasSpf` | Has SPF | domain | Whether a TXT record starts `v=spf1`; empty when DNS was not read or TXT was not asked |
| `spfRecord` | SPF record | domain | The SPF record, when there is one |
| `hasDmarc` | Has DMARC | domain | Whether `_dmarc` holds a `v=DMARC1` record |
| `dmarcRecord` | DMARC record | domain | The DMARC record, when there is one |
| `dmarcPolicy` | DMARC policy | domain | `none`, `quarantine` or `reject`, from the DMARC record's `p=` tag |
| `mailProvider` | Mail provider | domain | The mail service the MX hosts point at, inferred from their names, with the note `dns:mailProviderInferredFromMx` |
| `dnsResolver` | DNS resolver | domain | `dns.google` or `cloudflare-dns.com`: the resolver that answered |
| `rawRecord` | Raw record | domain | With Include the raw record on: the RDAP record as JSON text, or the WHOIS answer as served |
| `latencyMs` | Lookup time (ms) | domain | From the domain's first request to its row, pauses included |
| `sources` | Sources | domain | `registry`, and `registrar` when its record was read and used |
| `health` | Health | both | `healthy` or `degraded` on a domain row; on a status row, the state that domain ended in |
| `healthReason` | Health reason | both | Null on a healthy domain row, `registrarNotRead` when the registrar's record could not be read or answered for another name, `dnsNotRead` when both DNS resolvers failed; on a status row, a reason from the table below |
| `reasons` | Reasons | both | Machine-readable reasons for a degraded row or a status row |
| `notes` | Notes | both | Normal facts about the read, such as a wait that was served after a rate limit |
| `method` | Method | both | The service that answered: `rdap` or `whois` |
| `chargedEvent` | Charged event | both | `domain-record` when the row was charged, or `none:` and why when it was free |
| `fetchedAt` | Fetched at | both | When the record was read, UTC |

#### Status row reasons

| Reason | What it means |
|---|---|
| `notRegistered` | The registry answered that it holds no such domain: an RDAP 404, or a WHOIS server's own not-found text. |
| `notCovered` | IANA's bootstrap file lists no RDAP service for the TLD and the actor reads no WHOIS server for it (or WHOIS is turned off), and no request is sent; or the registry answered that the name is outside what it serves (HTTP 400 or 422); or a WHOIS answer gave neither a registrar nor a date. |
| `rateLimited` | The registry kept rate limiting after the waits the input allows. |
| `blocked` | The registry refused or challenged the request, or a WHOIS server refused this client. |
| `signInAsked` | The registry asked for sign-in. This actor never signs in. |
| `siteDown` | The registry did not answer, or answered with server errors or timeouts, after one more try; or a WHOIS server stayed silent. |
| `proxyFailed` | The proxy failed on that request, or refused the tunnel to a WHOIS server. |
| `unreadable` | The answer was not an RDAP record or WHOIS answer this actor can read, was too large, was refused (a redirect to a plain http address, an IP address or a private host), or the row failed the actor's own check before saving. |
| `moved` | The registry's RDAP address has moved. |
| `notAttempted` | The run stopped before this domain: a cap, a stop, the time bound, or a registry that kept rate limiting. Its `reasons` say which: a reason ending `runBoundReached` such as `registry:notAttempted:runBoundReached` (the wall-time bound), `notAttempted:budgetStop` (your Maximum cost per run), `notAttempted:runAborted` (the run was aborted), `notAttempted:migrationNotCompleted` (Apify announced a move of the run to another server and did not carry it out), `notAttempted:bootstrapUnread` (IANA's bootstrap file could not be read) or `notCompleted:unexpectedError` (an error in this actor). |
| `wrongRecord` | The registry answered with a record for another name, or with no name at all. |

#### WHOIS and DNS reasons and notes

These are in a row's `reasons` (a failure) or `notes` (a normal fact), beside the reasons RDAP reads give.

| Reason or note | What it means |
|---|---|
| `whois:noSuchDomain` | The WHOIS server's own not-found text, on a `notRegistered` row. |
| `whois:rateLimited` | The WHOIS server said it is rate limiting this client. |
| `whois:refusedClient` | The WHOIS server refused this client. |
| `whois:silent:CODE` | The WHOIS server did not answer (`ETIMEDOUT`, `ECONNRESET` and the like), closed with no bytes (`emptyAnswer`), or did not answer the proxy (`tunnelTimeout`, `tunnelHttp502`, `tunnelHttp504`). |
| `whois:proxyConnect:CODE` | The proxy did not open the tunnel to the WHOIS server. |
| `whois:proxyNNN` | The proxy answered the tunnel with its own error code. |
| `whois:unreadable:WHY` | The answer was too large (`bodyTooLarge`, past 256 KB), carried no domain line (`noDomainLine`), said not found for a different name than the one asked (`notFoundForAnotherName`), or said not found beside a registrar or a date (`contradictoryAnswer`). |
| `whois:answeredForAnotherName` | The answer's domain line named another domain than the one asked. |
| `whois:notCovered:WHY` | Why an ending's WHOIS server is not read: `refusesClients`, `silent`, `unproven`, `noServerAtIana` or `noRegistrarOrDate`. |
| `whois:dateWithoutTime` | A note: a date was published with no time, and is kept as that date at midnight UTC. |
| `whois:timeWithoutZoneReadAsUtc` | A note: a time was published with no zone, and is read as UTC. |
| `whois:servedAfterRateLimitWait:N` | A note: the server answered after N waits. |
| `dns:httpNNN@RESOLVER` | The resolver answered with that HTTP code. |
| `dns:network:CODE@RESOLVER` | The resolver did not answer. |
| `dns:unreadable:WHY@RESOLVER` | The resolver's answer was not a DNS answer this actor can read. |
| `dns:notAttempted@RESOLVER` | The run stopped before that resolver was asked. |
| `dns:secondResolverServed:dns.google:REASON` | A note: Google failed with that reason (a `dns:` reason above, without its `dns:` and resolver parts, such as `http503`) and Cloudflare answered every query. |
| `dns:mailProviderInferredFromMx` | A note: `mailProvider` was read from the MX host names. |
| `dns:mailboxMaskedContactsOff` | A note: with the contact fields off, a mailbox in the DNS fields reads `<email>`. |
| `dns:serverFailed:TYPE` | A note: the domain's own name servers failed for that record type (SERVFAIL), so it reads as no records; `DMARC` names the DMARC record. |
| `rawRecord:tooLarge` | A note: the raw record was over 100,000 characters and left out. |
| `input:duplicateCrossedSkipped:N` | A note on the run: the Nth domain Names and Endings make repeated a domain already in the list, so it was read once. |

One RDAP domain row from a run, as saved, with its two address fields (`rdapUrl` and `registrarRdapUrl`) left out here,
from before the fields added in 0.2:

```json
{
  "rowType": "domain",
  "domain": "stackoverflow.com",
  "unicodeName": null,
  "tld": "com",
  "registryDomainId": "108907621_DOMAIN_COM-VRSN",
  "registry": "rdap.verisign.com",
  "registrar": "CSC Corporate Domains, Inc.",
  "registrarIanaId": "299",
  "createdAt": "2003-12-26T19:18:07Z",
  "updatedAt": "2026-01-29T06:10:36Z",
  "expiresAt": "2027-02-02T11:59:59Z",
  "lastTransferAt": null,
  "statuses": ["client transfer prohibited"],
  "nameservers": ["damian.ns.cloudflare.com", "sureena.ns.cloudflare.com"],
  "dnssec": false,
  "registrantOrganization": "Stack Exchange, Inc.",
  "registrantRegion": "NY",
  "registrantCountry": "US",
  "registrantRedacted": false,
  "sources": ["registry", "registrar"],
  "health": "healthy",
  "healthReason": null,
  "reasons": [],
  "notes": [],
  "method": "rdap",
  "chargedEvent": "none:notPayPerEvent",
  "fetchedAt": "2026-11-10T22:53:13Z"
}
```

That run had no price yet, so its rows read `none:notPayPerEvent`; once priced, a registered domain's row reads
`domain-record`. A WHOIS row, read from the `.dk` server's answer captured on Apify's servers and replayed offline,
with its empty fields, `latencyMs` and `chargedEvent` left out here (`.dk` publishes no registrar abuse contact):

```json
{
  "rowType": "domain",
  "domain": "google.dk",
  "tld": "dk",
  "registry": "whois.punktum.dk",
  "rdapUrl": null,
  "whoisServer": "whois.punktum.dk",
  "registrar": "MarkMonitor Inc.",
  "createdAt": "1999-01-10T00:00:00Z",
  "expiresAt": "2027-03-31T00:00:00Z",
  "daysUntilExpiry": 136,
  "domainAgeDays": 10170,
  "statuses": ["active"],
  "transferLocked": false,
  "lifecyclePhase": "active",
  "nameservers": ["ns1.google.com", "ns2.google.com", "ns3.google.com", "ns4.google.com"],
  "dnssec": false,
  "personDataFields": [],
  "available": false,
  "sources": ["registry"],
  "health": "healthy",
  "healthReason": null,
  "reasons": [],
  "notes": ["whois:dateWithoutTime"],
  "method": "whois",
  "fetchedAt": "2026-11-14T18:31:28Z"
}
```

### Input

| Field | Form title | Default | What it does |
|---|---|---|---|
| `domains` | **Domains** | four examples | The names to look up, up to 5000 per run. One entry that is not a name with at least two labels (a stray word, an empty cell) refuses the whole run before any request, and the message names that entry. It may be empty when Names and Endings are filled. |
| `followRegistrar` | **Read the registrar record too** | on | Also read the registrar's RDAP record when the registry links one. |
| `maxDomains` | **Max domains** | 200 | Read at most this many from the list, in order, after repeats are dropped; the rest get no row. |
| `whoisFallback` | **Use WHOIS where there is no RDAP** | on | Ask the registry's WHOIS server for an ending with no RDAP service; off, those endings get a free not-covered row and no request. |
| `includeContacts` | **Include published contact fields** | on | Keep the registrant, admin and tech contact fields as published; off, every person field is empty, while the registrant's organisation, region and country stay. |
| `includeDns` | **Read DNS records** | off | Also read each registered domain's DNS records, SPF, DMARC and mail provider. |
| `dnsRecordTypes` | **DNS record types** | A, AAAA, MX, NS, TXT, CNAME, SOA, CAA | The record types to read, from A, AAAA, CAA, CNAME, DNSKEY, DS, HTTPS, MX, NAPTR, NS, PTR, SOA, SRV, TLSA and TXT. |
| `includeRawRecord` | **Include the raw record** | off | Keep the registry's whole answer on the row. Needs the contact fields on, since it holds them. |
| `names` | **Names** | empty | Bare names such as `acme`, each read under every ending in Endings, after Domains. |
| `tlds` | **Endings** | empty | Endings such as `com`, `io` or `co.uk` for Names. Names times Endings may make at most 5000 domains. |
| `requestDelayMs` | **Pause per registry (ms)** | 1000 | Pause between two requests to the same registry or registrar. |
| `rateLimitWaitSeconds` | **Rate-limit wait (s)** | 20 | Wait on a rate-limit answer with no Retry-After; doubles each time. |
| `rateLimitMaxWaits` | **Rate-limit waits per registry** | 2 | After these, that registry's remaining domains are not tried this run. |
| `maxRunSeconds` | **Wall-time bound (s)** | 3300 | The run's own time limit: no request starts after this. Keep it under the run timeout (Timeout in the run's options, 3600 s by default). |
| `proxyConfiguration` | **Proxy** | Apify datacenter | A fresh address per request spreads each registry's per-address limit; WHOIS and DNS reads go through it too. A residential group is allowed; its traffic is part of the per-domain price, not billed to you. |

The form as it opens, as an input:

```json
{
  "domains": ["example.com", "wikipedia.org", "registro.br", "google.dk"],
  "followRegistrar": true,
  "whoisFallback": true,
  "includeContacts": true,
  "maxDomains": 200
}
```

### Integrations

- **API**: start runs and read datasets over the [Apify API](https://docs.apify.com/api/v2), or with the
  [Python client](https://docs.apify.com/api/client/python) and the [JavaScript client](https://docs.apify.com/api/client/js).
- **AI agents**: assistants can call it as a tool; setup is in the [MCP integration guide](https://docs.apify.com/platform/integrations/mcp).
- **No-code tools**: [Zapier](https://docs.apify.com/platform/integrations/zapier), [Make](https://docs.apify.com/platform/integrations/make) and [n8n](https://docs.apify.com/platform/integrations/n8n).
- **Schedules and webhooks**: check the same domains every week with a [schedule](https://docs.apify.com/platform/schedules) and get a [webhook](https://docs.apify.com/platform/integrations/webhooks) when the run ends.

### Health states

Every run writes a `HEALTH` record to its default key-value store: the state and exit code, the number of rows saved, how each lookup method ended (the
RDAP registry, the registrar when one was asked, WHOIS when a server was asked, DNS when the option is on), the counts,
the outcome of the first 1,000 domains (the dataset has a row for every domain), each registry's requests, answers,
waits and final pace, the person-data fields the run filled, and what was charged.

| State | Exit code | Meaning | Who acts |
|---|---|---|---|
| healthy | 0 | Every domain was answered: a record, not registered, or not covered. | Nobody. |
| degraded | 0 | Some domains were sold and some failed or were not tried, or a registrar record or a DNS read failed. | Nobody: each row's reasons say what was missed. |
| broken | 10 | A record, a WHOIS answer or the bootstrap file came back in a shape the actor does not know, or moved; a registry answered for another name than the one asked; or no registry answered at all, which points at the network; or the proxy failed, Apify Proxy answering with its own error code (590 to 599). Nothing was sold for those domains. | The actor owner: update the reader from a fresh capture, or check the network and the proxy group. |
| blocked | 11 | Registries rate limited, refused, challenged or did not answer, or a proxy you chose did not connect, and nothing was sold. A run you stopped yourself (Abort, or your Maximum cost per run) before anything was sold reads blocked too; its status message names the stop. | The buyer, then actor owner: retry later with fewer domains; if every run fails for a day, the owner checks the pacing. |
| auth_required | 12 | A registry asked for authentication, and nothing was sold. The actor never signs in. | The buyer, then actor owner: the owner decides whether that TLD stays covered. |
| refused | 2 | The input was refused before any request; no domain was charged (Apify's start event still applies). | The buyer: fix the named fields and run again. |

A run you abort waits up to 10 seconds for the row being saved at that moment. If that save takes longer, the run ends
without it: that one domain can be missing from the `HEALTH` counts, or from the dataset if its save never finished.

### When a run fails

The status message says what happened, what was charged and what to do next. Each one starts with words like these;
the entry number and the counts are this example's. The messages say RDAP for a WHOIS server too; each row's `method`
and the `HEALTH` record's method list say which service it was. The technical record is
`HEALTH` in the run's key-value store.

| What happened | The status message starts with | What to do |
|---|---|---|
| Input refused | The input was refused before any request was sent. | Change entry 2 of Domains as the input form's help text says, then run again. |
| No results | RDAP had no data for this input, so the run saved 2 domains saying so. | Check the spelling and the filters in the input, or widen them, then run again. |
| Not covered | This request is outside what RDAP covers, so no result was saved for it. | Change the input to a request RDAP covers, as the Limits section of the README lists. |
| Blocked by the site | RDAP refused or challenged this run's requests, so the run saved 0 of 1 domains. | Try again in 30 to 60 minutes. If every run fails for a day, open an issue on the Issues tab. |
| Rate limited | RDAP is rate limiting this run, so the run saved 0 of 1 domains. | Try again in 30 to 60 minutes, or ask for fewer domains per run. If every run fails for a day, open an issue on the Issues tab. |
| Proxy failed | The proxy this run used failed, so the run saved 0 of 1 domains. | Try again in 30 to 60 minutes. If every run fails for a day, open an issue on the Issues tab. |
| Site down | RDAP did not answer or answered with server errors, so the run saved 0 of 1 domains. | Wait 30 to 60 minutes, then run again. If it still fails a day later, open an issue on the Issues tab. |
| Site changed | RDAP returned pages this actor could not read, so the run saved 0 of 1 domains. | Open an issue on the Issues tab so we can update the actor, since no input change will help. |
| Site moved | RDAP moved the address this actor reads, so the run saved 0 of 1 domains. | Open an issue on the Issues tab so we can update the actor, since no input change will help. |
| Sign-in asked | RDAP asked this run to sign in, so the run saved 0 of 1 domains. | Try again later, and open an issue on the Issues tab if every run asks to sign in. |
| Charge limit reached | The run stopped at the Maximum cost per run you set, after saving 0 domains. | Raise Maximum cost per run in the run options, or ask for fewer domains per run. |
| Time limit reached | The run reached its time limit, after saving 0 of 1 domains. | Raise Wall-time bound (s) in the input and the run timeout in the run options, or ask for fewer domains per run. |
| Stopped early | The run was stopped before it finished, after saving 1 of 3 domains. | Run it again without anything already finished, since a new run starts over and charges again. |
| Error in the actor | The run stopped on an error in this actor's code, after saving 0 of 3 domains. | Open an issue on the Issues tab and share this run, so we can fix it. |
| Some results missing | The run saved 1 of 2 domains, and each one it did not save has its own row in the dataset that says why. | Open those rows to see what to do for each missing one. |

When you chose the proxy yourself, a proxy failure tells you instead to check the proxy setting in the input, or to run
again with the default proxy.

### Limits

- **The endings covered.** An ending is read by RDAP when IANA's bootstrap file lists an RDAP service for it; the run
  reads that file afresh at every start, and IANA publishes it at data.iana.org/rdap/dns.json, so you can check an
  ending there. Generic endings such as `.com`, `.org`, `.net` and `.dev` have one, as ICANN requires of generic TLD
  registries. For the rest, the actor carries a table of WHOIS servers, each taken from IANA's own page for that ending
  and each proven on Apify's servers on 2026-11-14 with a registered name and a name nobody holds:

  | Service | Endings |
  |---|---|
  | RDAP | every ending IANA's bootstrap file lists |
  | WHOIS | `.ac` `.at` `.be` `.cn` `.co` `.de` `.dk` `.ee` `.eu` `.gg` `.gl` `.hk` `.hu` `.ie` `.il` `.im` `.io` `.it` `.je` `.jp` `.la` `.lt` `.lu` `.lv` `.me` `.mx` `.nu` `.nz` `.ro` `.rs` `.ru` `.se` `.sh` `.sk` `.tr` `.us` `.vc` |
  | Not covered | `.ch` and `.li` (the server refuses this client), `.es` and `.pt` (the server did not answer), `.ws` (not proven), `.za` and `.gr` (IANA names no WHOIS server), `.bg` (its answer gives no registrar and no date) |

  Any other ending with no RDAP service gets a free `notCovered` row and no request. `.il` answers only for names such
  as `example.co.il`. A registered name whose WHOIS answer gives neither a registrar nor a date (some `.im` and `.lv`
  names) gets a free `notCovered` row too, and `.nz` withholds some registered names' data, which then read
  `unreadable`. A WHOIS answer often gives fewer fields than an RDAP record: `.de`, for one, publishes the change
  date, status and name servers but no registrar and no creation date.
- **Registered names, not host names.** A leading `www.` is dropped (`www.example.com` reads `example.com`, and the
  run notes say so); any other host name, such as `mail.example.com`, is looked up as given and usually reads as not
  registered.
- **Registrant data is often withheld.** Since ICANN's 2024 registration data policy most registrars publish no
  registrant organisation and no contact; `registrantRedacted` says when the record states it is withheld. Many country
  registries publish only some of the fields.
- **Contact fields as published.** The contact fields hold what a registry or registrar publishes, a person's own name
  and address included; `registrantOrganization` is filled only when the record marks the registrant as an
  organisation, and an organisation name can still be a sole trader's own name.
- **`available` is the registry's answer, not a price.** A name a registry does not hold can still be reserved,
  premium or blocked from registration.
- **The mail provider is a guess from host names.** `mailProvider` names a service only when the MX hosts match one it
  knows (Google Workspace, Microsoft 365, Proofpoint, Mimecast, Zoho Mail, Proton Mail, Fastmail, Yandex, iCloud Mail,
  GoDaddy, Barracuda, Mailgun); a domain's owner never states it.
- **No sign-in and no challenge solving.** A registry that asks for either fails that domain honestly.
- **Public https addresses only, and at most 4 MB an answer.** A registrar link or a redirect to a plain http address,
  an IP address or a private host name is not followed, and an answer larger than 4 MB is stopped while it downloads.
  A WHOIS answer is cut at 256 KB, and only the servers in the table are ever asked: a referral in an answer is never
  followed. When the registry's own answer is refused, the domain gets a free status row (`unreadable`) that says why;
  when the
  registrar's link or answer is the one refused, the registry's record is still saved as a `degraded` domain row
  (`registrarNotRead`), charged like any other registered domain, and its `reasons` say why.
- **About 200 domains per run by default, and about 7 to 8 seconds a domain.** One request is in flight at a time and
  each registry is paced, so live runs with the registrar's record read 25 domains in 186 seconds and 40 in 319. The
  default 200 take about 25 minutes, and about 400 fit the default Wall-time bound. For a longer list, raise Max
  domains, Wall-time bound (s) and the run timeout together, about 8 seconds a domain (5,000 domains would take about
  ten hours at that pace, an estimate: the longest live run so far read 40): a long run that Apify moves to another server picks up where it stopped and never charges a domain twice.
  A WHOIS server is asked at most once every two seconds. Read DNS records adds nine requests a domain with the default
  record types, at least 200 ms apart on one resolver.

### FAQ

#### Is it legal to look up domain registration data?

It reads only RDAP records and WHOIS answers anyone can ask for without signing in. Collecting public data is generally
lawful, but the law differs by country and by purpose, and this is not legal advice. RDAP and WHOIS are public services
that registries run so anyone can read registration data, and ICANN requires RDAP of generic TLD registries and
registrars. Registries publish terms of use and rate limits, and several WHOIS servers ask that they not be queried by
automated means; the Disclaimers quote them. This actor reads slowly and stops on a registry that rate limits.

#### Why is the registrant organisation empty?

Most registrars withhold it. `registrantRedacted: true` means the record says so. Empty with `false` means either the
record read did not mark the registrant as an organisation, or the registrar's record was not read (`sources` then
holds only `registry`, and `healthReason` says why when it should have been).

#### Why are the contact fields empty?

Either Include published contact fields is off, or the registry and registrar publish none for that domain, which is
the common case since 2024. The registrar's abuse email and phone are a role contact, not a person's, and are kept
either way.

#### Why is my ending not covered?

Its registry runs no RDAP service and its WHOIS server is not one this actor reads; the Limits section lists why for
each. Open an issue on the Issues tab to ask for an ending.

#### How do I report a problem?

Open an issue on the Issues tab and share the run.

### Disclaimers

- **As is, and your use is yours.** Results come as the registries and registrars publish them, with no warranty of
  completeness or accuracy. You decide how to use them and you answer for that use.
- **The registries' terms.** Registries and registrars print terms of use in their RDAP and WHOIS answers. Read the
  terms that apply to the endings you look up and follow them, especially before large or scheduled jobs. Several WHOIS
  servers' own answers ask that they not be queried by high-volume automated means, among them `.co`, `.gl` and `.la`
  ("not to use any high-volume, automated, electronic processes"), `.us`, `.lu` and `.il` (likewise), the Identity
  Digital endings `.io`, `.me`, `.sh`, `.ac` and `.vc`, `.hk` ("high-volume, electronic or automated processes"), `.ro`
  and `.nz` ("Access the .nz Register in bulk through the WHOIS service"). `.eu`, `.be`, `.lt` and `.lv` forbid using
  the data to send unsolicited messages, and `.eu` forbids extracting a substantial part of its WHOIS database. `.se`
  and `.nu` ask not to be used as "a backend for a search engine". This actor asks each server at most once every two
  seconds, and you can turn WHOIS off with Use WHOIS where there is no RDAP.
- **Personal data.** Results can contain personal data: a registrant's, admin's or tech contact's name, email, phone
  and address as a registry publishes them, and a registrant organisation name that is a sole trader's own name. Each
  row's `personDataFields` names the fields that hold it. A DNS record the domain publishes can name a mailbox too
  (a DMARC report address, say); with the contact fields off, every mailbox in the DNS fields reads `<email>`. The GDPR in the EU, the CCPA in California and similar laws
  elsewhere protect it. Collect and keep it only with a legitimate reason, turn Include published contact fields off
  when you do not need it, and ask a lawyer if you are unsure.
- **No affiliation.** This is an independent tool. It is not affiliated with or endorsed by IANA, ICANN or any registry
  or registrar, and they do not sponsor it. Their names are trademarks of their owners.
- **Public data only, not legal advice.** It reads only RDAP records and WHOIS answers anyone can ask for without
  signing in. Collecting public data is generally lawful, but the law differs by country and by purpose, and this is not
  legal advice.
- **The site changes.** Registries change their RDAP services and WHOIS answers without notice. When a change breaks a
  read, the row's health field says so and the run names the failure, and no result charge applies to what did not
  arrive.

# Changelog

This Actor's version history is a separate document: https://apify.com/stackraccoon/domain-rdap/changelog.md

# Actor input Schema

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

Paste the domain names to look up, one per line, such as example.com. A pasted web address is cut to its host name, Unicode names are converted, and repeats are read once. Each entry must be a name with at least two labels, and one entry that is not (a stray word, an empty cell) refuses the whole run before any request. A leading www. is dropped (www.example.com reads example.com); any other subdomain, such as mail.example.com, is looked up as given and usually reads as not registered. Leave it empty only when you fill Names and Endings below.

## `followRegistrar` (type: `boolean`):

Read the registrar's own RDAP record too, when the registry links one. For thin registries such as .com and .net, this is where the registrant organisation, when published, is found. It doubles the requests for those domains.

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

Read at most this many domains from the list, in order. Each registered domain read is one billed result; the run's notes say how many were left out, and they are the ones after this number in your list once repeats, and a www. name beside the same name without it, are taken out.

## `whoisFallback` (type: `boolean`):

Ask the registry's WHOIS server for an ending whose registry runs no RDAP service (such as .de, .io, .co, .dk, .jp). The README lists the endings this covers and the ones it cannot read. Several of those servers ask in their own answers that they not be queried by high-volume automated means; the actor asks each server at most once every two seconds. Turn it off to get a free not-covered row for those endings and send them no request.

## `includeContacts` (type: `boolean`):

Keep the registrant, admin and tech contact fields a registry or registrar publishes: names, organisations, emails, phones and the registrant's street, city and postal code. These can be a person's data; each row's personDataFields lists the ones it holds, and the run's log and HEALTH record say so. Turn it off to leave every person field empty; the registrant's organisation, region and country stay. The registrar's abuse email and phone and a privacy service's name are organisations' and are always kept.

## `includeDns` (type: `boolean`):

Read each registered domain's DNS records too, over DNS over HTTPS from Google's public resolver (Cloudflare's if Google fails), and its SPF and DMARC records and the mail provider its MX records point at. A domain with no registration row costs no DNS read. When both resolvers fail, the row is still saved, degraded, and says so. Off by default: it adds about nine requests a domain.

## `dnsRecordTypes` (type: `array`):

Pick the record types to read when Read DNS records is on. The default is A, AAAA, MX, NS, TXT, CNAME, SOA and CAA. SPF needs TXT; the mail provider needs MX. The DMARC record is always read.

## `includeRawRecord` (type: `boolean`):

Keep the registry's whole answer on each registered domain's row: the RDAP record as JSON text, or the WHOIS answer as served. It holds the contact fields too, so a row that carries it lists it in personDataFields, and it needs Include published contact fields on. An answer over 100,000 characters is left out with a note.

## `names` (type: `array`):

List names without an ending, such as acme, one per line. Each is looked up under every ending in Endings, after the Domains list (acme with com and io reads acme.com and acme.io). A name already in Domains is read once. Use it with Endings; together they may make at most 5000 domains.

## `tlds` (type: `array`):

List the endings to cross with Names, such as com, io or co.uk, one per line; a leading dot is dropped. Use it with Names.

## `requestDelayMs` (type: `integer`):

Pause between two requests to the same RDAP registry or registrar (a WHOIS server is always asked at most once every two seconds). Domains are read one at a time, so a domain on another registry goes next without this pause, while a rate-limit wait holds the whole run until it ends. After a rate-limit answer a registry's pause doubles, to at least 2 seconds, and no further once it passes 30 seconds (a longer pause you set stays as set), for the rest of the run, and it never speeds up again.

## `rateLimitWaitSeconds` (type: `integer`):

Set how long to wait on a registry that answers with a rate limit and gives no Retry-After time; when it gives one, that time is used. Each further wait on the same registry doubles.

## `rateLimitMaxWaits` (type: `integer`):

Set how many rate-limit waits one registry gets in a run. After that, its remaining domains are not tried in this run and have a status row saying so; other registries go on.

## `maxRunSeconds` (type: `integer`):

Set the number of seconds after which no request starts; the run then writes its record and ends. Keep it under the run timeout in the run options.

## `proxyConfiguration` (type: `object`):

Keep the datacenter proxy, the default, for a fresh address per request, which spreads each registry's per-address limit; WHOIS and DNS reads go through it too. Choose no proxy to read from the run's own address.

## `fixtureSource` (type: `string`):

Owner testing only. Replays a bundled fixture with no network. Refused on the platform except in the owner's own drills; replayed rows are never billed.

## `allowReplayOnPlatform` (type: `boolean`):

Owner drills only: lets fixtureSource run on the platform, and only on a run the actor's owner started.

## Actor input object example

```json
{
  "domains": [
    "example.com",
    "wikipedia.org",
    "registro.br",
    "google.dk"
  ],
  "followRegistrar": true,
  "maxDomains": 200,
  "whoisFallback": true,
  "includeContacts": true,
  "includeDns": false,
  "dnsRecordTypes": [
    "A",
    "AAAA",
    "MX",
    "NS",
    "TXT",
    "CNAME",
    "SOA",
    "CAA"
  ],
  "includeRawRecord": false,
  "requestDelayMs": 1000,
  "rateLimitWaitSeconds": 20,
  "rateLimitMaxWaits": 2,
  "maxRunSeconds": 3300,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "allowReplayOnPlatform": false
}
```

# Actor output Schema

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

One row per domain read: a domain row for a registered name, a status row for any other

## `health` (type: `string`):

The run's HEALTH record

# 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",
        "registro.br",
        "google.dk"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("stackraccoon/domain-rdap").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",
        "registro.br",
        "google.dk",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("stackraccoon/domain-rdap").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",
    "registro.br",
    "google.dk"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call stackraccoon/domain-rdap --silent --output-dataset

```

## MCP server setup

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

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/AOpMqQsAc9SQ8p5dS/builds/3UcNJVzfXc4AMo5yf/openapi.json
