Domains
Domain registrations Spectate watches at their registry (RDAP or WHOIS): it alerts before a domain expires and, optionally, when its registrar, nameservers or DNSSEC keys change. The plan limits the number of domains.
List domains
Returns the team's monitored domains, newest first unless you sort.
query Parameters
pagePage number, from 1.
per_pageDomains per page, 1 to 100.
filter[view]Only domains in this view.
Domain list views; a domain can be in several.
attention Expired, or expiring within its expiry_threshold_days. |
unsigned No DNSSEC keys. |
paused Monitoring is paused. |
filter[project_id]Only domains of this project.
filter[search]Case-insensitive text in the name, registrar or nameservers.
sortSort by name, expires_at (unknown expiry last) or created_at. Prefix - for descending. Default -created_at.
List domains › Responses
Paginated set of Domain
current_pagefirst_page_urlfromlast_page_urllast_pageGenerated paginator links.
next_page_urlpathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
prev_page_urltoNumber of the last item in the slice.
totalTotal number of items being paginated.
Add a domain
Starts monitoring it and looks it up at its registry right away; the registry fields fill
in within a minute. Without project_id it joins the team's default project. The plan
limits the number of domains (403 PLAN_LIMIT_REACHED).
Add a domain › Request Body
nameThe registered domain, without www. or a path; internationalised names may be in Unicode or punycode
enabledWhether to start monitoring at once. Default true
expiry_threshold_daysDays before expiry, 1 to 365, that the "expires soon" alert fires. Default 30
alert_on_registry_changesRaise an alert when the registrar, nameservers or DNSSEC keys change. Default true
project_idProject to add the domain to; default the team's default project, null for none
escalation_path_idsEscalation paths for the domain's alerts. Leave out or send [] to follow the project's paths, else the team's default path
Add a domain › Responses
The new domain.
idDomain ID
nameThe registered domain, lowercase, internationalised names in punycode
enabledWhether the domain is monitored. false when paused by a member or by the system (see paused_reason)
registrarThe registrar, as the registry reports it
registered_atWhen the domain was registered
expires_atWhen the registration expires
registry_changed_atWhen the registration last changed at the registry
days_until_expirationDays until the registration expires; negative once expired
is_expiredWhether the registration has expired
is_expiring_soonWhether it expires within expiry_threshold_days
nameserversThe domain's nameservers
dnssecWhether the registry publishes DNSSEC keys for the domain
The DNSSEC delegation signer records
statusesEPP status codes, for example client transfer prohibited
last_checked_atWhen the registry was last checked
expiry_threshold_daysDays before expiry that the "expires soon" alert fires
alert_on_registry_changesWhether changes of the registrar, nameservers or DNSSEC keys raise an alert
project_idThe project the domain belongs to; null for none
Escalation paths the domain's alerts follow. Empty: the project's paths, else the team's default path
created_atWhen monitoring of the domain started
Get a domain
Returns the domain with what its registry reported at the last check.
path Parameters
domainDomain ID.
Get a domain › Responses
The domain.
idDomain ID
nameThe registered domain, lowercase, internationalised names in punycode
enabledWhether the domain is monitored. false when paused by a member or by the system (see paused_reason)
registrarThe registrar, as the registry reports it
registered_atWhen the domain was registered
expires_atWhen the registration expires
registry_changed_atWhen the registration last changed at the registry
days_until_expirationDays until the registration expires; negative once expired
is_expiredWhether the registration has expired
is_expiring_soonWhether it expires within expiry_threshold_days
nameserversThe domain's nameservers
dnssecWhether the registry publishes DNSSEC keys for the domain
The DNSSEC delegation signer records
statusesEPP status codes, for example client transfer prohibited
last_checked_atWhen the registry was last checked
expiry_threshold_daysDays before expiry that the "expires soon" alert fires
alert_on_registry_changesWhether changes of the registrar, nameservers or DNSSEC keys raise an alert
project_idThe project the domain belongs to; null for none
Escalation paths the domain's alerts follow. Empty: the project's paths, else the team's default path
created_atWhen monitoring of the domain started
Update a domain
Changes only the fields you send. A new name forgets the old registration data and is
looked up at once. Resuming (enabled: true) goes through the plan's domain limit.
path Parameters
domainDomain ID.
Update a domain › Request Body
nameAnother domain to monitor instead; its registry data is looked up again
enabledPause (false) or resume (true) monitoring. Resuming goes through the plan's domain limit
expiry_threshold_daysDays before expiry, 1 to 365, that the "expires soon" alert fires
alert_on_registry_changesRaise an alert when the registrar, nameservers or DNSSEC keys change
project_idProject of the domain; null for none
escalation_path_idsEscalation paths for the domain's alerts; replaces the current ones
Update a domain › Responses
The updated domain.
idDomain ID
nameThe registered domain, lowercase, internationalised names in punycode
enabledWhether the domain is monitored. false when paused by a member or by the system (see paused_reason)
registrarThe registrar, as the registry reports it
registered_atWhen the domain was registered
expires_atWhen the registration expires
registry_changed_atWhen the registration last changed at the registry
days_until_expirationDays until the registration expires; negative once expired
is_expiredWhether the registration has expired
is_expiring_soonWhether it expires within expiry_threshold_days
nameserversThe domain's nameservers
dnssecWhether the registry publishes DNSSEC keys for the domain
The DNSSEC delegation signer records
statusesEPP status codes, for example client transfer prohibited
last_checked_atWhen the registry was last checked
expiry_threshold_daysDays before expiry that the "expires soon" alert fires
alert_on_registry_changesWhether changes of the registrar, nameservers or DNSSEC keys raise an alert
project_idThe project the domain belongs to; null for none
Escalation paths the domain's alerts follow. Empty: the project's paths, else the team's default path
created_atWhen monitoring of the domain started
Delete a domain
Monitoring stops and the domain no longer appears in the API or the dashboard. Seven days
later the domain is deleted permanently with all its data, alerts included. Until then
support can restore it on request. Nothing changes at the registrar. Deleting the same
domain again returns 404.
path Parameters
domainDomain ID.
Delete a domain › Responses
No content