SWITCH operates a RDAP server for Whois data queries. It supports the class "Domain" (Domain Object Class). The answer is provided in JSON format. The rdap.nic.ch server is only reachable via https.
Personal data (such as domain name holders) is not displayed for anonymous users. Access with extended rights is not currently possible.
The RDAP server can be accessed via any HTTP client. Example:
<TLS connect to rdap.nic.ch port 443> GET /domain/dnsrpz.ch HTTP/1.1 Host: rdap.nic.ch Accept: application/rdap+json
In addition to GET, HEAD requests are also possible. These are used to check whether a domain name is already registered, without providing further data.
What does RDAP mean?
RDAP stands for Registration Data Access Protocol. It replaces the Whois protocol, which no longer satisfies current technical requirements.
What are the advantages of RDAP?
- Standardised, machine-readable answers in JSON format.
- HTTP-based and REST-compliant.
- Secure access to data via HTTPS.
- The registry is able to define different access rights for different user groups.
RFCs for the RDAP protocol