space.highport.sites.resolveDomain

lexicons.highport.space

Documentation

Look up which identity and record serve a domain. Useful for checking who owns a site.

main query

Look up which identity and record serve a domain. Useful for checking who owns a site.

Parameters

domain string Required

The hostname, in lowercase IDNA A-label form.

Output

Encodingapplication/json
did stringdid Required

The identity serving the domain.

space stringat-uri Optional

Present for a domain registered to a space.

uri stringat-uri Required

The serving record, in space form for a domain registered to a space.

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.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
The hostname, in lowercase IDNA A-label form.
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, in space form for a domain registered to a space."
        },
        "space": {
          "type": "string",
          "format": "at-uri",
          "description": "Present for a domain registered to a space."
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "domain"
    ],
    "properties": {
      "domain": {
        "type": "string",
        "maxLength": 253,
        "description": "The hostname, in lowercase IDNA A-label form."
      }
    }
  },
  "description": "Look up which identity and record serve a domain. Useful for checking who owns a site."
}

Lexicon Garden

@