WHOIS Lookup Scraper: Bulk Domain Expiry, Registrar, DNS avatar

WHOIS Lookup Scraper: Bulk Domain Expiry, Registrar, DNS

Pricing

from $1.00 / 1,000 domain records

Go to Apify Store
WHOIS Lookup Scraper: Bulk Domain Expiry, Registrar, DNS

WHOIS Lookup Scraper: Bulk Domain Expiry, Registrar, DNS

Returns WHOIS lookup results for each domain from official RDAP: registrar, created and expiry dates, days to expiry, status and nameservers, plus DNS records (A, MX, TXT, SPF, DMARC). A bulk WHOIS and domain expiry checker that can return only what changed since your last run.

Pricing

from $1.00 / 1,000 domain records

Rating

0.0

(0)

Developer

Mike Ross

Mike Ross

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

19 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Bulk WHOIS lookup for a list of domains: returns registration data from official RDAP and DNS records, one record per domain:

  • Registration (WHOIS) data from RDAP: registrar and its IANA ID, registration date, expiry date, last changed date, days until expiry, EPP status codes, nameservers and DNSSEC.
  • Registrant organisation and country, only when the registry publishes them for an organisation. Names, email addresses and phone numbers of people are never returned.
  • DNS records: A, AAAA, MX, NS, TXT, CNAME and SOA, plus the SPF record and the DMARC record and policy.
  • An availability guess for names the registry has no record of.
  • What changed since your last run: registrar, expiry, status codes, nameservers, MX, SPF, DMARC and more, with old and new values.

RDAP is the official, ICANN-mandated replacement for WHOIS. The Actor finds each TLD's RDAP server in IANA's bootstrap registry, so there is nothing to configure and no key to supply.

Use it to:

  • Check expiry dates and days to expiry across a whole domain portfolio, and catch renewals before they lapse.
  • Watch your own and look-alike domains for registrar, nameserver, MX and status changes on a schedule.
  • Audit SPF and DMARC across many domains before an email campaign or a security review.
  • See the registrar, nameservers and MX records behind a list of prospect domains.

What you get

FieldExample
domain, domainUnicode, tldapify.com, null, com
availability, availabilityBasisregistered, Registry RDAP record found.
registrar, registrarIanaIdAmazon Registrar, Inc., 468
createdAt, updatedAt, expiresAtISO dates in UTC
daysUntilExpiry3144 (negative once a domain has expired)
statuses["client transfer prohibited"]
nameservers, dnssecregistry nameservers, true
registrantOrganization, registrantCountry, registrantIsPrivacyServiceAcme Widgets Ltd, GB, false
aRecords, aaaaRecords, nsRecords, cnameRecords, txtRecordslists of values
mxRecords[{"priority": 1, "exchange": "aspmx.l.google.com"}]
soaprimary nameserver, serial and timers
spfRecord, dmarcRecord, dmarcPolicyv=spf1 ... -all, v=DMARC1; p=reject; ..., reject
dnssecValidatedtrue when the resolver validated the DNSSEC chain
changeStatus, changedFields, changeschanged, ["nameservers"], old and new values
rdapStatus, rdapNote, sourceUrl, registryTermsUrlwhere the registration data came from

The Output tab has four views: Overview, DNS records, Changes since last run and Expiry watch.

Who it is for

  • Brand protection and security teams watching their own and look-alike domains for registrar, nameserver, MX and status changes.
  • Domain investors and portfolio managers tracking expiry dates and spotting names that drop.
  • Sales and marketing teams checking a prospect list for email setup (MX, SPF, DMARC) and hosting.
  • IT and email deliverability teams auditing SPF and DMARC across many domains.

Quick start

  1. Click Start with the example input. You get five example domains with their registration data and DNS records.
  2. Replace the list with your own domains. Plain names, links (https://www.example.co.uk/page) and subdomains all work; each is reduced to the registered domain.
  3. Pick the DNS record types you need, or switch DNS off for registration data only.
  4. Schedule it daily or weekly with Only domains that are new or changed since the last run switched on, and connect the dataset to email, Slack or a spreadsheet with an Apify integration or webhook.

Input

FieldWhat it doesDefault
domainsDomains to check, up to 1,000 per run. Empty runs the example listexample list
includeDnsAdd DNS records from Cloudflare's 1.1.1.1 resolvertrue
recordTypesAny of A, AAAA, MX, NS, TXT, CNAME, SOA, DMARCall
maxItemsAt most this many domain records. Empty or 0 means no limitno limit
onlyChangedOnly return domains that are new to the history or changed since the last runfalse
trackIpChangesAlso count A and AAAA changes as changes (off because CDNs rotate IPs)false
stateStoreNameKey-value store that keeps the historyagents001-domain-rdap-lookup-state
rdapDelaySecsMinimum seconds between requests to the same registry1

Example input for weekly monitoring:

{
"domains": ["example.com", "example.org", "example.ai", "example.dev"],
"recordTypes": ["MX", "NS", "TXT", "DMARC"],
"onlyChanged": true
}

Output example

{
"domain": "apify.com",
"tld": "com",
"availability": "registered",
"rdapStatus": "ok",
"registrar": "Amazon Registrar, Inc.",
"registrarIanaId": "468",
"createdAt": "2009-06-02T17:14:10Z",
"updatedAt": "2026-05-16T16:53:04Z",
"expiresAt": "2035-06-02T17:14:10Z",
"daysUntilExpiry": 3144,
"statuses": ["client transfer prohibited"],
"nameservers": ["ns-1225.awsdns-25.org", "ns-1928.awsdns-49.co.uk", "ns-449.awsdns-56.com", "ns-839.awsdns-40.net"],
"dnssec": true,
"registrantOrganization": null,
"mxRecords": [{"priority": 1, "exchange": "aspmx.l.google.com"}],
"spfRecord": "v=spf1 a mx include:_spf.google.com include:mailgun.org include:amazonses.com -all",
"dmarcRecord": "v=DMARC1; p=reject; sp=reject; pct=100; rua=mailto:redacted@apify.com; ri=604800",
"dmarcPolicy": "reject",
"dnsStatus": "ok",
"dnssecValidated": true,
"sourceUrl": "https://rdap.verisign.com/com/v1/domain/apify.com",
"changeStatus": "changed",
"changedFields": ["nameservers"],
"changes": {"nameservers": {"old": ["ns1.old.example"], "new": ["ns-1225.awsdns-25.org"]}},
"checkedAt": "2026-10-23T12:53:52Z"
}

A run report is saved in the key-value store as RUN_SUMMARY: domains checked, records saved, lookup results per registry server, and any entries skipped as invalid.

Live API (Standby mode)

The Actor also runs as an always-ready HTTP API for one-off lookups from your app, CRM or workflow. Copy the API URL from the Endpoints tab and authenticate with your Apify API token in the Authorization: Bearer <token> header.

curl -H "Authorization: Bearer $APIFY_TOKEN" \
"https://<your-standby-url>/lookup?domain=apify.com"
curl -X POST -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"domains": ["python.org", "mozilla.org"], "recordTypes": ["MX", "DMARC"]}' \
"https://<your-standby-url>/lookup"

The response is {"count": ..., "chargedRecords": ..., "results": [...]}, where each result has the same fields as a dataset record. Entries that are not valid domain names come back with an error and are not charged.

EndpointWhat it does
GET /Free usage help
GET /lookup, POST /lookupLook up to 10 domains per request

Query parameters: domain (also domains), includeDns, recordTypes (comma-separated). Change tracking (onlyChanged) needs run history, so it is only available in normal runs; the API rejects it with HTTP 400. The same polite per-registry pacing applies to API calls, so a request with several domains at one registry takes about a second per domain.

Pricing

This Actor uses pay per event pricing, with platform usage included:

  • $1.50 per 1,000 domain records (domain-record event, $0.0015 each), in normal runs and API calls alike

For the live API, Apify bills the platform usage of the Standby run to you on top of the event price, as it does for every Standby Actor.

In normal runs you pay only for domain records saved to your dataset, so onlyChanged and maxItems keep costs down. A weekly onlyChanged run over 500 domains costs $0.75 the first time and then only $0.0015 for each domain that changed. Set a maximum cost per run in the run options and the Actor stops cleanly when it is reached.

Which TLDs have registration data

Every registry sets its own terms for its RDAP service. The Actor only queries registries whose published terms allow lookups like these, and it reads the terms notice in every response again at run time.

  • Registration data returned for most generic TLDs, including .com, .net, .org, .info, .ai, .dev, .app, .page, .online, .site, .store, .tech, .pro, .mobi, .name, .cc, .top, .cloud and .in, and several hundred more.
  • DNS data only where a registry's terms forbid storing or reusing its RDAP data, or publish no terms that could be checked. This includes .uk, .fr, .nl, .au, .br, .xyz, .biz, .tv, .shop, .club, .vip and .ca. These records have rdapStatus withheld-registry-terms or registry-terms-unverified.
  • DNS data only for TLDs with no RDAP server in IANA's bootstrap file, such as .io, .co, .me, .de, .eu, .us, .za, .it, .es and .ch (rdapStatus no-rdap-server).

For DNS-only domains the availability guess is based on DNS: a domain with nameservers is registered, and a name that does not exist in DNS is possibly-available.

How the availability guess works

ValueMeaning
registeredThe registry has a record, or the domain has nameservers in DNS
likely-availableThe registry returned "not found" (and the name does not exist in DNS)
possibly-availableNo registry data, and the name does not exist in DNS
unknownThe lookups disagreed or failed

It is a guess. Reserved, premium and blocked names can show as available, so confirm with a registrar before you rely on it.

How change tracking works

With onlyChanged on, the Actor keeps the previous values of each domain in a key-value store in your account called agents001-domain-rdap-lookup-state. Each record compares the tracked fields with the previous run and lists what changed in changedFields and changes. Unchanged domains are not saved, so you are not charged for them. With onlyChanged off, the Actor does not open or update this store, so every record has changeStatus set to new. If a run stops with a message that it cannot open the store (for example because another Actor in your account already uses that name), enter a different name in State store name and run again.

  • The history is kept per domain, so adding domains to your list keeps the history of the others.
  • Changing includeDns or recordTypes starts a fresh history.
  • A registry that was rate-limited or unreachable in a run is never reported as a change.
  • SOA serial numbers are ignored, and IP addresses only count when trackIpChanges is on.

Data sources, licences and privacy

  • Registration data: each TLD's registry RDAP service, located through the IANA RDAP bootstrap registry. The data belongs to the registries and is provided under their terms, linked in registryTermsUrl on each record. Registries forbid using it for unsolicited marketing, so do not use this Actor's output for spam or bulk outreach.
  • DNS records: Cloudflare's public 1.1.1.1 resolver over DNS-over-HTTPS.
  • Domain parsing: the Public Suffix List (Mozilla Public License 2.0), through the publicsuffixlist package.

The Actor uses no login and does not output personal data. It never returns a person's name, email address, phone number or street address from RDAP. Registrant organisation and country are only kept when the registry publishes them, they are not redacted, they do not belong to a privacy service, and the organisation is not the contact's own name. Email addresses inside TXT and DMARC records have their local part replaced with redacted, and the SOA responsible-person mailbox is dropped.

Domains sent to the live API are processed in memory and returned; nothing is written to storage and request URLs are not logged.

Requests are kept polite: one request at a time per registry server with a 1 second gap by default, longer waits when a registry answers HTTP 429, and a registry that asks for a long pause is skipped for the rest of the run.

FAQ

How fresh is the data? Every run asks each registry's RDAP server and Cloudflare's 1.1.1.1 resolver live, so you get the data as it stands at run time. Each record has a checkedAt timestamp.

How much does a typical run cost? $1.50 per 1,000 domain records ($0.0015 each). A run over 500 domains costs $0.75. With onlyChanged on, later runs only charge for domains that changed.

Can I schedule it and get only the changes? Yes. Schedule it daily or weekly in Apify and switch on Only domains that are new or changed since the last run. Each record then lists what changed, with old and new values.

Does it need a login or API key? No login and no third-party key. Live API calls use your own Apify API token.

What formats can I export? The dataset downloads as JSON, CSV, Excel and the other formats Apify offers, or you can read it through the Apify API and integrations.

Is it legal, and where does the data come from? Registration data comes from each TLD's official registry RDAP service, found through IANA's bootstrap registry, under the terms linked in registryTermsUrl. The Actor skips registries whose terms forbid reuse and never returns personal contact details. Do not use the output for spam or bulk outreach.

Why is the registrant organisation empty for most domains? Since GDPR most registries redact registrant details, and many gTLD registries no longer hold them at all. The Actor only reads the registry's own record and returns the organisation when it is published.

Why is expiresAt empty for some domains? Some registries, for example the .au registry, do not publish an expiry date.

Why does a .uk or .fr domain have no registrar? Those registries' terms forbid storing or reusing their RDAP data, so the Actor returns DNS data only. See "Which TLDs have registration data".

What does rdapStatus: rate-limited mean? The registry asked the Actor to slow down for longer than it is willing to wait. Run those domains again later.

Something looks wrong. What should I do? Open an issue on the Actor's Issues tab with the run link and the domain.

Disclaimer

This Actor is independent and is not affiliated with, endorsed by or sponsored by IANA, ICANN, Cloudflare or any domain registry or registrar. Names are used only to describe data sources and belong to their owners. Registration data is provided by the registries without any guarantee of accuracy; check with the registry or registrar before acting on it.