Skip to main content

8. Responding To Searches

[RFC9082] specifies three types of searches: domains, nameservers, and entities. Responses to these searches take the form of an array of object instances where each instance is an appropriate object class for the search (i.e., a search for /domains yields an array of domain object instances). These arrays are contained within the response object.

The names of the arrays are as follows:

  • for /domains searches, the array is "domainSearchResults"

  • for /nameservers searches, the array is "nameserverSearchResults"

  • for /entities searches, the array is "entitySearchResults"

The following is an elided example of a response to a /domains search.

{
"rdapConformance" :
[
"rdap_level_0"
],
...
"domainSearchResults" :
[
{
"objectClassName" : "domain",
"handle" : "1-XXXX",
"ldhName" : "1.example.com",
...
},
{
"objectClassName" : "domain",
"handle" : "2-XXXX",
"ldhName" : "2.example.com",
...
}
]
}

Figure 31