The inverse lookup: which identity and which record serve a domain. Useful for verifying who owns a site.
Parameters
Output
Encoding
application/jsondid
stringdid
Required
The identity serving the domain.
space
stringat-uri
Optional
Present for a space-registered domain.
uri
stringat-uri
Required
The serving record; the space form for a space-registered domain.
Errors
SiteNotFound
No active site serves that domain. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "SiteNotFound",
"description": "No active site serves that domain."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"did",
"uri"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "The identity serving the domain."
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "The serving record; the space form for a space-registered domain."
},
"space": {
"type": "string",
"format": "at-uri",
"description": "Present for a space-registered domain."
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"maxLength": 253,
"description": "The hostname, lowercase IDNA A-label form."
}
}
},
"description": "The inverse lookup: which identity and which record serve a domain. Useful for verifying who owns a site."
}