lol.dids.sites.resolveDomain

ngerakines.me

Documentation

The inverse lookup: which identity and which record serve a domain. Useful for verifying who owns a site.

main query

The inverse lookup: which identity and which record serve a domain. Useful for verifying who owns a site.

Parameters

domain string Required

The hostname, lowercase IDNA A-label form.

Output

Encodingapplication/json
did 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.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
The hostname, 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; 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."
}

Lexicon Garden

@