The DID behind a claimed handle

Markdown version

GET/resolve/{handle}

Same answer as `https://<handle>/.well-known/atproto-did`. Only `*.bluesky.bot` handles.

Parameters

NameInTypeDescription
handle (required)pathstringA full handle, e.g. `weather.bluesky.bot` (case-insensitive).

Responses

StatusDescriptionBody
200The handle and its DID.Resolution
400Not a `*.bluesky.bot` handle (code `invalid_handle`).Error
404Not found. Also returned on a bot's handle subdomain: the API is only served on the main site.Error
429Rate limited (policy `publicApi`, per IP).Error
500Unexpected error.Error

Example

bash
curl https://bluesky.bot/api/v1/resolve/weather.bluesky.bot

Schemas

Error

FieldTypeDescription
error (required)object
error.code (required)string: "bad_request", "invalid_handle", "not_found", "rate_limited", "internal_error", "unauthorized", "forbidden", "conflict", "invalid_grant", "upstream_error", "insufficient_scope", "invalid_listing", "consent_required"
error.message (required)string
error.reasonstringWith `invalid_handle`, `invalid_listing`, `conflict` and `forbidden`: e.g. `reserved`, `taken`, `too_long`, `no_handle`, `suspended`.
error.urlstring, uriWith consent_required: open this dashboard page to grant profile editing.
error.fieldstringWith `invalid_listing`: the refused field.
error.scopestringWith `insufficient_scope`: the scope the token lacks.
error.parameterstringThe invalid query parameter.
error.retryAfterSecondsinteger (1–)With `rate_limited`.

Resolution

FieldTypeDescription
handle (required)string
did (required)string