Domain RDAP Lookup & Expiry Watch avatar

Domain RDAP Lookup & Expiry Watch

Pricing

from $1.30 / 1,000 domain lookups

Go to Apify Store
Domain RDAP Lookup & Expiry Watch

Domain RDAP Lookup & Expiry Watch

Look up RDAP registrar, dates, status, and nameservers for domains you operate. An HTTP 200 or 404 answer is $0.0015. A later watch alert is $0.003. The first look stores state and does not alert. Hard cap 5,000 names. Not a lead list.

Pricing

from $1.30 / 1,000 domain lookups

Rating

0.0

(0)

Developer

Mike Berckmoes

Mike Berckmoes

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Categories

Features

Limited permissions

Share

Look up registrar, status, dates, and nameservers for domain names you operate, using RDAP. A run returns one lookup row per name it finishes. In watch mode it can also return a change row when a later run sees a difference.

Saved state is one gzipped snapshot per Watchlist ID in the named store rdap-watch-state, key watch-<watchlistId>. Inside it, each domain has its own hash and a small set of watched fields. It is not one watermark for the whole portfolio. The first time a domain is stored, the lookup row is still charged and no change alert is written. Alerts start on a later run. Lookup mode does not read or write that snapshot.

This version uses the IANA RDAP bootstrap (https://data.iana.org/rdap/dns.json, cached 24 hours) and hand-added servers for .de, .ch, .us, and .co. It does not use a proxy. Registrant and contact records are not stored and not written to the dataset. It is not a lead list and not an availability product. It is not affiliated with or endorsed by IANA or any registry.

What it does

  • Routes each name by the longest suffix in the bootstrap, then the hand-added servers. .de and .ch are marked limited (expiration is often missing). These suffixes are unsupported and are not queried: io, me, eu, be, it, es, at, se, dk, jp, cn, ru.
  • Sends one request at a time per registry host, then waits Delay between requests (default 1,000 ms, range 200 to 5,000). Different registries run at the same time. A higher Requests at a time per registry is ignored and stays 1.
  • Tries each URL up to 4 times. HTTP 200 and 404 return immediately. HTTP 429 and 500, 502, 503, and 504 are retried. A 429 whose Retry-After is over 120 seconds, or that would run past the time left on the run, blocks that host for the rest of the run. Other hosts continue.
  • A redirect is not followed; that name becomes a free source_unavailable row. A blocked host makes every later name on that host a free source_unavailable row.
  • Keeps at most 5,000 names per run, in input order. Further names are not looked up. The same input keeps the same first 5,000 every run.
  • Charges a lookup row for HTTP 200 and HTTP 404. Writes a free row for an invalid name, an unsupported suffix, a registry error, or a payload that is not an object. A name skipped because fewer than 20 seconds remain on the run writes no row.
  • In watch mode, charges a change row only when this Watchlist ID already has a stored observation for that domain. Does not send a webhook per domain. The default key-value record is RUN_SUMMARY.

Use cases

  • Look up a portfolio once. Leave Mode on Lookup. You get one row per name and no saved watch snapshot.
  • Watch expiry and nameserver changes. Set Mode to Watch, keep the default alert list, and schedule the same Watchlist ID.
  • Keep two portfolios apart. Use one Watchlist ID per portfolio. Each ID has its own per-domain snapshot.
  • Add a name to a Watchlist ID that already ran. That name is a charged lookup and is stored with no alert. Other names keep their snapshots and can still alert.

What you get

A lookup row and a change row do not use the same fields. The example is a lookup built from the offline google.com RDAP fixture (registrar MarkMonitor Inc., IANA id 292, expiration 2028-09-14T04:00:00Z). daysToExpiry and domainAgeDays are whole days from the run's UTC date, so they are not fixed in the fixture. The registrant name in that fixture is not copied onto the row.

A lookup row sets kind to lookup. registered is true on HTTP 200, false on HTTP 404, and null on an error row. error is null on a 200 or 404. It is invalid_domain, unsupported, or source_unavailable otherwise. errorDetail is set only when error is source_unavailable (rate_limited, upstream_error, or bad_payload). expiresAt is null when the registry does not publish an expiration, which is expected for .nl and .de.

A change row sets kind to change and sets domain, changeType, field, before, after, and detectedAt. It does not copy the rest of the lookup. changeType is one of EXPIRY_SOON, REGISTRAR_CHANGE, NAMESERVER_CHANGE, STATUS_CHANGE, DNSSEC_CHANGE, DROPPED, NEWLY_REGISTERED. EXPIRY_SOON also sets daysToExpiry. before and after are the previous and new value of that one field (a string, number, boolean, list, or object).

FieldMeaningExample
kindlookup or changelookup
domainName in punycode, lower casegoogle.com
tldSuffix used for routingcom
registeredTrue, false, or nulltrue
rdapServerBase URL that was queriedthe registry URL on the row
registrar, registrarIanaIdRegistrar name and IANA id, when publishedMarkMonitor Inc., 292
createdAt, expiresAt, updatedAtRegistration, expiration, and last-changed times1997-09-15T04:00:00Z, 2028-09-14T04:00:00Z, 2019-09-09T15:39:04Z
daysToExpiry, domainAgeDaysWhole days until expiration, and since registration. Null when the date is missingfilled at run time
statuses, nameserversEPP statuses and hostnames, lower case, sortedsix client/server statuses, ns1.google.com through ns4.google.com
dnssecSignedsecureDNS.delegationSigned when publishedfalse
supportLevelfull, limited, or unsupportedfull
error, errorDetailNull on a normal 200 or 404null
checkedAtUTC time the lookup row was builtset at run time
changeType, field, before, after, detectedAtWatch alert fields. Set on a change row onlyabsent on a lookup row

RUN_SUMMARY holds status (ok or partial), lookup and alert counts, names left because of the charge limit, unsupported and invalid counts, source-unavailable counts, names deferred for time, the bootstrap source (cache, fetched, stale-cache, unavailable, or skipped), and blocked registry hosts.

How to use it

  1. Paste domain names you operate into Domains, one per line, at most 5,000. A name that does not parse becomes a free invalid_domain row. It does not stop the run. An empty list finishes with nothing fetched and nothing charged. That is not an invalid-input stop.
  2. Choose Mode. Lookup returns rows and does not save a watch snapshot. Watch saves one snapshot per Watchlist ID and, on later runs, emits change alerts.
  3. Set Watchlist ID (default default) when Mode is Watch. Each domain in that snapshot has its own hash.
  4. Run once in Watch. Each HTTP 200 or 404 is charged as a lookup. No change alert is written for a domain that was not already stored.
  5. Schedule the same names and the same Watchlist ID. The next run charges another lookup per 200 or 404, and charges $0.003 for each change alert it stores.

Input

FieldWhat to enter
DomainsNames you administer. A string is split on whitespace and commas. Not a list stops the run. Empty does not stop the run.
Modelookup (default) or watch. Any other value stops the run.
Expiry window (days)1 to 3650, default 30. Watch mode emits EXPIRY_SOON when whole days until expiration are in this range, once per expiration date. A non-integer stops the run.
Alert typesWatch alerts to emit. Default is every type listed above. Unknown values are ignored and do not stop the run. Not a list stops the run.
Watchlist IDName of the saved snapshot. Default default. Characters other than letters, digits, and hyphen become hyphens. Cut at 60 characters.
Requests at a time per registryKept at 1. Higher values are ignored.
Delay between requests to one registry (ms)200 to 5000, default 1000. A non-integer stops the run.

A bad mode, a non-list domain field, a non-integer expiry window or delay, or a non-list alert field stops the run before any request. Nothing is fetched and nothing is charged. An empty domain list does not.

{
"domains": ["example.com"],
"mode": "watch",
"watchlistId": "default",
"expiryWithinDays": 30
}

Output example

This is the charged lookup row for the offline google.com RDAP fixture. daysToExpiry, domainAgeDays, and checkedAt depend on the run clock. A change row is a separate object with kind change and only the changed field.

{
"kind": "lookup",
"domain": "google.com",
"tld": "com",
"registered": true,
"registrar": "MarkMonitor Inc.",
"registrarIanaId": "292",
"createdAt": "1997-09-15T04:00:00Z",
"expiresAt": "2028-09-14T04:00:00Z",
"updatedAt": "2019-09-09T15:39:04Z",
"statuses": [
"client delete prohibited",
"client transfer prohibited",
"client update prohibited",
"server delete prohibited",
"server transfer prohibited",
"server update prohibited"
],
"nameservers": ["ns1.google.com", "ns2.google.com", "ns3.google.com", "ns4.google.com"],
"dnssecSigned": false,
"supportLevel": "full",
"error": null,
"errorDetail": null,
"checkedAt": "set when the row is stored"
}

Pricing

Pay per event. The live events are domain-lookup at $0.0015 per domain that RDAP answers with HTTP 200 or 404, and change-alert at $0.003 per watch-mode change that is stored. For example, 100 lookups cost $0.15. For example, 100 change alerts cost $0.30.

A lookup is charged in both modes. A change alert is charged only in Watch, and only after a previous observation exists. If the platform charge limit rejects a row, that row is not stored and not charged, and the run stops storing further names. Those names stay out of the snapshot, so the next run can charge them. A change alert the cap rejects does not copy that field forward, so the next run can raise it once. There is no separate capped row.

Not charged:

  • The first observation's missing alert. The lookup itself is charged. No change-alert is written.
  • An invalid name, an unsupported suffix, a source_unavailable row, and a bad payload.
  • A name left unstored because the charge limit was already hit.
  • A name skipped because fewer than 20 seconds remain. No row is written.
  • Names past the 5,000 cap. They are not looked up.
  • A run that stops on invalid input, and an empty domain list.

The default run memory is 128 MB.

Integrations

  • Schedule. In Apify Console, schedule this Actor in Watch mode with the same Watchlist ID. A different Watchlist ID starts a new per-domain snapshot and charges lookups with no alerts on that first run.
  • Export. Download the dataset as JSON, CSV, Excel, or HTML.
  • Google Sheets. Use Apify's Google Sheets integration, set up by the buyer, if you want the dataset in a sheet.
  • Webhook. Add a platform webhook for the run-finished event if you want one notice per run. This Actor does not send a webhook per domain.
  • API. Start a run and read the dataset with the Apify API or the apify-client packages for JavaScript and Python. The input is the JSON above.
  • RUN_SUMMARY. Read the RUN_SUMMARY record in the default key-value store when the run finishes.

FAQ

Is the first watch run free? No. Each HTTP 200 or 404 lookup is $0.0015, including the first time a domain is seen. That first observation stores the snapshot and does not emit a change alert, including EXPIRY_SOON. Alerts start on the next run, at $0.003 each.

What if I add a domain to a Watchlist ID that already ran? That domain is charged as a lookup and stored with no alert. It does not get a copy of another domain's snapshot. The other domains keep their own hashes and can alert on this run.

What does HTTP 404 mean? The registry answered that it has no record. The row is registered: false and is charged as a lookup. It is not a promise that you can register the name.

Which names are free? Invalid names, unsupported suffixes, and registry failures (source_unavailable). They are rows, and they are not charged. A name past the 5,000 cap is not a row.

Why is there no expiration on a .de name? .de and .ch are limited. The row is still a charged lookup when the registry returns HTTP 200. expiresAt stays null when the registry does not publish it, so EXPIRY_SOON cannot fire.

Limits

Watch state is one hash per domain inside one Watchlist ID. Lookup mode does not save it. Adding a domain baselines that domain only, and the baseline is a charged lookup with zero change rows.

At most 5,000 names are looked up per run. An environment cap can only lower that number, not raise it. Names past the cap are not looked up, and the same input does not rotate them in next time.

Each registry is one request at a time, with up to 4 attempts. Redirects are not followed. A host that answers 429 beyond the 120-second Retry-After cap is blocked for the rest of the run, and later names on that host become free source_unavailable rows. Other registries continue.

Alert dedupe keys are kept and then cut to 10,000 when the snapshot is saved. The cut uses whatever order the set produces, so which old keys survive is not stable. After a key falls off, the same alert can be charged again.

EXPIRY_SOON fires once per domain per expiration date, and only when whole days until expiration are from 0 through the expiry window. A dropped name (registered true then false) or a newly registered name emits that one alert and no other alerts on the same run.

If the charge limit stops the run, names already fetched but not stored are left for the next run. The workaround for a portfolio larger than the charge limit is to split Watchlist IDs or raise the platform cap. This version does not page a single name.

Source: the IANA RDAP bootstrap and the registry RDAP servers. This Actor is not the official product of IANA or those registries.